Get Project Result
A collection of values returned by getProject.
Constructors
Properties
Set whether or not a pipeline triggerer is allowed to approve deployments. Premium and Ultimate only.
Set the analytics access level. Valid values are disabled
, private
, enabled
.
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.
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.
The minimum role required to set variables when running pipelines and jobs. Introduced in GitLab 17.1. Valid values are developer
, maintainer
, owner
, no_one_allowed
The role required to cancel a pipeline or job. Premium and Ultimate only. Valid values are developer
, maintainer
, no one
Use separate caches for protected branches.
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
.
The default branch for the project.
A description of the project.
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
.
Set the forking access level. Valid values are disabled
, private
, enabled
.
URL that can be provided to git clone
to clone the
Set the infrastructure access level. Valid values are disabled
, private
, enabled
.
Set the issues access level. Valid values are disabled
, private
, enabled
.
Enable issue tracking for the project.
Disable or enable the ability to keep the latest artifact for this project.
Enable LFS for the project.
Template used to create merge commit message in merge requests.
Enable or disable merge pipelines.
Set the merge requests access level. Valid values are disabled
, private
, enabled
.
Enable merge requests for the project.
Enable or disable merge trains.
The visibility of machine learning model experiments.
The visibility of machine learning model registry.
Set the monitor access level. Valid values are disabled
, private
, enabled
.
The namespace (group or user) of the project. Defaults to your user.
The path of the repository with namespace.
Enable pipelines for the project.
Whether merge requests require an associated issue from Jira. Premium and Ultimate only.
Show link to create/view merge request when pushing from the command line
If true, jobs can be viewed by non-project members.
Push rules for the project. Push rules are only available on Enterprise plans and if the authenticated has permissions to read them.
Set the releases access level. Valid values are disabled
, private
, enabled
.
Enable Delete source branch
option by default for all new merge requests
Set the repository access level. Valid values are disabled
, private
, enabled
.
Which storage shard the repository is on. (administrator only)
Allow users to request member access.
Set the requirements access level. Valid values are disabled
, private
, enabled
.
Automatically resolve merge request diffs discussions on lines changed with a push.
Allow only users with the Maintainer role to pass user-defined variables when triggering a pipeline.
Registration token to use during runner setup.
Set the security and compliance access level. Valid values are disabled
, private
, enabled
.
Describes groups which have access shared to this project.
Set the snippets access level. Valid values are disabled
, private
, enabled
.
Enable snippets for the project.
Template used to create squash commit message in merge requests.
URL that can be provided to git clone
to clone the
The commit message used to apply merge request suggestions.
Repositories are created as private by default.
Set the wiki access level. Valid values are disabled
, private
, enabled
.
Enable wiki for the project.