Get Projects Project
Constructors
Properties
Whether allow_merge_on_skipped_pipeline is enabled for the project.
Set the analytics access level. Valid values are disabled
, private
, enabled
.
The numbers of approvals needed in a merge requests.
Auto-cancel pending pipelines. This isn’t a boolean, but enabled/disabled.
Set whether auto-closing referenced issues on default branch.
Auto Deploy strategy. Valid values are continuous
, manual
, timed_incremental
.
Enable Auto DevOps for this project.
Build coverage regex for the project.
The Git strategy. Defaults to fetch.
Set the builds access level. Valid values are disabled
, private
, enabled
.
The maximum amount of time, in seconds, that a job can run.
CI config file path for the project.
Default number of revisions for shallow cloning.
When a new deployment job starts, skip older deployment jobs that are still pending.
The role required to cancel a pipeline or job. Introduced in GitLab 16.8. Premium and Ultimate only. Valid values are developer
, maintainer
, no one
Set the image cleanup policy for this project. Note: this field is sometimes named container_expiration_policy_attributes
in the GitLab Upstream API.
Set visibility of container registry, for this project. Valid values are disabled
, private
, enabled
.
Whether the container registry is enabled for the project.
Custom attributes for the project.
The default branch name of the project.
The description of the project.
Disable email notifications.
Enable email notifications.
Set the environments access level. Valid values are disabled
, private
, enabled
.
The classification label for the project.
Set the feature flags access level. Valid values are disabled
, private
, enabled
.
Present if the project is a fork. Contains information about the upstream project.
Set the forking access level. Valid values are disabled
, private
, enabled
.
The number of forks of the project.
Whether group runners are enabled for the project.
The HTTP clone URL of the project.
The import error, if it exists, for the project.
The import status of the project.
Set the infrastructure access level. Valid values are disabled
, private
, enabled
.
Set the issues access level. Valid values are disabled
, private
, enabled
.
Whether issues are enabled for the project.
Whether pipelines are enabled for the project.
Disable or enable the ability to keep the latest artifact for this project.
Last activirty time for the project.
Whether LFS (large file storage) is enabled for the project.
Template used to create merge commit message in merge requests. (Introduced in GitLab 14.5.)
Merge method for the project.
Enable or disable merge pipelines.
Set the merge requests access level. Valid values are disabled
, private
, enabled
.
Whether merge requests are enabled for the project.
Enable or disable merge trains.
Whether mirror_overwrites_diverged_branches is enabled for the project.
Whether pull mirroring triggers builds for the project.
The mirror user ID for the project.
Set the monitor access level. Valid values are disabled
, private
, enabled
.
Namespace of the project (parent group/s).
In group / subgroup / project
or user / project
format.
Whether only_allow_merge_if_all_discussions_are_resolved is enabled for the project.
Whether only_allow_merge_if_pipeline_succeeds is enabled for the project.
Whether only_mirror_protected_branches is enabled for the project.
The number of open issies for the project.
Whether packages are enabled for the project.
In group/subgroup/project
or user/project
format.
Permissions for the project.
Whether public builds are enabled for the project.
Set the releases access level. Valid values are disabled
, private
, enabled
.
Set the repository access level. Valid values are disabled
, private
, enabled
.
Which storage shard the repository is on. (administrator only)
Whether requesting access is enabled for the project.
Set the requirements access level. Valid values are disabled
, private
, enabled
.
Whether resolve_outdated_diff_discussions is enabled for the project
Allow only users with the Maintainer role to pass user-defined variables when triggering a pipeline.
The runners token for the project.
Set the security and compliance access level. Valid values are disabled
, private
, enabled
.
Whether shared runners are enabled for the project.
Groups the the project is shared with.
Set the snippets access level. Valid values are disabled
, private
, enabled
.
Whether snippets are enabled for the project.
Template used to create squash commit message in merge requests. (Introduced in GitLab 14.6.)
The SSH clone URL of the project.
Statistics for the project.
The commit message used to apply merge request suggestions.
The visibility of the project.
Set the wiki access level. Valid values are disabled
, private
, enabled
.
Whether wiki is enabled for the project.