1. Packages
  2. Packages
  3. Gitlab Provider
  4. API Docs
  5. getProject
Viewing docs for GitLab v10.0.0
published on Friday, Jun 26, 2026 by Pulumi
gitlab logo
Viewing docs for GitLab v10.0.0
published on Friday, Jun 26, 2026 by Pulumi

    The gitlab.Project data source allows details of a project to be retrieved by either its ID or its path with namespace.

    Upstream API: GitLab REST API docs

    Using getProject

    Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.

    function getProject(args: GetProjectArgs, opts?: InvokeOptions): Promise<GetProjectResult>
    function getProjectOutput(args: GetProjectOutputArgs, opts?: InvokeOptions): Output<GetProjectResult>
    def get_project(id: Optional[str] = None,
                    path_with_namespace: Optional[str] = None,
                    opts: Optional[InvokeOptions] = None) -> GetProjectResult
    def get_project_output(id: pulumi.Input[Optional[str]] = None,
                    path_with_namespace: pulumi.Input[Optional[str]] = None,
                    opts: Optional[InvokeOptions] = None) -> Output[GetProjectResult]
    func LookupProject(ctx *Context, args *LookupProjectArgs, opts ...InvokeOption) (*LookupProjectResult, error)
    func LookupProjectOutput(ctx *Context, args *LookupProjectOutputArgs, opts ...InvokeOption) LookupProjectResultOutput

    > Note: This function is named LookupProject in the Go SDK.

    public static class GetProject 
    {
        public static Task<GetProjectResult> InvokeAsync(GetProjectArgs args, InvokeOptions? opts = null)
        public static Output<GetProjectResult> Invoke(GetProjectInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetProjectResult> getProject(GetProjectArgs args, InvokeOptions options)
    public static Output<GetProjectResult> getProject(GetProjectArgs args, InvokeOptions options)
    
    fn::invoke:
      function: gitlab:index/getProject:getProject
      arguments:
        # arguments dictionary
    data "gitlab_getproject" "name" {
        # arguments
    }

    The following arguments are supported:

    Id string
    The integer that uniquely identifies the project within the gitlab install.
    PathWithNamespace string
    The path of the repository with namespace.
    Id string
    The integer that uniquely identifies the project within the gitlab install.
    PathWithNamespace string
    The path of the repository with namespace.
    id string
    The integer that uniquely identifies the project within the gitlab install.
    path_with_namespace string
    The path of the repository with namespace.
    id String
    The integer that uniquely identifies the project within the gitlab install.
    pathWithNamespace String
    The path of the repository with namespace.
    id string
    The integer that uniquely identifies the project within the gitlab install.
    pathWithNamespace string
    The path of the repository with namespace.
    id str
    The integer that uniquely identifies the project within the gitlab install.
    path_with_namespace str
    The path of the repository with namespace.
    id String
    The integer that uniquely identifies the project within the gitlab install.
    pathWithNamespace String
    The path of the repository with namespace.

    getProject Result

    The following output properties are available:

    AllowMergeOnSkippedPipeline bool
    Whether allowMergeOnSkippedPipeline is enabled for the project.
    AllowPipelineTriggerApproveDeployment bool
    Set whether or not a pipeline triggerer is allowed to approve deployments. Premium and Ultimate only.
    AnalyticsAccessLevel string
    Set the analytics access level. Valid values are disabled, private, enabled.
    ApprovalsBeforeMerge int
    The number of approvals needed in a merge request.

    Deprecated: Use the Merge Request Approvals API instead, to be removed in 20.0.

    Archived bool
    Whether the project is in read-only mode (archived).
    AutoCancelPendingPipelines string
    Auto-cancel pending pipelines. This isn't a boolean, but enabled/disabled.
    AutoDevopsDeployStrategy string
    Auto Deploy strategy. Valid values are continuous, manual, timedIncremental.
    AutoDevopsEnabled bool
    Enable Auto DevOps for this project.
    AutoDuoCodeReviewEnabled bool
    Whether GitLab Duo code review is enabled for the project.
    AutocloseReferencedIssues bool
    Set whether auto-closing referenced issues on default branch.
    AvatarUrl string
    The avatar URL of the project.
    BuildCoverageRegex string
    Build coverage regex for the project.
    BuildGitStrategy string
    The Git strategy. Defaults to fetch.
    BuildTimeout int
    The maximum amount of time, in seconds, that a job can run.
    BuildsAccessLevel string
    Set the builds access level. Valid values are disabled, private, enabled.
    CanCreateMergeRequestIn bool
    Whether the calling user can create merge requests in this project.
    CiAllowForkPipelinesToRunInParentProject bool
    Whether pipelines triggered from merge requests opened from forks may run in the parent project.
    CiConfigPath string
    CI config file path for the project.
    CiDefaultGitDepth int
    Default number of revisions for shallow cloning.
    CiDeletePipelinesInSeconds int
    Pipelines older than the configured time are deleted.
    CiDisplayPipelineVariables bool
    Whether pipeline variables are displayed in the UI.
    CiForwardDeploymentEnabled bool
    When a new deployment job starts, skip older deployment jobs that are still pending.
    CiForwardDeploymentRollbackAllowed bool
    Allow job retries even if the deployment job is outdated.
    CiIdTokenSubClaimComponents List<string>
    Fields included in the sub claim of the ID Token. Accepts an array starting with projectPath. The array might also include refType and ref. Defaults to ["projectPath", "refType", "ref"]. Introduced in GitLab 17.10.
    CiJobTokenScopeEnabled bool
    Whether the CI/CD job token access scope is enabled (limits which projects can be accessed using the job token).
    CiOptInJwt bool
    Whether the project must explicitly opt in to receive ID tokens in CI jobs.
    CiPipelineVariablesMinimumOverrideRole string
    The minimum role required to set variables when running pipelines and jobs. Introduced in GitLab 17.1. Valid values are developer, maintainer, owner, noOneAllowed.
    CiPushRepositoryForJobTokenAllowed bool
    Whether pushes to the repository using the CI/CD job token are allowed.
    CiRestrictPipelineCancellationRole string
    The role required to cancel a pipeline or job. Premium and Ultimate only. Valid values are developer, maintainer, noOne.
    CiSeparatedCaches bool
    Use separate caches for protected branches.
    ComplianceFrameworks List<string>
    Compliance frameworks applied to the project. Premium and Ultimate only.
    ContainerExpirationPolicies List<Pulumi.GitLab.Outputs.GetProjectContainerExpirationPolicy>
    The image cleanup policy for this project.
    ContainerRegistryAccessLevel string
    Set visibility of container registry for this project. Valid values are disabled, private, enabled.
    ContainerRegistryEnabled bool
    Whether the container registry is enabled for the project.

    Deprecated: Use containerRegistryAccessLevel instead, to be removed in 20.0.

    ContainerRegistryImagePrefix string
    The image prefix used by the container registry for this project.
    CreatedAt string
    Creation time for the project.
    CreatorId int
    Creator ID for the project.
    CustomAttributes List<ImmutableDictionary<string, string>>
    Custom attributes for the project.
    DefaultBranch string
    The default branch name of the project.
    Description string
    A description of the project.
    EmailsDisabled bool
    Whether email notifications are disabled for the project.
    EmailsEnabled bool
    Enable email notifications.
    EmptyRepo bool
    Whether the project is empty.
    EnforceAuthChecksOnUploads bool
    Whether authentication checks are enforced when uploading to the project.
    EnvironmentsAccessLevel string
    Set the environments access level. Valid values are disabled, private, enabled.
    ExternalAuthorizationClassificationLabel string
    The classification label for the project.
    FeatureFlagsAccessLevel string
    Set the feature flags access level. Valid values are disabled, private, enabled.
    ForkedFromProjects List<Pulumi.GitLab.Outputs.GetProjectForkedFromProject>
    Present if the project is a fork. Contains information about the upstream project.
    ForkingAccessLevel string
    Set the forking access level. Valid values are disabled, private, enabled.
    ForksCount int
    The number of forks of the project.
    GroupRunnersEnabled bool
    Whether group runners are enabled for the project.
    HttpUrlToRepo string
    The HTTP clone URL of the project.
    Id string
    The integer that uniquely identifies the project within the gitlab install.
    ImportError string
    The import error, if it exists, for the project.
    ImportStatus string
    The import status of the project.
    ImportType string
    The type of import used to create the project (for example github, bitbucket).
    ImportUrl string
    URL the project was imported from.
    InfrastructureAccessLevel string
    Set the infrastructure access level. Valid values are disabled, private, enabled.
    IssueBranchTemplate string
    Template used to suggest a branch name when creating one from an issue.
    IssuesAccessLevel string
    Set the issues access level. Valid values are disabled, private, enabled.
    IssuesEnabled bool
    Whether issues are enabled for the project.

    Deprecated: Use issuesAccessLevel instead, to be removed in 20.0.

    IssuesTemplate string
    Default description template for new issues.
    JobsEnabled bool
    Whether jobs are enabled for the project.

    Deprecated: Use buildsAccessLevel instead, to be removed in 20.0.

    KeepLatestArtifact bool
    Disable or enable the ability to keep the latest artifact for this project.
    LastActivityAt string
    Last activity time for the project.
    LfsEnabled bool
    Whether LFS (large file storage) is enabled for the project.
    LicenseUrl string
    URL of the project's license file.
    Licenses List<Pulumi.GitLab.Outputs.GetProjectLicense>
    Information about the project's license, if one is detected.
    Links Dictionary<string, string>
    Links for the project.
    MarkedForDeletion bool
    Whether the project is marked for deletion.
    MarkedForDeletionAt string
    Timestamp at which the project was marked for deletion. Premium and Ultimate only.

    Deprecated: Use markedForDeletionOn instead, to be removed in 20.0.

    MarkedForDeletionOn string
    Timestamp at which the project was marked for deletion. Premium and Ultimate only.
    MaxArtifactsSize int
    Maximum artifacts size, in MB, for the project. Overrides the instance-wide setting when set.
    MergeCommitTemplate string
    Template used to create merge commit message in merge requests.
    MergeMethod string
    Merge method for the project.
    MergePipelinesEnabled bool
    Enable or disable merge pipelines.
    MergeRequestTitleRegex string
    Regular expression that merge request titles must match.
    MergeRequestTitleRegexDescription string
    Human-readable description of mergeRequestTitleRegex.
    MergeRequestsAccessLevel string
    Set the merge requests access level. Valid values are disabled, private, enabled.
    MergeRequestsEnabled bool
    Whether merge requests are enabled for the project.

    Deprecated: Use mergeRequestsAccessLevel instead, to be removed in 20.0.

    MergeRequestsTemplate string
    Default description template for new merge requests.
    MergeTrainsEnabled bool
    Enable or disable merge trains.
    MergeTrainsSkipTrainAllowed bool
    Allows merge train merge requests to be merged without waiting for pipelines to finish.
    Mirror bool
    Whether pull mirroring is enabled for the project.
    MirrorOverwritesDivergedBranches bool
    Whether mirrorOverwritesDivergedBranches is enabled for the project.
    MirrorTriggerBuilds bool
    Whether pull mirroring triggers builds for the project.
    MirrorUserId int
    The mirror user ID for the project.
    ModelExperimentsAccessLevel string
    The visibility of machine learning model experiments.
    ModelRegistryAccessLevel string
    The visibility of machine learning model registry.
    MonitorAccessLevel string
    Set the monitor access level. Valid values are disabled, private, enabled.
    MrDefaultTargetSelf bool
    For forks, whether merge requests target the fork itself rather than the upstream project by default.
    Name string
    The name of the project.
    NameWithNamespace string
    In group / subgroup / project or user / project format.
    NamespaceId int
    The namespace (group or user) ID of the project. Alias for namespace[0].id.

    Deprecated: Use namespace[0].id instead, to be removed in 20.0.

    Namespaces List<Pulumi.GitLab.Outputs.GetProjectNamespace>
    Namespace of the project (parent group/s).
    OnlyAllowMergeIfAllDiscussionsAreResolved bool
    Whether onlyAllowMergeIfAllDiscussionsAreResolved is enabled for the project.
    OnlyAllowMergeIfPipelineSucceeds bool
    Whether onlyAllowMergeIfPipelineSucceeds is enabled for the project.
    OnlyMirrorProtectedBranches bool
    Whether onlyMirrorProtectedBranches is enabled for the project.
    OpenIssuesCount int
    The number of open issues for the project.
    OperationsAccessLevel string
    Set the operations access level. Valid values are disabled, private, enabled.
    Owners List<Pulumi.GitLab.Outputs.GetProjectOwner>
    The owner of the project. Only populated when the calling token has administrator scope.
    PackageRegistryAccessLevel string
    The visibility of the package registry.
    PackagesEnabled bool
    Whether packages are enabled for the project.

    Deprecated: Use packageRegistryAccessLevel instead, to be removed in 20.0.

    PagesAccessLevel string
    Set the GitLab Pages access level. Valid values are disabled, private, enabled.
    Path string
    The path of the project.
    PathWithNamespace string
    The path of the repository with namespace.
    Permissions List<Pulumi.GitLab.Outputs.GetProjectPermission>
    Permissions for the project.
    PreReceiveSecretDetectionEnabled bool
    Whether pre-receive secret detection is enabled for the project.
    PreventMergeWithoutJiraIssue bool
    Whether merge requests require an associated issue from Jira. Premium and Ultimate only.
    PrintingMergeRequestLinkEnabled bool
    Show link to create/view merge request when pushing from the command line.
    ProtectMergeRequestPipelines bool
    Whether pipelines triggered for merge requests run with project secrets and protected variables, instead of the contributor's lower-privileged context.
    PublicBuilds bool
    If true, jobs can be viewed by non-project members. Alias for publicJobs.

    Deprecated: Use publicJobs instead, to be removed in 20.0.

    PublicJobs bool
    If true, jobs can be viewed by non-project members.
    PushRules List<Pulumi.GitLab.Outputs.GetProjectPushRule>
    Push rules for the project. Push rules are only available on Enterprise plans and if the authenticated user has permission to read them.
    ReadmeUrl string
    The URL of the project README.
    ReleasesAccessLevel string
    Set the releases access level. Valid values are disabled, private, enabled.
    RemoveSourceBranchAfterMerge bool
    Enable Delete source branch option by default for all new merge requests.
    RepositoryAccessLevel string
    Set the repository access level. Valid values are disabled, private, enabled.
    RepositoryStorage string
    Which storage shard the repository is on. (administrator only)
    RequestAccessEnabled bool
    Whether requesting access is enabled for the project.
    RequirementsAccessLevel string
    Set the requirements access level. Valid values are disabled, private, enabled.
    RequirementsEnabled bool
    Whether the requirements feature is enabled. Premium and Ultimate only.
    ResolveOutdatedDiffDiscussions bool
    Automatically resolve merge request diffs discussions on lines changed with a push.
    ResourceGroupDefaultProcessMode string
    The default resource group process mode for the project.
    RestrictUserDefinedVariables bool
    Allow only users with the Maintainer role to pass user-defined variables when triggering a pipeline.

    Deprecated: Use ciPipelineVariablesMinimumOverrideRole instead, to be removed in 20.0.

    RunnerTokenExpirationInterval int
    Runner token expiration interval, in seconds.
    RunnersToken string
    Registration token to use during runner setup.
    SecurityAndComplianceAccessLevel string
    Set the security and compliance access level. Valid values are disabled, private, enabled.
    SecurityAndComplianceEnabled bool
    Whether the security and compliance feature is enabled.
    ServiceDeskAddress string
    The Service Desk email address for the project.
    ServiceDeskEnabled bool
    Whether Service Desk is enabled for the project.
    SharedRunnersEnabled bool
    Whether shared runners are enabled for the project.
    SharedWithGroups List<Pulumi.GitLab.Outputs.GetProjectSharedWithGroup>
    Describes groups which have access shared to this project.
    SnippetsAccessLevel string
    Set the snippets access level. Valid values are disabled, private, enabled.
    SnippetsEnabled bool
    Whether snippets are enabled for the project.

    Deprecated: Use snippetsAccessLevel instead, to be removed in 20.0.

    SquashCommitTemplate string
    Template used to create squash commit message in merge requests.
    SquashOption string
    The project's squash option for merge requests (never, always, defaultOn, defaultOff).
    SshUrlToRepo string
    The SSH clone URL of the project.
    StarCount int
    The number of stars on the project.
    Statistics Dictionary<string, int>
    Statistics for the project.
    SuggestionCommitMessage string
    The commit message used to apply merge request suggestions.
    TagLists List<string>
    The list of project topics (formerly project tags).

    Deprecated: Use topics instead, to be removed in 20.0.

    Topics List<string>
    The list of topics for the project.
    UpdatedAt string
    The time the project was last updated.
    Visibility string
    The visibility of the project (private, internal, public).
    VisibilityLevel string
    The visibility of the project. Alias for visibility.

    Deprecated: Use visibility instead, to be removed in 20.0.

    WebUrl string
    URL that can be used to find the project in a browser.
    WikiAccessLevel string
    Set the wiki access level. Valid values are disabled, private, enabled.
    WikiEnabled bool
    Whether wiki is enabled for the project.

    Deprecated: Use wikiAccessLevel instead, to be removed in 20.0.

    AllowMergeOnSkippedPipeline bool
    Whether allowMergeOnSkippedPipeline is enabled for the project.
    AllowPipelineTriggerApproveDeployment bool
    Set whether or not a pipeline triggerer is allowed to approve deployments. Premium and Ultimate only.
    AnalyticsAccessLevel string
    Set the analytics access level. Valid values are disabled, private, enabled.
    ApprovalsBeforeMerge int
    The number of approvals needed in a merge request.

    Deprecated: Use the Merge Request Approvals API instead, to be removed in 20.0.

    Archived bool
    Whether the project is in read-only mode (archived).
    AutoCancelPendingPipelines string
    Auto-cancel pending pipelines. This isn't a boolean, but enabled/disabled.
    AutoDevopsDeployStrategy string
    Auto Deploy strategy. Valid values are continuous, manual, timedIncremental.
    AutoDevopsEnabled bool
    Enable Auto DevOps for this project.
    AutoDuoCodeReviewEnabled bool
    Whether GitLab Duo code review is enabled for the project.
    AutocloseReferencedIssues bool
    Set whether auto-closing referenced issues on default branch.
    AvatarUrl string
    The avatar URL of the project.
    BuildCoverageRegex string
    Build coverage regex for the project.
    BuildGitStrategy string
    The Git strategy. Defaults to fetch.
    BuildTimeout int
    The maximum amount of time, in seconds, that a job can run.
    BuildsAccessLevel string
    Set the builds access level. Valid values are disabled, private, enabled.
    CanCreateMergeRequestIn bool
    Whether the calling user can create merge requests in this project.
    CiAllowForkPipelinesToRunInParentProject bool
    Whether pipelines triggered from merge requests opened from forks may run in the parent project.
    CiConfigPath string
    CI config file path for the project.
    CiDefaultGitDepth int
    Default number of revisions for shallow cloning.
    CiDeletePipelinesInSeconds int
    Pipelines older than the configured time are deleted.
    CiDisplayPipelineVariables bool
    Whether pipeline variables are displayed in the UI.
    CiForwardDeploymentEnabled bool
    When a new deployment job starts, skip older deployment jobs that are still pending.
    CiForwardDeploymentRollbackAllowed bool
    Allow job retries even if the deployment job is outdated.
    CiIdTokenSubClaimComponents []string
    Fields included in the sub claim of the ID Token. Accepts an array starting with projectPath. The array might also include refType and ref. Defaults to ["projectPath", "refType", "ref"]. Introduced in GitLab 17.10.
    CiJobTokenScopeEnabled bool
    Whether the CI/CD job token access scope is enabled (limits which projects can be accessed using the job token).
    CiOptInJwt bool
    Whether the project must explicitly opt in to receive ID tokens in CI jobs.
    CiPipelineVariablesMinimumOverrideRole string
    The minimum role required to set variables when running pipelines and jobs. Introduced in GitLab 17.1. Valid values are developer, maintainer, owner, noOneAllowed.
    CiPushRepositoryForJobTokenAllowed bool
    Whether pushes to the repository using the CI/CD job token are allowed.
    CiRestrictPipelineCancellationRole string
    The role required to cancel a pipeline or job. Premium and Ultimate only. Valid values are developer, maintainer, noOne.
    CiSeparatedCaches bool
    Use separate caches for protected branches.
    ComplianceFrameworks []string
    Compliance frameworks applied to the project. Premium and Ultimate only.
    ContainerExpirationPolicies []GetProjectContainerExpirationPolicy
    The image cleanup policy for this project.
    ContainerRegistryAccessLevel string
    Set visibility of container registry for this project. Valid values are disabled, private, enabled.
    ContainerRegistryEnabled bool
    Whether the container registry is enabled for the project.

    Deprecated: Use containerRegistryAccessLevel instead, to be removed in 20.0.

    ContainerRegistryImagePrefix string
    The image prefix used by the container registry for this project.
    CreatedAt string
    Creation time for the project.
    CreatorId int
    Creator ID for the project.
    CustomAttributes []map[string]string
    Custom attributes for the project.
    DefaultBranch string
    The default branch name of the project.
    Description string
    A description of the project.
    EmailsDisabled bool
    Whether email notifications are disabled for the project.
    EmailsEnabled bool
    Enable email notifications.
    EmptyRepo bool
    Whether the project is empty.
    EnforceAuthChecksOnUploads bool
    Whether authentication checks are enforced when uploading to the project.
    EnvironmentsAccessLevel string
    Set the environments access level. Valid values are disabled, private, enabled.
    ExternalAuthorizationClassificationLabel string
    The classification label for the project.
    FeatureFlagsAccessLevel string
    Set the feature flags access level. Valid values are disabled, private, enabled.
    ForkedFromProjects []GetProjectForkedFromProject
    Present if the project is a fork. Contains information about the upstream project.
    ForkingAccessLevel string
    Set the forking access level. Valid values are disabled, private, enabled.
    ForksCount int
    The number of forks of the project.
    GroupRunnersEnabled bool
    Whether group runners are enabled for the project.
    HttpUrlToRepo string
    The HTTP clone URL of the project.
    Id string
    The integer that uniquely identifies the project within the gitlab install.
    ImportError string
    The import error, if it exists, for the project.
    ImportStatus string
    The import status of the project.
    ImportType string
    The type of import used to create the project (for example github, bitbucket).
    ImportUrl string
    URL the project was imported from.
    InfrastructureAccessLevel string
    Set the infrastructure access level. Valid values are disabled, private, enabled.
    IssueBranchTemplate string
    Template used to suggest a branch name when creating one from an issue.
    IssuesAccessLevel string
    Set the issues access level. Valid values are disabled, private, enabled.
    IssuesEnabled bool
    Whether issues are enabled for the project.

    Deprecated: Use issuesAccessLevel instead, to be removed in 20.0.

    IssuesTemplate string
    Default description template for new issues.
    JobsEnabled bool
    Whether jobs are enabled for the project.

    Deprecated: Use buildsAccessLevel instead, to be removed in 20.0.

    KeepLatestArtifact bool
    Disable or enable the ability to keep the latest artifact for this project.
    LastActivityAt string
    Last activity time for the project.
    LfsEnabled bool
    Whether LFS (large file storage) is enabled for the project.
    LicenseUrl string
    URL of the project's license file.
    Licenses []GetProjectLicense
    Information about the project's license, if one is detected.
    Links map[string]string
    Links for the project.
    MarkedForDeletion bool
    Whether the project is marked for deletion.
    MarkedForDeletionAt string
    Timestamp at which the project was marked for deletion. Premium and Ultimate only.

    Deprecated: Use markedForDeletionOn instead, to be removed in 20.0.

    MarkedForDeletionOn string
    Timestamp at which the project was marked for deletion. Premium and Ultimate only.
    MaxArtifactsSize int
    Maximum artifacts size, in MB, for the project. Overrides the instance-wide setting when set.
    MergeCommitTemplate string
    Template used to create merge commit message in merge requests.
    MergeMethod string
    Merge method for the project.
    MergePipelinesEnabled bool
    Enable or disable merge pipelines.
    MergeRequestTitleRegex string
    Regular expression that merge request titles must match.
    MergeRequestTitleRegexDescription string
    Human-readable description of mergeRequestTitleRegex.
    MergeRequestsAccessLevel string
    Set the merge requests access level. Valid values are disabled, private, enabled.
    MergeRequestsEnabled bool
    Whether merge requests are enabled for the project.

    Deprecated: Use mergeRequestsAccessLevel instead, to be removed in 20.0.

    MergeRequestsTemplate string
    Default description template for new merge requests.
    MergeTrainsEnabled bool
    Enable or disable merge trains.
    MergeTrainsSkipTrainAllowed bool
    Allows merge train merge requests to be merged without waiting for pipelines to finish.
    Mirror bool
    Whether pull mirroring is enabled for the project.
    MirrorOverwritesDivergedBranches bool
    Whether mirrorOverwritesDivergedBranches is enabled for the project.
    MirrorTriggerBuilds bool
    Whether pull mirroring triggers builds for the project.
    MirrorUserId int
    The mirror user ID for the project.
    ModelExperimentsAccessLevel string
    The visibility of machine learning model experiments.
    ModelRegistryAccessLevel string
    The visibility of machine learning model registry.
    MonitorAccessLevel string
    Set the monitor access level. Valid values are disabled, private, enabled.
    MrDefaultTargetSelf bool
    For forks, whether merge requests target the fork itself rather than the upstream project by default.
    Name string
    The name of the project.
    NameWithNamespace string
    In group / subgroup / project or user / project format.
    NamespaceId int
    The namespace (group or user) ID of the project. Alias for namespace[0].id.

    Deprecated: Use namespace[0].id instead, to be removed in 20.0.

    Namespaces []GetProjectNamespace
    Namespace of the project (parent group/s).
    OnlyAllowMergeIfAllDiscussionsAreResolved bool
    Whether onlyAllowMergeIfAllDiscussionsAreResolved is enabled for the project.
    OnlyAllowMergeIfPipelineSucceeds bool
    Whether onlyAllowMergeIfPipelineSucceeds is enabled for the project.
    OnlyMirrorProtectedBranches bool
    Whether onlyMirrorProtectedBranches is enabled for the project.
    OpenIssuesCount int
    The number of open issues for the project.
    OperationsAccessLevel string
    Set the operations access level. Valid values are disabled, private, enabled.
    Owners []GetProjectOwner
    The owner of the project. Only populated when the calling token has administrator scope.
    PackageRegistryAccessLevel string
    The visibility of the package registry.
    PackagesEnabled bool
    Whether packages are enabled for the project.

    Deprecated: Use packageRegistryAccessLevel instead, to be removed in 20.0.

    PagesAccessLevel string
    Set the GitLab Pages access level. Valid values are disabled, private, enabled.
    Path string
    The path of the project.
    PathWithNamespace string
    The path of the repository with namespace.
    Permissions []GetProjectPermission
    Permissions for the project.
    PreReceiveSecretDetectionEnabled bool
    Whether pre-receive secret detection is enabled for the project.
    PreventMergeWithoutJiraIssue bool
    Whether merge requests require an associated issue from Jira. Premium and Ultimate only.
    PrintingMergeRequestLinkEnabled bool
    Show link to create/view merge request when pushing from the command line.
    ProtectMergeRequestPipelines bool
    Whether pipelines triggered for merge requests run with project secrets and protected variables, instead of the contributor's lower-privileged context.
    PublicBuilds bool
    If true, jobs can be viewed by non-project members. Alias for publicJobs.

    Deprecated: Use publicJobs instead, to be removed in 20.0.

    PublicJobs bool
    If true, jobs can be viewed by non-project members.
    PushRules []GetProjectPushRule
    Push rules for the project. Push rules are only available on Enterprise plans and if the authenticated user has permission to read them.
    ReadmeUrl string
    The URL of the project README.
    ReleasesAccessLevel string
    Set the releases access level. Valid values are disabled, private, enabled.
    RemoveSourceBranchAfterMerge bool
    Enable Delete source branch option by default for all new merge requests.
    RepositoryAccessLevel string
    Set the repository access level. Valid values are disabled, private, enabled.
    RepositoryStorage string
    Which storage shard the repository is on. (administrator only)
    RequestAccessEnabled bool
    Whether requesting access is enabled for the project.
    RequirementsAccessLevel string
    Set the requirements access level. Valid values are disabled, private, enabled.
    RequirementsEnabled bool
    Whether the requirements feature is enabled. Premium and Ultimate only.
    ResolveOutdatedDiffDiscussions bool
    Automatically resolve merge request diffs discussions on lines changed with a push.
    ResourceGroupDefaultProcessMode string
    The default resource group process mode for the project.
    RestrictUserDefinedVariables bool
    Allow only users with the Maintainer role to pass user-defined variables when triggering a pipeline.

    Deprecated: Use ciPipelineVariablesMinimumOverrideRole instead, to be removed in 20.0.

    RunnerTokenExpirationInterval int
    Runner token expiration interval, in seconds.
    RunnersToken string
    Registration token to use during runner setup.
    SecurityAndComplianceAccessLevel string
    Set the security and compliance access level. Valid values are disabled, private, enabled.
    SecurityAndComplianceEnabled bool
    Whether the security and compliance feature is enabled.
    ServiceDeskAddress string
    The Service Desk email address for the project.
    ServiceDeskEnabled bool
    Whether Service Desk is enabled for the project.
    SharedRunnersEnabled bool
    Whether shared runners are enabled for the project.
    SharedWithGroups []GetProjectSharedWithGroup
    Describes groups which have access shared to this project.
    SnippetsAccessLevel string
    Set the snippets access level. Valid values are disabled, private, enabled.
    SnippetsEnabled bool
    Whether snippets are enabled for the project.

    Deprecated: Use snippetsAccessLevel instead, to be removed in 20.0.

    SquashCommitTemplate string
    Template used to create squash commit message in merge requests.
    SquashOption string
    The project's squash option for merge requests (never, always, defaultOn, defaultOff).
    SshUrlToRepo string
    The SSH clone URL of the project.
    StarCount int
    The number of stars on the project.
    Statistics map[string]int
    Statistics for the project.
    SuggestionCommitMessage string
    The commit message used to apply merge request suggestions.
    TagLists []string
    The list of project topics (formerly project tags).

    Deprecated: Use topics instead, to be removed in 20.0.

    Topics []string
    The list of topics for the project.
    UpdatedAt string
    The time the project was last updated.
    Visibility string
    The visibility of the project (private, internal, public).
    VisibilityLevel string
    The visibility of the project. Alias for visibility.

    Deprecated: Use visibility instead, to be removed in 20.0.

    WebUrl string
    URL that can be used to find the project in a browser.
    WikiAccessLevel string
    Set the wiki access level. Valid values are disabled, private, enabled.
    WikiEnabled bool
    Whether wiki is enabled for the project.

    Deprecated: Use wikiAccessLevel instead, to be removed in 20.0.

    allow_merge_on_skipped_pipeline bool
    Whether allowMergeOnSkippedPipeline is enabled for the project.
    allow_pipeline_trigger_approve_deployment bool
    Set whether or not a pipeline triggerer is allowed to approve deployments. Premium and Ultimate only.
    analytics_access_level string
    Set the analytics access level. Valid values are disabled, private, enabled.
    approvals_before_merge number
    The number of approvals needed in a merge request.

    Deprecated: Use the Merge Request Approvals API instead, to be removed in 20.0.

    archived bool
    Whether the project is in read-only mode (archived).
    auto_cancel_pending_pipelines string
    Auto-cancel pending pipelines. This isn't a boolean, but enabled/disabled.
    auto_devops_deploy_strategy string
    Auto Deploy strategy. Valid values are continuous, manual, timedIncremental.
    auto_devops_enabled bool
    Enable Auto DevOps for this project.
    auto_duo_code_review_enabled bool
    Whether GitLab Duo code review is enabled for the project.
    autoclose_referenced_issues bool
    Set whether auto-closing referenced issues on default branch.
    avatar_url string
    The avatar URL of the project.
    build_coverage_regex string
    Build coverage regex for the project.
    build_git_strategy string
    The Git strategy. Defaults to fetch.
    build_timeout number
    The maximum amount of time, in seconds, that a job can run.
    builds_access_level string
    Set the builds access level. Valid values are disabled, private, enabled.
    can_create_merge_request_in bool
    Whether the calling user can create merge requests in this project.
    ci_allow_fork_pipelines_to_run_in_parent_project bool
    Whether pipelines triggered from merge requests opened from forks may run in the parent project.
    ci_config_path string
    CI config file path for the project.
    ci_default_git_depth number
    Default number of revisions for shallow cloning.
    ci_delete_pipelines_in_seconds number
    Pipelines older than the configured time are deleted.
    ci_display_pipeline_variables bool
    Whether pipeline variables are displayed in the UI.
    ci_forward_deployment_enabled bool
    When a new deployment job starts, skip older deployment jobs that are still pending.
    ci_forward_deployment_rollback_allowed bool
    Allow job retries even if the deployment job is outdated.
    ci_id_token_sub_claim_components list(string)
    Fields included in the sub claim of the ID Token. Accepts an array starting with projectPath. The array might also include refType and ref. Defaults to ["projectPath", "refType", "ref"]. Introduced in GitLab 17.10.
    ci_job_token_scope_enabled bool
    Whether the CI/CD job token access scope is enabled (limits which projects can be accessed using the job token).
    ci_opt_in_jwt bool
    Whether the project must explicitly opt in to receive ID tokens in CI jobs.
    ci_pipeline_variables_minimum_override_role string
    The minimum role required to set variables when running pipelines and jobs. Introduced in GitLab 17.1. Valid values are developer, maintainer, owner, noOneAllowed.
    ci_push_repository_for_job_token_allowed bool
    Whether pushes to the repository using the CI/CD job token are allowed.
    ci_restrict_pipeline_cancellation_role string
    The role required to cancel a pipeline or job. Premium and Ultimate only. Valid values are developer, maintainer, noOne.
    ci_separated_caches bool
    Use separate caches for protected branches.
    compliance_frameworks list(string)
    Compliance frameworks applied to the project. Premium and Ultimate only.
    container_expiration_policies list(object)
    The image cleanup policy for this project.
    container_registry_access_level string
    Set visibility of container registry for this project. Valid values are disabled, private, enabled.
    container_registry_enabled bool
    Whether the container registry is enabled for the project.

    Deprecated: Use containerRegistryAccessLevel instead, to be removed in 20.0.

    container_registry_image_prefix string
    The image prefix used by the container registry for this project.
    created_at string
    Creation time for the project.
    creator_id number
    Creator ID for the project.
    custom_attributes list(map(string))
    Custom attributes for the project.
    default_branch string
    The default branch name of the project.
    description string
    A description of the project.
    emails_disabled bool
    Whether email notifications are disabled for the project.
    emails_enabled bool
    Enable email notifications.
    empty_repo bool
    Whether the project is empty.
    enforce_auth_checks_on_uploads bool
    Whether authentication checks are enforced when uploading to the project.
    environments_access_level string
    Set the environments access level. Valid values are disabled, private, enabled.
    external_authorization_classification_label string
    The classification label for the project.
    feature_flags_access_level string
    Set the feature flags access level. Valid values are disabled, private, enabled.
    forked_from_projects list(object)
    Present if the project is a fork. Contains information about the upstream project.
    forking_access_level string
    Set the forking access level. Valid values are disabled, private, enabled.
    forks_count number
    The number of forks of the project.
    group_runners_enabled bool
    Whether group runners are enabled for the project.
    http_url_to_repo string
    The HTTP clone URL of the project.
    id string
    The integer that uniquely identifies the project within the gitlab install.
    import_error string
    The import error, if it exists, for the project.
    import_status string
    The import status of the project.
    import_type string
    The type of import used to create the project (for example github, bitbucket).
    import_url string
    URL the project was imported from.
    infrastructure_access_level string
    Set the infrastructure access level. Valid values are disabled, private, enabled.
    issue_branch_template string
    Template used to suggest a branch name when creating one from an issue.
    issues_access_level string
    Set the issues access level. Valid values are disabled, private, enabled.
    issues_enabled bool
    Whether issues are enabled for the project.

    Deprecated: Use issuesAccessLevel instead, to be removed in 20.0.

    issues_template string
    Default description template for new issues.
    jobs_enabled bool
    Whether jobs are enabled for the project.

    Deprecated: Use buildsAccessLevel instead, to be removed in 20.0.

    keep_latest_artifact bool
    Disable or enable the ability to keep the latest artifact for this project.
    last_activity_at string
    Last activity time for the project.
    lfs_enabled bool
    Whether LFS (large file storage) is enabled for the project.
    license_url string
    URL of the project's license file.
    licenses list(object)
    Information about the project's license, if one is detected.
    links map(string)
    Links for the project.
    marked_for_deletion bool
    Whether the project is marked for deletion.
    marked_for_deletion_at string
    Timestamp at which the project was marked for deletion. Premium and Ultimate only.

    Deprecated: Use markedForDeletionOn instead, to be removed in 20.0.

    marked_for_deletion_on string
    Timestamp at which the project was marked for deletion. Premium and Ultimate only.
    max_artifacts_size number
    Maximum artifacts size, in MB, for the project. Overrides the instance-wide setting when set.
    merge_commit_template string
    Template used to create merge commit message in merge requests.
    merge_method string
    Merge method for the project.
    merge_pipelines_enabled bool
    Enable or disable merge pipelines.
    merge_request_title_regex string
    Regular expression that merge request titles must match.
    merge_request_title_regex_description string
    Human-readable description of mergeRequestTitleRegex.
    merge_requests_access_level string
    Set the merge requests access level. Valid values are disabled, private, enabled.
    merge_requests_enabled bool
    Whether merge requests are enabled for the project.

    Deprecated: Use mergeRequestsAccessLevel instead, to be removed in 20.0.

    merge_requests_template string
    Default description template for new merge requests.
    merge_trains_enabled bool
    Enable or disable merge trains.
    merge_trains_skip_train_allowed bool
    Allows merge train merge requests to be merged without waiting for pipelines to finish.
    mirror bool
    Whether pull mirroring is enabled for the project.
    mirror_overwrites_diverged_branches bool
    Whether mirrorOverwritesDivergedBranches is enabled for the project.
    mirror_trigger_builds bool
    Whether pull mirroring triggers builds for the project.
    mirror_user_id number
    The mirror user ID for the project.
    model_experiments_access_level string
    The visibility of machine learning model experiments.
    model_registry_access_level string
    The visibility of machine learning model registry.
    monitor_access_level string
    Set the monitor access level. Valid values are disabled, private, enabled.
    mr_default_target_self bool
    For forks, whether merge requests target the fork itself rather than the upstream project by default.
    name string
    The name of the project.
    name_with_namespace string
    In group / subgroup / project or user / project format.
    namespace_id number
    The namespace (group or user) ID of the project. Alias for namespace[0].id.

    Deprecated: Use namespace[0].id instead, to be removed in 20.0.

    namespaces list(object)
    Namespace of the project (parent group/s).
    only_allow_merge_if_all_discussions_are_resolved bool
    Whether onlyAllowMergeIfAllDiscussionsAreResolved is enabled for the project.
    only_allow_merge_if_pipeline_succeeds bool
    Whether onlyAllowMergeIfPipelineSucceeds is enabled for the project.
    only_mirror_protected_branches bool
    Whether onlyMirrorProtectedBranches is enabled for the project.
    open_issues_count number
    The number of open issues for the project.
    operations_access_level string
    Set the operations access level. Valid values are disabled, private, enabled.
    owners list(object)
    The owner of the project. Only populated when the calling token has administrator scope.
    package_registry_access_level string
    The visibility of the package registry.
    packages_enabled bool
    Whether packages are enabled for the project.

    Deprecated: Use packageRegistryAccessLevel instead, to be removed in 20.0.

    pages_access_level string
    Set the GitLab Pages access level. Valid values are disabled, private, enabled.
    path string
    The path of the project.
    path_with_namespace string
    The path of the repository with namespace.
    permissions list(object)
    Permissions for the project.
    pre_receive_secret_detection_enabled bool
    Whether pre-receive secret detection is enabled for the project.
    prevent_merge_without_jira_issue bool
    Whether merge requests require an associated issue from Jira. Premium and Ultimate only.
    printing_merge_request_link_enabled bool
    Show link to create/view merge request when pushing from the command line.
    protect_merge_request_pipelines bool
    Whether pipelines triggered for merge requests run with project secrets and protected variables, instead of the contributor's lower-privileged context.
    public_builds bool
    If true, jobs can be viewed by non-project members. Alias for publicJobs.

    Deprecated: Use publicJobs instead, to be removed in 20.0.

    public_jobs bool
    If true, jobs can be viewed by non-project members.
    push_rules list(object)
    Push rules for the project. Push rules are only available on Enterprise plans and if the authenticated user has permission to read them.
    readme_url string
    The URL of the project README.
    releases_access_level string
    Set the releases access level. Valid values are disabled, private, enabled.
    remove_source_branch_after_merge bool
    Enable Delete source branch option by default for all new merge requests.
    repository_access_level string
    Set the repository access level. Valid values are disabled, private, enabled.
    repository_storage string
    Which storage shard the repository is on. (administrator only)
    request_access_enabled bool
    Whether requesting access is enabled for the project.
    requirements_access_level string
    Set the requirements access level. Valid values are disabled, private, enabled.
    requirements_enabled bool
    Whether the requirements feature is enabled. Premium and Ultimate only.
    resolve_outdated_diff_discussions bool
    Automatically resolve merge request diffs discussions on lines changed with a push.
    resource_group_default_process_mode string
    The default resource group process mode for the project.
    restrict_user_defined_variables bool
    Allow only users with the Maintainer role to pass user-defined variables when triggering a pipeline.

    Deprecated: Use ciPipelineVariablesMinimumOverrideRole instead, to be removed in 20.0.

    runner_token_expiration_interval number
    Runner token expiration interval, in seconds.
    runners_token string
    Registration token to use during runner setup.
    security_and_compliance_access_level string
    Set the security and compliance access level. Valid values are disabled, private, enabled.
    security_and_compliance_enabled bool
    Whether the security and compliance feature is enabled.
    service_desk_address string
    The Service Desk email address for the project.
    service_desk_enabled bool
    Whether Service Desk is enabled for the project.
    shared_runners_enabled bool
    Whether shared runners are enabled for the project.
    shared_with_groups list(object)
    Describes groups which have access shared to this project.
    snippets_access_level string
    Set the snippets access level. Valid values are disabled, private, enabled.
    snippets_enabled bool
    Whether snippets are enabled for the project.

    Deprecated: Use snippetsAccessLevel instead, to be removed in 20.0.

    squash_commit_template string
    Template used to create squash commit message in merge requests.
    squash_option string
    The project's squash option for merge requests (never, always, defaultOn, defaultOff).
    ssh_url_to_repo string
    The SSH clone URL of the project.
    star_count number
    The number of stars on the project.
    statistics map(number)
    Statistics for the project.
    suggestion_commit_message string
    The commit message used to apply merge request suggestions.
    tag_lists list(string)
    The list of project topics (formerly project tags).

    Deprecated: Use topics instead, to be removed in 20.0.

    topics list(string)
    The list of topics for the project.
    updated_at string
    The time the project was last updated.
    visibility string
    The visibility of the project (private, internal, public).
    visibility_level string
    The visibility of the project. Alias for visibility.

    Deprecated: Use visibility instead, to be removed in 20.0.

    web_url string
    URL that can be used to find the project in a browser.
    wiki_access_level string
    Set the wiki access level. Valid values are disabled, private, enabled.
    wiki_enabled bool
    Whether wiki is enabled for the project.

    Deprecated: Use wikiAccessLevel instead, to be removed in 20.0.

    allowMergeOnSkippedPipeline Boolean
    Whether allowMergeOnSkippedPipeline is enabled for the project.
    allowPipelineTriggerApproveDeployment Boolean
    Set whether or not a pipeline triggerer is allowed to approve deployments. Premium and Ultimate only.
    analyticsAccessLevel String
    Set the analytics access level. Valid values are disabled, private, enabled.
    approvalsBeforeMerge Integer
    The number of approvals needed in a merge request.

    Deprecated: Use the Merge Request Approvals API instead, to be removed in 20.0.

    archived Boolean
    Whether the project is in read-only mode (archived).
    autoCancelPendingPipelines String
    Auto-cancel pending pipelines. This isn't a boolean, but enabled/disabled.
    autoDevopsDeployStrategy String
    Auto Deploy strategy. Valid values are continuous, manual, timedIncremental.
    autoDevopsEnabled Boolean
    Enable Auto DevOps for this project.
    autoDuoCodeReviewEnabled Boolean
    Whether GitLab Duo code review is enabled for the project.
    autocloseReferencedIssues Boolean
    Set whether auto-closing referenced issues on default branch.
    avatarUrl String
    The avatar URL of the project.
    buildCoverageRegex String
    Build coverage regex for the project.
    buildGitStrategy String
    The Git strategy. Defaults to fetch.
    buildTimeout Integer
    The maximum amount of time, in seconds, that a job can run.
    buildsAccessLevel String
    Set the builds access level. Valid values are disabled, private, enabled.
    canCreateMergeRequestIn Boolean
    Whether the calling user can create merge requests in this project.
    ciAllowForkPipelinesToRunInParentProject Boolean
    Whether pipelines triggered from merge requests opened from forks may run in the parent project.
    ciConfigPath String
    CI config file path for the project.
    ciDefaultGitDepth Integer
    Default number of revisions for shallow cloning.
    ciDeletePipelinesInSeconds Integer
    Pipelines older than the configured time are deleted.
    ciDisplayPipelineVariables Boolean
    Whether pipeline variables are displayed in the UI.
    ciForwardDeploymentEnabled Boolean
    When a new deployment job starts, skip older deployment jobs that are still pending.
    ciForwardDeploymentRollbackAllowed Boolean
    Allow job retries even if the deployment job is outdated.
    ciIdTokenSubClaimComponents List<String>
    Fields included in the sub claim of the ID Token. Accepts an array starting with projectPath. The array might also include refType and ref. Defaults to ["projectPath", "refType", "ref"]. Introduced in GitLab 17.10.
    ciJobTokenScopeEnabled Boolean
    Whether the CI/CD job token access scope is enabled (limits which projects can be accessed using the job token).
    ciOptInJwt Boolean
    Whether the project must explicitly opt in to receive ID tokens in CI jobs.
    ciPipelineVariablesMinimumOverrideRole String
    The minimum role required to set variables when running pipelines and jobs. Introduced in GitLab 17.1. Valid values are developer, maintainer, owner, noOneAllowed.
    ciPushRepositoryForJobTokenAllowed Boolean
    Whether pushes to the repository using the CI/CD job token are allowed.
    ciRestrictPipelineCancellationRole String
    The role required to cancel a pipeline or job. Premium and Ultimate only. Valid values are developer, maintainer, noOne.
    ciSeparatedCaches Boolean
    Use separate caches for protected branches.
    complianceFrameworks List<String>
    Compliance frameworks applied to the project. Premium and Ultimate only.
    containerExpirationPolicies List<GetProjectContainerExpirationPolicy>
    The image cleanup policy for this project.
    containerRegistryAccessLevel String
    Set visibility of container registry for this project. Valid values are disabled, private, enabled.
    containerRegistryEnabled Boolean
    Whether the container registry is enabled for the project.

    Deprecated: Use containerRegistryAccessLevel instead, to be removed in 20.0.

    containerRegistryImagePrefix String
    The image prefix used by the container registry for this project.
    createdAt String
    Creation time for the project.
    creatorId Integer
    Creator ID for the project.
    customAttributes List<Map<String,String>>
    Custom attributes for the project.
    defaultBranch String
    The default branch name of the project.
    description String
    A description of the project.
    emailsDisabled Boolean
    Whether email notifications are disabled for the project.
    emailsEnabled Boolean
    Enable email notifications.
    emptyRepo Boolean
    Whether the project is empty.
    enforceAuthChecksOnUploads Boolean
    Whether authentication checks are enforced when uploading to the project.
    environmentsAccessLevel String
    Set the environments access level. Valid values are disabled, private, enabled.
    externalAuthorizationClassificationLabel String
    The classification label for the project.
    featureFlagsAccessLevel String
    Set the feature flags access level. Valid values are disabled, private, enabled.
    forkedFromProjects List<GetProjectForkedFromProject>
    Present if the project is a fork. Contains information about the upstream project.
    forkingAccessLevel String
    Set the forking access level. Valid values are disabled, private, enabled.
    forksCount Integer
    The number of forks of the project.
    groupRunnersEnabled Boolean
    Whether group runners are enabled for the project.
    httpUrlToRepo String
    The HTTP clone URL of the project.
    id String
    The integer that uniquely identifies the project within the gitlab install.
    importError String
    The import error, if it exists, for the project.
    importStatus String
    The import status of the project.
    importType String
    The type of import used to create the project (for example github, bitbucket).
    importUrl String
    URL the project was imported from.
    infrastructureAccessLevel String
    Set the infrastructure access level. Valid values are disabled, private, enabled.
    issueBranchTemplate String
    Template used to suggest a branch name when creating one from an issue.
    issuesAccessLevel String
    Set the issues access level. Valid values are disabled, private, enabled.
    issuesEnabled Boolean
    Whether issues are enabled for the project.

    Deprecated: Use issuesAccessLevel instead, to be removed in 20.0.

    issuesTemplate String
    Default description template for new issues.
    jobsEnabled Boolean
    Whether jobs are enabled for the project.

    Deprecated: Use buildsAccessLevel instead, to be removed in 20.0.

    keepLatestArtifact Boolean
    Disable or enable the ability to keep the latest artifact for this project.
    lastActivityAt String
    Last activity time for the project.
    lfsEnabled Boolean
    Whether LFS (large file storage) is enabled for the project.
    licenseUrl String
    URL of the project's license file.
    licenses List<GetProjectLicense>
    Information about the project's license, if one is detected.
    links Map<String,String>
    Links for the project.
    markedForDeletion Boolean
    Whether the project is marked for deletion.
    markedForDeletionAt String
    Timestamp at which the project was marked for deletion. Premium and Ultimate only.

    Deprecated: Use markedForDeletionOn instead, to be removed in 20.0.

    markedForDeletionOn String
    Timestamp at which the project was marked for deletion. Premium and Ultimate only.
    maxArtifactsSize Integer
    Maximum artifacts size, in MB, for the project. Overrides the instance-wide setting when set.
    mergeCommitTemplate String
    Template used to create merge commit message in merge requests.
    mergeMethod String
    Merge method for the project.
    mergePipelinesEnabled Boolean
    Enable or disable merge pipelines.
    mergeRequestTitleRegex String
    Regular expression that merge request titles must match.
    mergeRequestTitleRegexDescription String
    Human-readable description of mergeRequestTitleRegex.
    mergeRequestsAccessLevel String
    Set the merge requests access level. Valid values are disabled, private, enabled.
    mergeRequestsEnabled Boolean
    Whether merge requests are enabled for the project.

    Deprecated: Use mergeRequestsAccessLevel instead, to be removed in 20.0.

    mergeRequestsTemplate String
    Default description template for new merge requests.
    mergeTrainsEnabled Boolean
    Enable or disable merge trains.
    mergeTrainsSkipTrainAllowed Boolean
    Allows merge train merge requests to be merged without waiting for pipelines to finish.
    mirror Boolean
    Whether pull mirroring is enabled for the project.
    mirrorOverwritesDivergedBranches Boolean
    Whether mirrorOverwritesDivergedBranches is enabled for the project.
    mirrorTriggerBuilds Boolean
    Whether pull mirroring triggers builds for the project.
    mirrorUserId Integer
    The mirror user ID for the project.
    modelExperimentsAccessLevel String
    The visibility of machine learning model experiments.
    modelRegistryAccessLevel String
    The visibility of machine learning model registry.
    monitorAccessLevel String
    Set the monitor access level. Valid values are disabled, private, enabled.
    mrDefaultTargetSelf Boolean
    For forks, whether merge requests target the fork itself rather than the upstream project by default.
    name String
    The name of the project.
    nameWithNamespace String
    In group / subgroup / project or user / project format.
    namespaceId Integer
    The namespace (group or user) ID of the project. Alias for namespace[0].id.

    Deprecated: Use namespace[0].id instead, to be removed in 20.0.

    namespaces List<GetProjectNamespace>
    Namespace of the project (parent group/s).
    onlyAllowMergeIfAllDiscussionsAreResolved Boolean
    Whether onlyAllowMergeIfAllDiscussionsAreResolved is enabled for the project.
    onlyAllowMergeIfPipelineSucceeds Boolean
    Whether onlyAllowMergeIfPipelineSucceeds is enabled for the project.
    onlyMirrorProtectedBranches Boolean
    Whether onlyMirrorProtectedBranches is enabled for the project.
    openIssuesCount Integer
    The number of open issues for the project.
    operationsAccessLevel String
    Set the operations access level. Valid values are disabled, private, enabled.
    owners List<GetProjectOwner>
    The owner of the project. Only populated when the calling token has administrator scope.
    packageRegistryAccessLevel String
    The visibility of the package registry.
    packagesEnabled Boolean
    Whether packages are enabled for the project.

    Deprecated: Use packageRegistryAccessLevel instead, to be removed in 20.0.

    pagesAccessLevel String
    Set the GitLab Pages access level. Valid values are disabled, private, enabled.
    path String
    The path of the project.
    pathWithNamespace String
    The path of the repository with namespace.
    permissions List<GetProjectPermission>
    Permissions for the project.
    preReceiveSecretDetectionEnabled Boolean
    Whether pre-receive secret detection is enabled for the project.
    preventMergeWithoutJiraIssue Boolean
    Whether merge requests require an associated issue from Jira. Premium and Ultimate only.
    printingMergeRequestLinkEnabled Boolean
    Show link to create/view merge request when pushing from the command line.
    protectMergeRequestPipelines Boolean
    Whether pipelines triggered for merge requests run with project secrets and protected variables, instead of the contributor's lower-privileged context.
    publicBuilds Boolean
    If true, jobs can be viewed by non-project members. Alias for publicJobs.

    Deprecated: Use publicJobs instead, to be removed in 20.0.

    publicJobs Boolean
    If true, jobs can be viewed by non-project members.
    pushRules List<GetProjectPushRule>
    Push rules for the project. Push rules are only available on Enterprise plans and if the authenticated user has permission to read them.
    readmeUrl String
    The URL of the project README.
    releasesAccessLevel String
    Set the releases access level. Valid values are disabled, private, enabled.
    removeSourceBranchAfterMerge Boolean
    Enable Delete source branch option by default for all new merge requests.
    repositoryAccessLevel String
    Set the repository access level. Valid values are disabled, private, enabled.
    repositoryStorage String
    Which storage shard the repository is on. (administrator only)
    requestAccessEnabled Boolean
    Whether requesting access is enabled for the project.
    requirementsAccessLevel String
    Set the requirements access level. Valid values are disabled, private, enabled.
    requirementsEnabled Boolean
    Whether the requirements feature is enabled. Premium and Ultimate only.
    resolveOutdatedDiffDiscussions Boolean
    Automatically resolve merge request diffs discussions on lines changed with a push.
    resourceGroupDefaultProcessMode String
    The default resource group process mode for the project.
    restrictUserDefinedVariables Boolean
    Allow only users with the Maintainer role to pass user-defined variables when triggering a pipeline.

    Deprecated: Use ciPipelineVariablesMinimumOverrideRole instead, to be removed in 20.0.

    runnerTokenExpirationInterval Integer
    Runner token expiration interval, in seconds.
    runnersToken String
    Registration token to use during runner setup.
    securityAndComplianceAccessLevel String
    Set the security and compliance access level. Valid values are disabled, private, enabled.
    securityAndComplianceEnabled Boolean
    Whether the security and compliance feature is enabled.
    serviceDeskAddress String
    The Service Desk email address for the project.
    serviceDeskEnabled Boolean
    Whether Service Desk is enabled for the project.
    sharedRunnersEnabled Boolean
    Whether shared runners are enabled for the project.
    sharedWithGroups List<GetProjectSharedWithGroup>
    Describes groups which have access shared to this project.
    snippetsAccessLevel String
    Set the snippets access level. Valid values are disabled, private, enabled.
    snippetsEnabled Boolean
    Whether snippets are enabled for the project.

    Deprecated: Use snippetsAccessLevel instead, to be removed in 20.0.

    squashCommitTemplate String
    Template used to create squash commit message in merge requests.
    squashOption String
    The project's squash option for merge requests (never, always, defaultOn, defaultOff).
    sshUrlToRepo String
    The SSH clone URL of the project.
    starCount Integer
    The number of stars on the project.
    statistics Map<String,Integer>
    Statistics for the project.
    suggestionCommitMessage String
    The commit message used to apply merge request suggestions.
    tagLists List<String>
    The list of project topics (formerly project tags).

    Deprecated: Use topics instead, to be removed in 20.0.

    topics List<String>
    The list of topics for the project.
    updatedAt String
    The time the project was last updated.
    visibility String
    The visibility of the project (private, internal, public).
    visibilityLevel String
    The visibility of the project. Alias for visibility.

    Deprecated: Use visibility instead, to be removed in 20.0.

    webUrl String
    URL that can be used to find the project in a browser.
    wikiAccessLevel String
    Set the wiki access level. Valid values are disabled, private, enabled.
    wikiEnabled Boolean
    Whether wiki is enabled for the project.

    Deprecated: Use wikiAccessLevel instead, to be removed in 20.0.

    allowMergeOnSkippedPipeline boolean
    Whether allowMergeOnSkippedPipeline is enabled for the project.
    allowPipelineTriggerApproveDeployment boolean
    Set whether or not a pipeline triggerer is allowed to approve deployments. Premium and Ultimate only.
    analyticsAccessLevel string
    Set the analytics access level. Valid values are disabled, private, enabled.
    approvalsBeforeMerge number
    The number of approvals needed in a merge request.

    Deprecated: Use the Merge Request Approvals API instead, to be removed in 20.0.

    archived boolean
    Whether the project is in read-only mode (archived).
    autoCancelPendingPipelines string
    Auto-cancel pending pipelines. This isn't a boolean, but enabled/disabled.
    autoDevopsDeployStrategy string
    Auto Deploy strategy. Valid values are continuous, manual, timedIncremental.
    autoDevopsEnabled boolean
    Enable Auto DevOps for this project.
    autoDuoCodeReviewEnabled boolean
    Whether GitLab Duo code review is enabled for the project.
    autocloseReferencedIssues boolean
    Set whether auto-closing referenced issues on default branch.
    avatarUrl string
    The avatar URL of the project.
    buildCoverageRegex string
    Build coverage regex for the project.
    buildGitStrategy string
    The Git strategy. Defaults to fetch.
    buildTimeout number
    The maximum amount of time, in seconds, that a job can run.
    buildsAccessLevel string
    Set the builds access level. Valid values are disabled, private, enabled.
    canCreateMergeRequestIn boolean
    Whether the calling user can create merge requests in this project.
    ciAllowForkPipelinesToRunInParentProject boolean
    Whether pipelines triggered from merge requests opened from forks may run in the parent project.
    ciConfigPath string
    CI config file path for the project.
    ciDefaultGitDepth number
    Default number of revisions for shallow cloning.
    ciDeletePipelinesInSeconds number
    Pipelines older than the configured time are deleted.
    ciDisplayPipelineVariables boolean
    Whether pipeline variables are displayed in the UI.
    ciForwardDeploymentEnabled boolean
    When a new deployment job starts, skip older deployment jobs that are still pending.
    ciForwardDeploymentRollbackAllowed boolean
    Allow job retries even if the deployment job is outdated.
    ciIdTokenSubClaimComponents string[]
    Fields included in the sub claim of the ID Token. Accepts an array starting with projectPath. The array might also include refType and ref. Defaults to ["projectPath", "refType", "ref"]. Introduced in GitLab 17.10.
    ciJobTokenScopeEnabled boolean
    Whether the CI/CD job token access scope is enabled (limits which projects can be accessed using the job token).
    ciOptInJwt boolean
    Whether the project must explicitly opt in to receive ID tokens in CI jobs.
    ciPipelineVariablesMinimumOverrideRole string
    The minimum role required to set variables when running pipelines and jobs. Introduced in GitLab 17.1. Valid values are developer, maintainer, owner, noOneAllowed.
    ciPushRepositoryForJobTokenAllowed boolean
    Whether pushes to the repository using the CI/CD job token are allowed.
    ciRestrictPipelineCancellationRole string
    The role required to cancel a pipeline or job. Premium and Ultimate only. Valid values are developer, maintainer, noOne.
    ciSeparatedCaches boolean
    Use separate caches for protected branches.
    complianceFrameworks string[]
    Compliance frameworks applied to the project. Premium and Ultimate only.
    containerExpirationPolicies GetProjectContainerExpirationPolicy[]
    The image cleanup policy for this project.
    containerRegistryAccessLevel string
    Set visibility of container registry for this project. Valid values are disabled, private, enabled.
    containerRegistryEnabled boolean
    Whether the container registry is enabled for the project.

    Deprecated: Use containerRegistryAccessLevel instead, to be removed in 20.0.

    containerRegistryImagePrefix string
    The image prefix used by the container registry for this project.
    createdAt string
    Creation time for the project.
    creatorId number
    Creator ID for the project.
    customAttributes {[key: string]: string}[]
    Custom attributes for the project.
    defaultBranch string
    The default branch name of the project.
    description string
    A description of the project.
    emailsDisabled boolean
    Whether email notifications are disabled for the project.
    emailsEnabled boolean
    Enable email notifications.
    emptyRepo boolean
    Whether the project is empty.
    enforceAuthChecksOnUploads boolean
    Whether authentication checks are enforced when uploading to the project.
    environmentsAccessLevel string
    Set the environments access level. Valid values are disabled, private, enabled.
    externalAuthorizationClassificationLabel string
    The classification label for the project.
    featureFlagsAccessLevel string
    Set the feature flags access level. Valid values are disabled, private, enabled.
    forkedFromProjects GetProjectForkedFromProject[]
    Present if the project is a fork. Contains information about the upstream project.
    forkingAccessLevel string
    Set the forking access level. Valid values are disabled, private, enabled.
    forksCount number
    The number of forks of the project.
    groupRunnersEnabled boolean
    Whether group runners are enabled for the project.
    httpUrlToRepo string
    The HTTP clone URL of the project.
    id string
    The integer that uniquely identifies the project within the gitlab install.
    importError string
    The import error, if it exists, for the project.
    importStatus string
    The import status of the project.
    importType string
    The type of import used to create the project (for example github, bitbucket).
    importUrl string
    URL the project was imported from.
    infrastructureAccessLevel string
    Set the infrastructure access level. Valid values are disabled, private, enabled.
    issueBranchTemplate string
    Template used to suggest a branch name when creating one from an issue.
    issuesAccessLevel string
    Set the issues access level. Valid values are disabled, private, enabled.
    issuesEnabled boolean
    Whether issues are enabled for the project.

    Deprecated: Use issuesAccessLevel instead, to be removed in 20.0.

    issuesTemplate string
    Default description template for new issues.
    jobsEnabled boolean
    Whether jobs are enabled for the project.

    Deprecated: Use buildsAccessLevel instead, to be removed in 20.0.

    keepLatestArtifact boolean
    Disable or enable the ability to keep the latest artifact for this project.
    lastActivityAt string
    Last activity time for the project.
    lfsEnabled boolean
    Whether LFS (large file storage) is enabled for the project.
    licenseUrl string
    URL of the project's license file.
    licenses GetProjectLicense[]
    Information about the project's license, if one is detected.
    links {[key: string]: string}
    Links for the project.
    markedForDeletion boolean
    Whether the project is marked for deletion.
    markedForDeletionAt string
    Timestamp at which the project was marked for deletion. Premium and Ultimate only.

    Deprecated: Use markedForDeletionOn instead, to be removed in 20.0.

    markedForDeletionOn string
    Timestamp at which the project was marked for deletion. Premium and Ultimate only.
    maxArtifactsSize number
    Maximum artifacts size, in MB, for the project. Overrides the instance-wide setting when set.
    mergeCommitTemplate string
    Template used to create merge commit message in merge requests.
    mergeMethod string
    Merge method for the project.
    mergePipelinesEnabled boolean
    Enable or disable merge pipelines.
    mergeRequestTitleRegex string
    Regular expression that merge request titles must match.
    mergeRequestTitleRegexDescription string
    Human-readable description of mergeRequestTitleRegex.
    mergeRequestsAccessLevel string
    Set the merge requests access level. Valid values are disabled, private, enabled.
    mergeRequestsEnabled boolean
    Whether merge requests are enabled for the project.

    Deprecated: Use mergeRequestsAccessLevel instead, to be removed in 20.0.

    mergeRequestsTemplate string
    Default description template for new merge requests.
    mergeTrainsEnabled boolean
    Enable or disable merge trains.
    mergeTrainsSkipTrainAllowed boolean
    Allows merge train merge requests to be merged without waiting for pipelines to finish.
    mirror boolean
    Whether pull mirroring is enabled for the project.
    mirrorOverwritesDivergedBranches boolean
    Whether mirrorOverwritesDivergedBranches is enabled for the project.
    mirrorTriggerBuilds boolean
    Whether pull mirroring triggers builds for the project.
    mirrorUserId number
    The mirror user ID for the project.
    modelExperimentsAccessLevel string
    The visibility of machine learning model experiments.
    modelRegistryAccessLevel string
    The visibility of machine learning model registry.
    monitorAccessLevel string
    Set the monitor access level. Valid values are disabled, private, enabled.
    mrDefaultTargetSelf boolean
    For forks, whether merge requests target the fork itself rather than the upstream project by default.
    name string
    The name of the project.
    nameWithNamespace string
    In group / subgroup / project or user / project format.
    namespaceId number
    The namespace (group or user) ID of the project. Alias for namespace[0].id.

    Deprecated: Use namespace[0].id instead, to be removed in 20.0.

    namespaces GetProjectNamespace[]
    Namespace of the project (parent group/s).
    onlyAllowMergeIfAllDiscussionsAreResolved boolean
    Whether onlyAllowMergeIfAllDiscussionsAreResolved is enabled for the project.
    onlyAllowMergeIfPipelineSucceeds boolean
    Whether onlyAllowMergeIfPipelineSucceeds is enabled for the project.
    onlyMirrorProtectedBranches boolean
    Whether onlyMirrorProtectedBranches is enabled for the project.
    openIssuesCount number
    The number of open issues for the project.
    operationsAccessLevel string
    Set the operations access level. Valid values are disabled, private, enabled.
    owners GetProjectOwner[]
    The owner of the project. Only populated when the calling token has administrator scope.
    packageRegistryAccessLevel string
    The visibility of the package registry.
    packagesEnabled boolean
    Whether packages are enabled for the project.

    Deprecated: Use packageRegistryAccessLevel instead, to be removed in 20.0.

    pagesAccessLevel string
    Set the GitLab Pages access level. Valid values are disabled, private, enabled.
    path string
    The path of the project.
    pathWithNamespace string
    The path of the repository with namespace.
    permissions GetProjectPermission[]
    Permissions for the project.
    preReceiveSecretDetectionEnabled boolean
    Whether pre-receive secret detection is enabled for the project.
    preventMergeWithoutJiraIssue boolean
    Whether merge requests require an associated issue from Jira. Premium and Ultimate only.
    printingMergeRequestLinkEnabled boolean
    Show link to create/view merge request when pushing from the command line.
    protectMergeRequestPipelines boolean
    Whether pipelines triggered for merge requests run with project secrets and protected variables, instead of the contributor's lower-privileged context.
    publicBuilds boolean
    If true, jobs can be viewed by non-project members. Alias for publicJobs.

    Deprecated: Use publicJobs instead, to be removed in 20.0.

    publicJobs boolean
    If true, jobs can be viewed by non-project members.
    pushRules GetProjectPushRule[]
    Push rules for the project. Push rules are only available on Enterprise plans and if the authenticated user has permission to read them.
    readmeUrl string
    The URL of the project README.
    releasesAccessLevel string
    Set the releases access level. Valid values are disabled, private, enabled.
    removeSourceBranchAfterMerge boolean
    Enable Delete source branch option by default for all new merge requests.
    repositoryAccessLevel string
    Set the repository access level. Valid values are disabled, private, enabled.
    repositoryStorage string
    Which storage shard the repository is on. (administrator only)
    requestAccessEnabled boolean
    Whether requesting access is enabled for the project.
    requirementsAccessLevel string
    Set the requirements access level. Valid values are disabled, private, enabled.
    requirementsEnabled boolean
    Whether the requirements feature is enabled. Premium and Ultimate only.
    resolveOutdatedDiffDiscussions boolean
    Automatically resolve merge request diffs discussions on lines changed with a push.
    resourceGroupDefaultProcessMode string
    The default resource group process mode for the project.
    restrictUserDefinedVariables boolean
    Allow only users with the Maintainer role to pass user-defined variables when triggering a pipeline.

    Deprecated: Use ciPipelineVariablesMinimumOverrideRole instead, to be removed in 20.0.

    runnerTokenExpirationInterval number
    Runner token expiration interval, in seconds.
    runnersToken string
    Registration token to use during runner setup.
    securityAndComplianceAccessLevel string
    Set the security and compliance access level. Valid values are disabled, private, enabled.
    securityAndComplianceEnabled boolean
    Whether the security and compliance feature is enabled.
    serviceDeskAddress string
    The Service Desk email address for the project.
    serviceDeskEnabled boolean
    Whether Service Desk is enabled for the project.
    sharedRunnersEnabled boolean
    Whether shared runners are enabled for the project.
    sharedWithGroups GetProjectSharedWithGroup[]
    Describes groups which have access shared to this project.
    snippetsAccessLevel string
    Set the snippets access level. Valid values are disabled, private, enabled.
    snippetsEnabled boolean
    Whether snippets are enabled for the project.

    Deprecated: Use snippetsAccessLevel instead, to be removed in 20.0.

    squashCommitTemplate string
    Template used to create squash commit message in merge requests.
    squashOption string
    The project's squash option for merge requests (never, always, defaultOn, defaultOff).
    sshUrlToRepo string
    The SSH clone URL of the project.
    starCount number
    The number of stars on the project.
    statistics {[key: string]: number}
    Statistics for the project.
    suggestionCommitMessage string
    The commit message used to apply merge request suggestions.
    tagLists string[]
    The list of project topics (formerly project tags).

    Deprecated: Use topics instead, to be removed in 20.0.

    topics string[]
    The list of topics for the project.
    updatedAt string
    The time the project was last updated.
    visibility string
    The visibility of the project (private, internal, public).
    visibilityLevel string
    The visibility of the project. Alias for visibility.

    Deprecated: Use visibility instead, to be removed in 20.0.

    webUrl string
    URL that can be used to find the project in a browser.
    wikiAccessLevel string
    Set the wiki access level. Valid values are disabled, private, enabled.
    wikiEnabled boolean
    Whether wiki is enabled for the project.

    Deprecated: Use wikiAccessLevel instead, to be removed in 20.0.

    allow_merge_on_skipped_pipeline bool
    Whether allowMergeOnSkippedPipeline is enabled for the project.
    allow_pipeline_trigger_approve_deployment bool
    Set whether or not a pipeline triggerer is allowed to approve deployments. Premium and Ultimate only.
    analytics_access_level str
    Set the analytics access level. Valid values are disabled, private, enabled.
    approvals_before_merge int
    The number of approvals needed in a merge request.

    Deprecated: Use the Merge Request Approvals API instead, to be removed in 20.0.

    archived bool
    Whether the project is in read-only mode (archived).
    auto_cancel_pending_pipelines str
    Auto-cancel pending pipelines. This isn't a boolean, but enabled/disabled.
    auto_devops_deploy_strategy str
    Auto Deploy strategy. Valid values are continuous, manual, timedIncremental.
    auto_devops_enabled bool
    Enable Auto DevOps for this project.
    auto_duo_code_review_enabled bool
    Whether GitLab Duo code review is enabled for the project.
    autoclose_referenced_issues bool
    Set whether auto-closing referenced issues on default branch.
    avatar_url str
    The avatar URL of the project.
    build_coverage_regex str
    Build coverage regex for the project.
    build_git_strategy str
    The Git strategy. Defaults to fetch.
    build_timeout int
    The maximum amount of time, in seconds, that a job can run.
    builds_access_level str
    Set the builds access level. Valid values are disabled, private, enabled.
    can_create_merge_request_in bool
    Whether the calling user can create merge requests in this project.
    ci_allow_fork_pipelines_to_run_in_parent_project bool
    Whether pipelines triggered from merge requests opened from forks may run in the parent project.
    ci_config_path str
    CI config file path for the project.
    ci_default_git_depth int
    Default number of revisions for shallow cloning.
    ci_delete_pipelines_in_seconds int
    Pipelines older than the configured time are deleted.
    ci_display_pipeline_variables bool
    Whether pipeline variables are displayed in the UI.
    ci_forward_deployment_enabled bool
    When a new deployment job starts, skip older deployment jobs that are still pending.
    ci_forward_deployment_rollback_allowed bool
    Allow job retries even if the deployment job is outdated.
    ci_id_token_sub_claim_components Sequence[str]
    Fields included in the sub claim of the ID Token. Accepts an array starting with projectPath. The array might also include refType and ref. Defaults to ["projectPath", "refType", "ref"]. Introduced in GitLab 17.10.
    ci_job_token_scope_enabled bool
    Whether the CI/CD job token access scope is enabled (limits which projects can be accessed using the job token).
    ci_opt_in_jwt bool
    Whether the project must explicitly opt in to receive ID tokens in CI jobs.
    ci_pipeline_variables_minimum_override_role str
    The minimum role required to set variables when running pipelines and jobs. Introduced in GitLab 17.1. Valid values are developer, maintainer, owner, noOneAllowed.
    ci_push_repository_for_job_token_allowed bool
    Whether pushes to the repository using the CI/CD job token are allowed.
    ci_restrict_pipeline_cancellation_role str
    The role required to cancel a pipeline or job. Premium and Ultimate only. Valid values are developer, maintainer, noOne.
    ci_separated_caches bool
    Use separate caches for protected branches.
    compliance_frameworks Sequence[str]
    Compliance frameworks applied to the project. Premium and Ultimate only.
    container_expiration_policies Sequence[GetProjectContainerExpirationPolicy]
    The image cleanup policy for this project.
    container_registry_access_level str
    Set visibility of container registry for this project. Valid values are disabled, private, enabled.
    container_registry_enabled bool
    Whether the container registry is enabled for the project.

    Deprecated: Use containerRegistryAccessLevel instead, to be removed in 20.0.

    container_registry_image_prefix str
    The image prefix used by the container registry for this project.
    created_at str
    Creation time for the project.
    creator_id int
    Creator ID for the project.
    custom_attributes Sequence[Mapping[str, str]]
    Custom attributes for the project.
    default_branch str
    The default branch name of the project.
    description str
    A description of the project.
    emails_disabled bool
    Whether email notifications are disabled for the project.
    emails_enabled bool
    Enable email notifications.
    empty_repo bool
    Whether the project is empty.
    enforce_auth_checks_on_uploads bool
    Whether authentication checks are enforced when uploading to the project.
    environments_access_level str
    Set the environments access level. Valid values are disabled, private, enabled.
    external_authorization_classification_label str
    The classification label for the project.
    feature_flags_access_level str
    Set the feature flags access level. Valid values are disabled, private, enabled.
    forked_from_projects Sequence[GetProjectForkedFromProject]
    Present if the project is a fork. Contains information about the upstream project.
    forking_access_level str
    Set the forking access level. Valid values are disabled, private, enabled.
    forks_count int
    The number of forks of the project.
    group_runners_enabled bool
    Whether group runners are enabled for the project.
    http_url_to_repo str
    The HTTP clone URL of the project.
    id str
    The integer that uniquely identifies the project within the gitlab install.
    import_error str
    The import error, if it exists, for the project.
    import_status str
    The import status of the project.
    import_type str
    The type of import used to create the project (for example github, bitbucket).
    import_url str
    URL the project was imported from.
    infrastructure_access_level str
    Set the infrastructure access level. Valid values are disabled, private, enabled.
    issue_branch_template str
    Template used to suggest a branch name when creating one from an issue.
    issues_access_level str
    Set the issues access level. Valid values are disabled, private, enabled.
    issues_enabled bool
    Whether issues are enabled for the project.

    Deprecated: Use issuesAccessLevel instead, to be removed in 20.0.

    issues_template str
    Default description template for new issues.
    jobs_enabled bool
    Whether jobs are enabled for the project.

    Deprecated: Use buildsAccessLevel instead, to be removed in 20.0.

    keep_latest_artifact bool
    Disable or enable the ability to keep the latest artifact for this project.
    last_activity_at str
    Last activity time for the project.
    lfs_enabled bool
    Whether LFS (large file storage) is enabled for the project.
    license_url str
    URL of the project's license file.
    licenses Sequence[GetProjectLicense]
    Information about the project's license, if one is detected.
    links Mapping[str, str]
    Links for the project.
    marked_for_deletion bool
    Whether the project is marked for deletion.
    marked_for_deletion_at str
    Timestamp at which the project was marked for deletion. Premium and Ultimate only.

    Deprecated: Use markedForDeletionOn instead, to be removed in 20.0.

    marked_for_deletion_on str
    Timestamp at which the project was marked for deletion. Premium and Ultimate only.
    max_artifacts_size int
    Maximum artifacts size, in MB, for the project. Overrides the instance-wide setting when set.
    merge_commit_template str
    Template used to create merge commit message in merge requests.
    merge_method str
    Merge method for the project.
    merge_pipelines_enabled bool
    Enable or disable merge pipelines.
    merge_request_title_regex str
    Regular expression that merge request titles must match.
    merge_request_title_regex_description str
    Human-readable description of mergeRequestTitleRegex.
    merge_requests_access_level str
    Set the merge requests access level. Valid values are disabled, private, enabled.
    merge_requests_enabled bool
    Whether merge requests are enabled for the project.

    Deprecated: Use mergeRequestsAccessLevel instead, to be removed in 20.0.

    merge_requests_template str
    Default description template for new merge requests.
    merge_trains_enabled bool
    Enable or disable merge trains.
    merge_trains_skip_train_allowed bool
    Allows merge train merge requests to be merged without waiting for pipelines to finish.
    mirror bool
    Whether pull mirroring is enabled for the project.
    mirror_overwrites_diverged_branches bool
    Whether mirrorOverwritesDivergedBranches is enabled for the project.
    mirror_trigger_builds bool
    Whether pull mirroring triggers builds for the project.
    mirror_user_id int
    The mirror user ID for the project.
    model_experiments_access_level str
    The visibility of machine learning model experiments.
    model_registry_access_level str
    The visibility of machine learning model registry.
    monitor_access_level str
    Set the monitor access level. Valid values are disabled, private, enabled.
    mr_default_target_self bool
    For forks, whether merge requests target the fork itself rather than the upstream project by default.
    name str
    The name of the project.
    name_with_namespace str
    In group / subgroup / project or user / project format.
    namespace_id int
    The namespace (group or user) ID of the project. Alias for namespace[0].id.

    Deprecated: Use namespace[0].id instead, to be removed in 20.0.

    namespaces Sequence[GetProjectNamespace]
    Namespace of the project (parent group/s).
    only_allow_merge_if_all_discussions_are_resolved bool
    Whether onlyAllowMergeIfAllDiscussionsAreResolved is enabled for the project.
    only_allow_merge_if_pipeline_succeeds bool
    Whether onlyAllowMergeIfPipelineSucceeds is enabled for the project.
    only_mirror_protected_branches bool
    Whether onlyMirrorProtectedBranches is enabled for the project.
    open_issues_count int
    The number of open issues for the project.
    operations_access_level str
    Set the operations access level. Valid values are disabled, private, enabled.
    owners Sequence[GetProjectOwner]
    The owner of the project. Only populated when the calling token has administrator scope.
    package_registry_access_level str
    The visibility of the package registry.
    packages_enabled bool
    Whether packages are enabled for the project.

    Deprecated: Use packageRegistryAccessLevel instead, to be removed in 20.0.

    pages_access_level str
    Set the GitLab Pages access level. Valid values are disabled, private, enabled.
    path str
    The path of the project.
    path_with_namespace str
    The path of the repository with namespace.
    permissions Sequence[GetProjectPermission]
    Permissions for the project.
    pre_receive_secret_detection_enabled bool
    Whether pre-receive secret detection is enabled for the project.
    prevent_merge_without_jira_issue bool
    Whether merge requests require an associated issue from Jira. Premium and Ultimate only.
    printing_merge_request_link_enabled bool
    Show link to create/view merge request when pushing from the command line.
    protect_merge_request_pipelines bool
    Whether pipelines triggered for merge requests run with project secrets and protected variables, instead of the contributor's lower-privileged context.
    public_builds bool
    If true, jobs can be viewed by non-project members. Alias for publicJobs.

    Deprecated: Use publicJobs instead, to be removed in 20.0.

    public_jobs bool
    If true, jobs can be viewed by non-project members.
    push_rules Sequence[GetProjectPushRule]
    Push rules for the project. Push rules are only available on Enterprise plans and if the authenticated user has permission to read them.
    readme_url str
    The URL of the project README.
    releases_access_level str
    Set the releases access level. Valid values are disabled, private, enabled.
    remove_source_branch_after_merge bool
    Enable Delete source branch option by default for all new merge requests.
    repository_access_level str
    Set the repository access level. Valid values are disabled, private, enabled.
    repository_storage str
    Which storage shard the repository is on. (administrator only)
    request_access_enabled bool
    Whether requesting access is enabled for the project.
    requirements_access_level str
    Set the requirements access level. Valid values are disabled, private, enabled.
    requirements_enabled bool
    Whether the requirements feature is enabled. Premium and Ultimate only.
    resolve_outdated_diff_discussions bool
    Automatically resolve merge request diffs discussions on lines changed with a push.
    resource_group_default_process_mode str
    The default resource group process mode for the project.
    restrict_user_defined_variables bool
    Allow only users with the Maintainer role to pass user-defined variables when triggering a pipeline.

    Deprecated: Use ciPipelineVariablesMinimumOverrideRole instead, to be removed in 20.0.

    runner_token_expiration_interval int
    Runner token expiration interval, in seconds.
    runners_token str
    Registration token to use during runner setup.
    security_and_compliance_access_level str
    Set the security and compliance access level. Valid values are disabled, private, enabled.
    security_and_compliance_enabled bool
    Whether the security and compliance feature is enabled.
    service_desk_address str
    The Service Desk email address for the project.
    service_desk_enabled bool
    Whether Service Desk is enabled for the project.
    shared_runners_enabled bool
    Whether shared runners are enabled for the project.
    shared_with_groups Sequence[GetProjectSharedWithGroup]
    Describes groups which have access shared to this project.
    snippets_access_level str
    Set the snippets access level. Valid values are disabled, private, enabled.
    snippets_enabled bool
    Whether snippets are enabled for the project.

    Deprecated: Use snippetsAccessLevel instead, to be removed in 20.0.

    squash_commit_template str
    Template used to create squash commit message in merge requests.
    squash_option str
    The project's squash option for merge requests (never, always, defaultOn, defaultOff).
    ssh_url_to_repo str
    The SSH clone URL of the project.
    star_count int
    The number of stars on the project.
    statistics Mapping[str, int]
    Statistics for the project.
    suggestion_commit_message str
    The commit message used to apply merge request suggestions.
    tag_lists Sequence[str]
    The list of project topics (formerly project tags).

    Deprecated: Use topics instead, to be removed in 20.0.

    topics Sequence[str]
    The list of topics for the project.
    updated_at str
    The time the project was last updated.
    visibility str
    The visibility of the project (private, internal, public).
    visibility_level str
    The visibility of the project. Alias for visibility.

    Deprecated: Use visibility instead, to be removed in 20.0.

    web_url str
    URL that can be used to find the project in a browser.
    wiki_access_level str
    Set the wiki access level. Valid values are disabled, private, enabled.
    wiki_enabled bool
    Whether wiki is enabled for the project.

    Deprecated: Use wikiAccessLevel instead, to be removed in 20.0.

    allowMergeOnSkippedPipeline Boolean
    Whether allowMergeOnSkippedPipeline is enabled for the project.
    allowPipelineTriggerApproveDeployment Boolean
    Set whether or not a pipeline triggerer is allowed to approve deployments. Premium and Ultimate only.
    analyticsAccessLevel String
    Set the analytics access level. Valid values are disabled, private, enabled.
    approvalsBeforeMerge Number
    The number of approvals needed in a merge request.

    Deprecated: Use the Merge Request Approvals API instead, to be removed in 20.0.

    archived Boolean
    Whether the project is in read-only mode (archived).
    autoCancelPendingPipelines String
    Auto-cancel pending pipelines. This isn't a boolean, but enabled/disabled.
    autoDevopsDeployStrategy String
    Auto Deploy strategy. Valid values are continuous, manual, timedIncremental.
    autoDevopsEnabled Boolean
    Enable Auto DevOps for this project.
    autoDuoCodeReviewEnabled Boolean
    Whether GitLab Duo code review is enabled for the project.
    autocloseReferencedIssues Boolean
    Set whether auto-closing referenced issues on default branch.
    avatarUrl String
    The avatar URL of the project.
    buildCoverageRegex String
    Build coverage regex for the project.
    buildGitStrategy String
    The Git strategy. Defaults to fetch.
    buildTimeout Number
    The maximum amount of time, in seconds, that a job can run.
    buildsAccessLevel String
    Set the builds access level. Valid values are disabled, private, enabled.
    canCreateMergeRequestIn Boolean
    Whether the calling user can create merge requests in this project.
    ciAllowForkPipelinesToRunInParentProject Boolean
    Whether pipelines triggered from merge requests opened from forks may run in the parent project.
    ciConfigPath String
    CI config file path for the project.
    ciDefaultGitDepth Number
    Default number of revisions for shallow cloning.
    ciDeletePipelinesInSeconds Number
    Pipelines older than the configured time are deleted.
    ciDisplayPipelineVariables Boolean
    Whether pipeline variables are displayed in the UI.
    ciForwardDeploymentEnabled Boolean
    When a new deployment job starts, skip older deployment jobs that are still pending.
    ciForwardDeploymentRollbackAllowed Boolean
    Allow job retries even if the deployment job is outdated.
    ciIdTokenSubClaimComponents List<String>
    Fields included in the sub claim of the ID Token. Accepts an array starting with projectPath. The array might also include refType and ref. Defaults to ["projectPath", "refType", "ref"]. Introduced in GitLab 17.10.
    ciJobTokenScopeEnabled Boolean
    Whether the CI/CD job token access scope is enabled (limits which projects can be accessed using the job token).
    ciOptInJwt Boolean
    Whether the project must explicitly opt in to receive ID tokens in CI jobs.
    ciPipelineVariablesMinimumOverrideRole String
    The minimum role required to set variables when running pipelines and jobs. Introduced in GitLab 17.1. Valid values are developer, maintainer, owner, noOneAllowed.
    ciPushRepositoryForJobTokenAllowed Boolean
    Whether pushes to the repository using the CI/CD job token are allowed.
    ciRestrictPipelineCancellationRole String
    The role required to cancel a pipeline or job. Premium and Ultimate only. Valid values are developer, maintainer, noOne.
    ciSeparatedCaches Boolean
    Use separate caches for protected branches.
    complianceFrameworks List<String>
    Compliance frameworks applied to the project. Premium and Ultimate only.
    containerExpirationPolicies List<Property Map>
    The image cleanup policy for this project.
    containerRegistryAccessLevel String
    Set visibility of container registry for this project. Valid values are disabled, private, enabled.
    containerRegistryEnabled Boolean
    Whether the container registry is enabled for the project.

    Deprecated: Use containerRegistryAccessLevel instead, to be removed in 20.0.

    containerRegistryImagePrefix String
    The image prefix used by the container registry for this project.
    createdAt String
    Creation time for the project.
    creatorId Number
    Creator ID for the project.
    customAttributes List<Map<String>>
    Custom attributes for the project.
    defaultBranch String
    The default branch name of the project.
    description String
    A description of the project.
    emailsDisabled Boolean
    Whether email notifications are disabled for the project.
    emailsEnabled Boolean
    Enable email notifications.
    emptyRepo Boolean
    Whether the project is empty.
    enforceAuthChecksOnUploads Boolean
    Whether authentication checks are enforced when uploading to the project.
    environmentsAccessLevel String
    Set the environments access level. Valid values are disabled, private, enabled.
    externalAuthorizationClassificationLabel String
    The classification label for the project.
    featureFlagsAccessLevel String
    Set the feature flags access level. Valid values are disabled, private, enabled.
    forkedFromProjects List<Property Map>
    Present if the project is a fork. Contains information about the upstream project.
    forkingAccessLevel String
    Set the forking access level. Valid values are disabled, private, enabled.
    forksCount Number
    The number of forks of the project.
    groupRunnersEnabled Boolean
    Whether group runners are enabled for the project.
    httpUrlToRepo String
    The HTTP clone URL of the project.
    id String
    The integer that uniquely identifies the project within the gitlab install.
    importError String
    The import error, if it exists, for the project.
    importStatus String
    The import status of the project.
    importType String
    The type of import used to create the project (for example github, bitbucket).
    importUrl String
    URL the project was imported from.
    infrastructureAccessLevel String
    Set the infrastructure access level. Valid values are disabled, private, enabled.
    issueBranchTemplate String
    Template used to suggest a branch name when creating one from an issue.
    issuesAccessLevel String
    Set the issues access level. Valid values are disabled, private, enabled.
    issuesEnabled Boolean
    Whether issues are enabled for the project.

    Deprecated: Use issuesAccessLevel instead, to be removed in 20.0.

    issuesTemplate String
    Default description template for new issues.
    jobsEnabled Boolean
    Whether jobs are enabled for the project.

    Deprecated: Use buildsAccessLevel instead, to be removed in 20.0.

    keepLatestArtifact Boolean
    Disable or enable the ability to keep the latest artifact for this project.
    lastActivityAt String
    Last activity time for the project.
    lfsEnabled Boolean
    Whether LFS (large file storage) is enabled for the project.
    licenseUrl String
    URL of the project's license file.
    licenses List<Property Map>
    Information about the project's license, if one is detected.
    links Map<String>
    Links for the project.
    markedForDeletion Boolean
    Whether the project is marked for deletion.
    markedForDeletionAt String
    Timestamp at which the project was marked for deletion. Premium and Ultimate only.

    Deprecated: Use markedForDeletionOn instead, to be removed in 20.0.

    markedForDeletionOn String
    Timestamp at which the project was marked for deletion. Premium and Ultimate only.
    maxArtifactsSize Number
    Maximum artifacts size, in MB, for the project. Overrides the instance-wide setting when set.
    mergeCommitTemplate String
    Template used to create merge commit message in merge requests.
    mergeMethod String
    Merge method for the project.
    mergePipelinesEnabled Boolean
    Enable or disable merge pipelines.
    mergeRequestTitleRegex String
    Regular expression that merge request titles must match.
    mergeRequestTitleRegexDescription String
    Human-readable description of mergeRequestTitleRegex.
    mergeRequestsAccessLevel String
    Set the merge requests access level. Valid values are disabled, private, enabled.
    mergeRequestsEnabled Boolean
    Whether merge requests are enabled for the project.

    Deprecated: Use mergeRequestsAccessLevel instead, to be removed in 20.0.

    mergeRequestsTemplate String
    Default description template for new merge requests.
    mergeTrainsEnabled Boolean
    Enable or disable merge trains.
    mergeTrainsSkipTrainAllowed Boolean
    Allows merge train merge requests to be merged without waiting for pipelines to finish.
    mirror Boolean
    Whether pull mirroring is enabled for the project.
    mirrorOverwritesDivergedBranches Boolean
    Whether mirrorOverwritesDivergedBranches is enabled for the project.
    mirrorTriggerBuilds Boolean
    Whether pull mirroring triggers builds for the project.
    mirrorUserId Number
    The mirror user ID for the project.
    modelExperimentsAccessLevel String
    The visibility of machine learning model experiments.
    modelRegistryAccessLevel String
    The visibility of machine learning model registry.
    monitorAccessLevel String
    Set the monitor access level. Valid values are disabled, private, enabled.
    mrDefaultTargetSelf Boolean
    For forks, whether merge requests target the fork itself rather than the upstream project by default.
    name String
    The name of the project.
    nameWithNamespace String
    In group / subgroup / project or user / project format.
    namespaceId Number
    The namespace (group or user) ID of the project. Alias for namespace[0].id.

    Deprecated: Use namespace[0].id instead, to be removed in 20.0.

    namespaces List<Property Map>
    Namespace of the project (parent group/s).
    onlyAllowMergeIfAllDiscussionsAreResolved Boolean
    Whether onlyAllowMergeIfAllDiscussionsAreResolved is enabled for the project.
    onlyAllowMergeIfPipelineSucceeds Boolean
    Whether onlyAllowMergeIfPipelineSucceeds is enabled for the project.
    onlyMirrorProtectedBranches Boolean
    Whether onlyMirrorProtectedBranches is enabled for the project.
    openIssuesCount Number
    The number of open issues for the project.
    operationsAccessLevel String
    Set the operations access level. Valid values are disabled, private, enabled.
    owners List<Property Map>
    The owner of the project. Only populated when the calling token has administrator scope.
    packageRegistryAccessLevel String
    The visibility of the package registry.
    packagesEnabled Boolean
    Whether packages are enabled for the project.

    Deprecated: Use packageRegistryAccessLevel instead, to be removed in 20.0.

    pagesAccessLevel String
    Set the GitLab Pages access level. Valid values are disabled, private, enabled.
    path String
    The path of the project.
    pathWithNamespace String
    The path of the repository with namespace.
    permissions List<Property Map>
    Permissions for the project.
    preReceiveSecretDetectionEnabled Boolean
    Whether pre-receive secret detection is enabled for the project.
    preventMergeWithoutJiraIssue Boolean
    Whether merge requests require an associated issue from Jira. Premium and Ultimate only.
    printingMergeRequestLinkEnabled Boolean
    Show link to create/view merge request when pushing from the command line.
    protectMergeRequestPipelines Boolean
    Whether pipelines triggered for merge requests run with project secrets and protected variables, instead of the contributor's lower-privileged context.
    publicBuilds Boolean
    If true, jobs can be viewed by non-project members. Alias for publicJobs.

    Deprecated: Use publicJobs instead, to be removed in 20.0.

    publicJobs Boolean
    If true, jobs can be viewed by non-project members.
    pushRules List<Property Map>
    Push rules for the project. Push rules are only available on Enterprise plans and if the authenticated user has permission to read them.
    readmeUrl String
    The URL of the project README.
    releasesAccessLevel String
    Set the releases access level. Valid values are disabled, private, enabled.
    removeSourceBranchAfterMerge Boolean
    Enable Delete source branch option by default for all new merge requests.
    repositoryAccessLevel String
    Set the repository access level. Valid values are disabled, private, enabled.
    repositoryStorage String
    Which storage shard the repository is on. (administrator only)
    requestAccessEnabled Boolean
    Whether requesting access is enabled for the project.
    requirementsAccessLevel String
    Set the requirements access level. Valid values are disabled, private, enabled.
    requirementsEnabled Boolean
    Whether the requirements feature is enabled. Premium and Ultimate only.
    resolveOutdatedDiffDiscussions Boolean
    Automatically resolve merge request diffs discussions on lines changed with a push.
    resourceGroupDefaultProcessMode String
    The default resource group process mode for the project.
    restrictUserDefinedVariables Boolean
    Allow only users with the Maintainer role to pass user-defined variables when triggering a pipeline.

    Deprecated: Use ciPipelineVariablesMinimumOverrideRole instead, to be removed in 20.0.

    runnerTokenExpirationInterval Number
    Runner token expiration interval, in seconds.
    runnersToken String
    Registration token to use during runner setup.
    securityAndComplianceAccessLevel String
    Set the security and compliance access level. Valid values are disabled, private, enabled.
    securityAndComplianceEnabled Boolean
    Whether the security and compliance feature is enabled.
    serviceDeskAddress String
    The Service Desk email address for the project.
    serviceDeskEnabled Boolean
    Whether Service Desk is enabled for the project.
    sharedRunnersEnabled Boolean
    Whether shared runners are enabled for the project.
    sharedWithGroups List<Property Map>
    Describes groups which have access shared to this project.
    snippetsAccessLevel String
    Set the snippets access level. Valid values are disabled, private, enabled.
    snippetsEnabled Boolean
    Whether snippets are enabled for the project.

    Deprecated: Use snippetsAccessLevel instead, to be removed in 20.0.

    squashCommitTemplate String
    Template used to create squash commit message in merge requests.
    squashOption String
    The project's squash option for merge requests (never, always, defaultOn, defaultOff).
    sshUrlToRepo String
    The SSH clone URL of the project.
    starCount Number
    The number of stars on the project.
    statistics Map<Number>
    Statistics for the project.
    suggestionCommitMessage String
    The commit message used to apply merge request suggestions.
    tagLists List<String>
    The list of project topics (formerly project tags).

    Deprecated: Use topics instead, to be removed in 20.0.

    topics List<String>
    The list of topics for the project.
    updatedAt String
    The time the project was last updated.
    visibility String
    The visibility of the project (private, internal, public).
    visibilityLevel String
    The visibility of the project. Alias for visibility.

    Deprecated: Use visibility instead, to be removed in 20.0.

    webUrl String
    URL that can be used to find the project in a browser.
    wikiAccessLevel String
    Set the wiki access level. Valid values are disabled, private, enabled.
    wikiEnabled Boolean
    Whether wiki is enabled for the project.

    Deprecated: Use wikiAccessLevel instead, to be removed in 20.0.

    Supporting Types

    GetProjectContainerExpirationPolicy

    Cadence string
    The cadence of the policy. Valid values are: 1d, 7d, 14d, 1month, 3month.
    Enabled bool
    If true, the policy is enabled.
    KeepN int
    The number of images to keep.
    NameRegexDelete string
    The regular expression to match image names to delete.
    NameRegexKeep string
    The regular expression to match image names to keep.
    NextRunAt string
    The next time the policy will run.
    OlderThan string
    The number of days to keep images.
    Cadence string
    The cadence of the policy. Valid values are: 1d, 7d, 14d, 1month, 3month.
    Enabled bool
    If true, the policy is enabled.
    KeepN int
    The number of images to keep.
    NameRegexDelete string
    The regular expression to match image names to delete.
    NameRegexKeep string
    The regular expression to match image names to keep.
    NextRunAt string
    The next time the policy will run.
    OlderThan string
    The number of days to keep images.
    cadence string
    The cadence of the policy. Valid values are: 1d, 7d, 14d, 1month, 3month.
    enabled bool
    If true, the policy is enabled.
    keep_n number
    The number of images to keep.
    name_regex_delete string
    The regular expression to match image names to delete.
    name_regex_keep string
    The regular expression to match image names to keep.
    next_run_at string
    The next time the policy will run.
    older_than string
    The number of days to keep images.
    cadence String
    The cadence of the policy. Valid values are: 1d, 7d, 14d, 1month, 3month.
    enabled Boolean
    If true, the policy is enabled.
    keepN Integer
    The number of images to keep.
    nameRegexDelete String
    The regular expression to match image names to delete.
    nameRegexKeep String
    The regular expression to match image names to keep.
    nextRunAt String
    The next time the policy will run.
    olderThan String
    The number of days to keep images.
    cadence string
    The cadence of the policy. Valid values are: 1d, 7d, 14d, 1month, 3month.
    enabled boolean
    If true, the policy is enabled.
    keepN number
    The number of images to keep.
    nameRegexDelete string
    The regular expression to match image names to delete.
    nameRegexKeep string
    The regular expression to match image names to keep.
    nextRunAt string
    The next time the policy will run.
    olderThan string
    The number of days to keep images.
    cadence str
    The cadence of the policy. Valid values are: 1d, 7d, 14d, 1month, 3month.
    enabled bool
    If true, the policy is enabled.
    keep_n int
    The number of images to keep.
    name_regex_delete str
    The regular expression to match image names to delete.
    name_regex_keep str
    The regular expression to match image names to keep.
    next_run_at str
    The next time the policy will run.
    older_than str
    The number of days to keep images.
    cadence String
    The cadence of the policy. Valid values are: 1d, 7d, 14d, 1month, 3month.
    enabled Boolean
    If true, the policy is enabled.
    keepN Number
    The number of images to keep.
    nameRegexDelete String
    The regular expression to match image names to delete.
    nameRegexKeep String
    The regular expression to match image names to keep.
    nextRunAt String
    The next time the policy will run.
    olderThan String
    The number of days to keep images.

    GetProjectForkedFromProject

    HttpUrlToRepo string
    The HTTP clone URL of the upstream project.
    Id int
    The ID of the upstream project.
    Name string
    The name of the upstream project.
    NameWithNamespace string
    In group / subgroup / project or user / project format.
    Path string
    The path of the upstream project.
    PathWithNamespace string
    In group/subgroup/project or user/project format.
    WebUrl string
    The web URL of the upstream project.
    HttpUrlToRepo string
    The HTTP clone URL of the upstream project.
    Id int
    The ID of the upstream project.
    Name string
    The name of the upstream project.
    NameWithNamespace string
    In group / subgroup / project or user / project format.
    Path string
    The path of the upstream project.
    PathWithNamespace string
    In group/subgroup/project or user/project format.
    WebUrl string
    The web URL of the upstream project.
    http_url_to_repo string
    The HTTP clone URL of the upstream project.
    id number
    The ID of the upstream project.
    name string
    The name of the upstream project.
    name_with_namespace string
    In group / subgroup / project or user / project format.
    path string
    The path of the upstream project.
    path_with_namespace string
    In group/subgroup/project or user/project format.
    web_url string
    The web URL of the upstream project.
    httpUrlToRepo String
    The HTTP clone URL of the upstream project.
    id Integer
    The ID of the upstream project.
    name String
    The name of the upstream project.
    nameWithNamespace String
    In group / subgroup / project or user / project format.
    path String
    The path of the upstream project.
    pathWithNamespace String
    In group/subgroup/project or user/project format.
    webUrl String
    The web URL of the upstream project.
    httpUrlToRepo string
    The HTTP clone URL of the upstream project.
    id number
    The ID of the upstream project.
    name string
    The name of the upstream project.
    nameWithNamespace string
    In group / subgroup / project or user / project format.
    path string
    The path of the upstream project.
    pathWithNamespace string
    In group/subgroup/project or user/project format.
    webUrl string
    The web URL of the upstream project.
    http_url_to_repo str
    The HTTP clone URL of the upstream project.
    id int
    The ID of the upstream project.
    name str
    The name of the upstream project.
    name_with_namespace str
    In group / subgroup / project or user / project format.
    path str
    The path of the upstream project.
    path_with_namespace str
    In group/subgroup/project or user/project format.
    web_url str
    The web URL of the upstream project.
    httpUrlToRepo String
    The HTTP clone URL of the upstream project.
    id Number
    The ID of the upstream project.
    name String
    The name of the upstream project.
    nameWithNamespace String
    In group / subgroup / project or user / project format.
    path String
    The path of the upstream project.
    pathWithNamespace String
    In group/subgroup/project or user/project format.
    webUrl String
    The web URL of the upstream project.

    GetProjectLicense

    HtmlUrl string
    URL to the license's human-readable description.
    Key string
    The license key (e.g. mit).
    Name string
    The license name (e.g. MIT License).
    Nickname string
    The license nickname.
    SourceUrl string
    URL to the license source text.
    HtmlUrl string
    URL to the license's human-readable description.
    Key string
    The license key (e.g. mit).
    Name string
    The license name (e.g. MIT License).
    Nickname string
    The license nickname.
    SourceUrl string
    URL to the license source text.
    html_url string
    URL to the license's human-readable description.
    key string
    The license key (e.g. mit).
    name string
    The license name (e.g. MIT License).
    nickname string
    The license nickname.
    source_url string
    URL to the license source text.
    htmlUrl String
    URL to the license's human-readable description.
    key String
    The license key (e.g. mit).
    name String
    The license name (e.g. MIT License).
    nickname String
    The license nickname.
    sourceUrl String
    URL to the license source text.
    htmlUrl string
    URL to the license's human-readable description.
    key string
    The license key (e.g. mit).
    name string
    The license name (e.g. MIT License).
    nickname string
    The license nickname.
    sourceUrl string
    URL to the license source text.
    html_url str
    URL to the license's human-readable description.
    key str
    The license key (e.g. mit).
    name str
    The license name (e.g. MIT License).
    nickname str
    The license nickname.
    source_url str
    URL to the license source text.
    htmlUrl String
    URL to the license's human-readable description.
    key String
    The license key (e.g. mit).
    name String
    The license name (e.g. MIT License).
    nickname String
    The license nickname.
    sourceUrl String
    URL to the license source text.

    GetProjectNamespace

    FullPath string
    The full path of the namespace.
    Id int
    The ID of the namespace.
    Kind string
    The kind of the namespace.
    Name string
    The name of the namespace.
    Path string
    The path of the namespace.
    FullPath string
    The full path of the namespace.
    Id int
    The ID of the namespace.
    Kind string
    The kind of the namespace.
    Name string
    The name of the namespace.
    Path string
    The path of the namespace.
    full_path string
    The full path of the namespace.
    id number
    The ID of the namespace.
    kind string
    The kind of the namespace.
    name string
    The name of the namespace.
    path string
    The path of the namespace.
    fullPath String
    The full path of the namespace.
    id Integer
    The ID of the namespace.
    kind String
    The kind of the namespace.
    name String
    The name of the namespace.
    path String
    The path of the namespace.
    fullPath string
    The full path of the namespace.
    id number
    The ID of the namespace.
    kind string
    The kind of the namespace.
    name string
    The name of the namespace.
    path string
    The path of the namespace.
    full_path str
    The full path of the namespace.
    id int
    The ID of the namespace.
    kind str
    The kind of the namespace.
    name str
    The name of the namespace.
    path str
    The path of the namespace.
    fullPath String
    The full path of the namespace.
    id Number
    The ID of the namespace.
    kind String
    The kind of the namespace.
    name String
    The name of the namespace.
    path String
    The path of the namespace.

    GetProjectOwner

    AvatarUrl string
    The avatar URL of the owner.
    Id int
    The ID of the owner.
    Name string
    The name of the owner.
    State string
    The state of the owner.
    Username string
    The username of the owner.
    WebsiteUrl string
    The website URL of the owner.
    AvatarUrl string
    The avatar URL of the owner.
    Id int
    The ID of the owner.
    Name string
    The name of the owner.
    State string
    The state of the owner.
    Username string
    The username of the owner.
    WebsiteUrl string
    The website URL of the owner.
    avatar_url string
    The avatar URL of the owner.
    id number
    The ID of the owner.
    name string
    The name of the owner.
    state string
    The state of the owner.
    username string
    The username of the owner.
    website_url string
    The website URL of the owner.
    avatarUrl String
    The avatar URL of the owner.
    id Integer
    The ID of the owner.
    name String
    The name of the owner.
    state String
    The state of the owner.
    username String
    The username of the owner.
    websiteUrl String
    The website URL of the owner.
    avatarUrl string
    The avatar URL of the owner.
    id number
    The ID of the owner.
    name string
    The name of the owner.
    state string
    The state of the owner.
    username string
    The username of the owner.
    websiteUrl string
    The website URL of the owner.
    avatar_url str
    The avatar URL of the owner.
    id int
    The ID of the owner.
    name str
    The name of the owner.
    state str
    The state of the owner.
    username str
    The username of the owner.
    website_url str
    The website URL of the owner.
    avatarUrl String
    The avatar URL of the owner.
    id Number
    The ID of the owner.
    name String
    The name of the owner.
    state String
    The state of the owner.
    username String
    The username of the owner.
    websiteUrl String
    The website URL of the owner.

    GetProjectPermission

    GroupAccess Dictionary<string, int>
    Group access level.
    ProjectAccess Dictionary<string, int>
    Project access level.
    GroupAccess map[string]int
    Group access level.
    ProjectAccess map[string]int
    Project access level.
    group_access map(number)
    Group access level.
    project_access map(number)
    Project access level.
    groupAccess Map<String,Integer>
    Group access level.
    projectAccess Map<String,Integer>
    Project access level.
    groupAccess {[key: string]: number}
    Group access level.
    projectAccess {[key: string]: number}
    Project access level.
    group_access Mapping[str, int]
    Group access level.
    project_access Mapping[str, int]
    Project access level.
    groupAccess Map<Number>
    Group access level.
    projectAccess Map<Number>
    Project access level.

    GetProjectPushRule

    AuthorEmailRegex string
    All commit author emails must match this regex, e.g. @my-company.com$.
    BranchNameRegex string
    All branch names must match this regex, e.g. (feature|hotfix)\/*.
    CommitCommitterCheck bool
    Users can only push commits to this repository that were committed with one of their own verified emails.
    CommitCommitterNameCheck bool
    Users can only push commits to this repository if the commit author name is consistent with their GitLab account name.
    CommitMessageNegativeRegex string
    No commit message is allowed to match this regex, for example ssh\:\/\/.
    CommitMessageRegex string
    All commit messages must match this regex, e.g. Fixed \d+\..*.
    DenyDeleteTag bool
    Deny deleting a tag.
    FileNameRegex string
    All committed filenames must not match this regex, e.g. (jar|exe)$.
    MaxFileSize int
    Maximum file size (MB).
    MemberCheck bool
    Restrict commits by author (email) to existing GitLab users.
    PreventSecrets bool
    GitLab will reject any files that are likely to contain secrets.
    RejectNonDcoCommits bool
    Reject commit when it's not DCO certified.
    RejectUnsignedCommits bool
    Reject commit when it's not signed through GPG.
    AuthorEmailRegex string
    All commit author emails must match this regex, e.g. @my-company.com$.
    BranchNameRegex string
    All branch names must match this regex, e.g. (feature|hotfix)\/*.
    CommitCommitterCheck bool
    Users can only push commits to this repository that were committed with one of their own verified emails.
    CommitCommitterNameCheck bool
    Users can only push commits to this repository if the commit author name is consistent with their GitLab account name.
    CommitMessageNegativeRegex string
    No commit message is allowed to match this regex, for example ssh\:\/\/.
    CommitMessageRegex string
    All commit messages must match this regex, e.g. Fixed \d+\..*.
    DenyDeleteTag bool
    Deny deleting a tag.
    FileNameRegex string
    All committed filenames must not match this regex, e.g. (jar|exe)$.
    MaxFileSize int
    Maximum file size (MB).
    MemberCheck bool
    Restrict commits by author (email) to existing GitLab users.
    PreventSecrets bool
    GitLab will reject any files that are likely to contain secrets.
    RejectNonDcoCommits bool
    Reject commit when it's not DCO certified.
    RejectUnsignedCommits bool
    Reject commit when it's not signed through GPG.
    author_email_regex string
    All commit author emails must match this regex, e.g. @my-company.com$.
    branch_name_regex string
    All branch names must match this regex, e.g. (feature|hotfix)\/*.
    commit_committer_check bool
    Users can only push commits to this repository that were committed with one of their own verified emails.
    commit_committer_name_check bool
    Users can only push commits to this repository if the commit author name is consistent with their GitLab account name.
    commit_message_negative_regex string
    No commit message is allowed to match this regex, for example ssh\:\/\/.
    commit_message_regex string
    All commit messages must match this regex, e.g. Fixed \d+\..*.
    deny_delete_tag bool
    Deny deleting a tag.
    file_name_regex string
    All committed filenames must not match this regex, e.g. (jar|exe)$.
    max_file_size number
    Maximum file size (MB).
    member_check bool
    Restrict commits by author (email) to existing GitLab users.
    prevent_secrets bool
    GitLab will reject any files that are likely to contain secrets.
    reject_non_dco_commits bool
    Reject commit when it's not DCO certified.
    reject_unsigned_commits bool
    Reject commit when it's not signed through GPG.
    authorEmailRegex String
    All commit author emails must match this regex, e.g. @my-company.com$.
    branchNameRegex String
    All branch names must match this regex, e.g. (feature|hotfix)\/*.
    commitCommitterCheck Boolean
    Users can only push commits to this repository that were committed with one of their own verified emails.
    commitCommitterNameCheck Boolean
    Users can only push commits to this repository if the commit author name is consistent with their GitLab account name.
    commitMessageNegativeRegex String
    No commit message is allowed to match this regex, for example ssh\:\/\/.
    commitMessageRegex String
    All commit messages must match this regex, e.g. Fixed \d+\..*.
    denyDeleteTag Boolean
    Deny deleting a tag.
    fileNameRegex String
    All committed filenames must not match this regex, e.g. (jar|exe)$.
    maxFileSize Integer
    Maximum file size (MB).
    memberCheck Boolean
    Restrict commits by author (email) to existing GitLab users.
    preventSecrets Boolean
    GitLab will reject any files that are likely to contain secrets.
    rejectNonDcoCommits Boolean
    Reject commit when it's not DCO certified.
    rejectUnsignedCommits Boolean
    Reject commit when it's not signed through GPG.
    authorEmailRegex string
    All commit author emails must match this regex, e.g. @my-company.com$.
    branchNameRegex string
    All branch names must match this regex, e.g. (feature|hotfix)\/*.
    commitCommitterCheck boolean
    Users can only push commits to this repository that were committed with one of their own verified emails.
    commitCommitterNameCheck boolean
    Users can only push commits to this repository if the commit author name is consistent with their GitLab account name.
    commitMessageNegativeRegex string
    No commit message is allowed to match this regex, for example ssh\:\/\/.
    commitMessageRegex string
    All commit messages must match this regex, e.g. Fixed \d+\..*.
    denyDeleteTag boolean
    Deny deleting a tag.
    fileNameRegex string
    All committed filenames must not match this regex, e.g. (jar|exe)$.
    maxFileSize number
    Maximum file size (MB).
    memberCheck boolean
    Restrict commits by author (email) to existing GitLab users.
    preventSecrets boolean
    GitLab will reject any files that are likely to contain secrets.
    rejectNonDcoCommits boolean
    Reject commit when it's not DCO certified.
    rejectUnsignedCommits boolean
    Reject commit when it's not signed through GPG.
    author_email_regex str
    All commit author emails must match this regex, e.g. @my-company.com$.
    branch_name_regex str
    All branch names must match this regex, e.g. (feature|hotfix)\/*.
    commit_committer_check bool
    Users can only push commits to this repository that were committed with one of their own verified emails.
    commit_committer_name_check bool
    Users can only push commits to this repository if the commit author name is consistent with their GitLab account name.
    commit_message_negative_regex str
    No commit message is allowed to match this regex, for example ssh\:\/\/.
    commit_message_regex str
    All commit messages must match this regex, e.g. Fixed \d+\..*.
    deny_delete_tag bool
    Deny deleting a tag.
    file_name_regex str
    All committed filenames must not match this regex, e.g. (jar|exe)$.
    max_file_size int
    Maximum file size (MB).
    member_check bool
    Restrict commits by author (email) to existing GitLab users.
    prevent_secrets bool
    GitLab will reject any files that are likely to contain secrets.
    reject_non_dco_commits bool
    Reject commit when it's not DCO certified.
    reject_unsigned_commits bool
    Reject commit when it's not signed through GPG.
    authorEmailRegex String
    All commit author emails must match this regex, e.g. @my-company.com$.
    branchNameRegex String
    All branch names must match this regex, e.g. (feature|hotfix)\/*.
    commitCommitterCheck Boolean
    Users can only push commits to this repository that were committed with one of their own verified emails.
    commitCommitterNameCheck Boolean
    Users can only push commits to this repository if the commit author name is consistent with their GitLab account name.
    commitMessageNegativeRegex String
    No commit message is allowed to match this regex, for example ssh\:\/\/.
    commitMessageRegex String
    All commit messages must match this regex, e.g. Fixed \d+\..*.
    denyDeleteTag Boolean
    Deny deleting a tag.
    fileNameRegex String
    All committed filenames must not match this regex, e.g. (jar|exe)$.
    maxFileSize Number
    Maximum file size (MB).
    memberCheck Boolean
    Restrict commits by author (email) to existing GitLab users.
    preventSecrets Boolean
    GitLab will reject any files that are likely to contain secrets.
    rejectNonDcoCommits Boolean
    Reject commit when it's not DCO certified.
    rejectUnsignedCommits Boolean
    Reject commit when it's not signed through GPG.

    GetProjectSharedWithGroup

    GroupAccessLevel int
    The access level (integer) of the shared group. Matches the upstream GitLab API. See groupAccessLevelName for the human-readable string form.
    GroupAccessLevelName string
    The human-readable access level name of the shared group (e.g. developer, maintainer). Computed from groupAccessLevel.

    Deprecated: Use groupAccessLevel instead, to be removed in 20.0.

    GroupFullPath string
    The full path of the group shared with.
    GroupId int
    The ID of the group shared with.
    GroupName string
    The name of the group shared with.
    GroupAccessLevel int
    The access level (integer) of the shared group. Matches the upstream GitLab API. See groupAccessLevelName for the human-readable string form.
    GroupAccessLevelName string
    The human-readable access level name of the shared group (e.g. developer, maintainer). Computed from groupAccessLevel.

    Deprecated: Use groupAccessLevel instead, to be removed in 20.0.

    GroupFullPath string
    The full path of the group shared with.
    GroupId int
    The ID of the group shared with.
    GroupName string
    The name of the group shared with.
    group_access_level number
    The access level (integer) of the shared group. Matches the upstream GitLab API. See groupAccessLevelName for the human-readable string form.
    group_access_level_name string
    The human-readable access level name of the shared group (e.g. developer, maintainer). Computed from groupAccessLevel.

    Deprecated: Use groupAccessLevel instead, to be removed in 20.0.

    group_full_path string
    The full path of the group shared with.
    group_id number
    The ID of the group shared with.
    group_name string
    The name of the group shared with.
    groupAccessLevel Integer
    The access level (integer) of the shared group. Matches the upstream GitLab API. See groupAccessLevelName for the human-readable string form.
    groupAccessLevelName String
    The human-readable access level name of the shared group (e.g. developer, maintainer). Computed from groupAccessLevel.

    Deprecated: Use groupAccessLevel instead, to be removed in 20.0.

    groupFullPath String
    The full path of the group shared with.
    groupId Integer
    The ID of the group shared with.
    groupName String
    The name of the group shared with.
    groupAccessLevel number
    The access level (integer) of the shared group. Matches the upstream GitLab API. See groupAccessLevelName for the human-readable string form.
    groupAccessLevelName string
    The human-readable access level name of the shared group (e.g. developer, maintainer). Computed from groupAccessLevel.

    Deprecated: Use groupAccessLevel instead, to be removed in 20.0.

    groupFullPath string
    The full path of the group shared with.
    groupId number
    The ID of the group shared with.
    groupName string
    The name of the group shared with.
    group_access_level int
    The access level (integer) of the shared group. Matches the upstream GitLab API. See groupAccessLevelName for the human-readable string form.
    group_access_level_name str
    The human-readable access level name of the shared group (e.g. developer, maintainer). Computed from groupAccessLevel.

    Deprecated: Use groupAccessLevel instead, to be removed in 20.0.

    group_full_path str
    The full path of the group shared with.
    group_id int
    The ID of the group shared with.
    group_name str
    The name of the group shared with.
    groupAccessLevel Number
    The access level (integer) of the shared group. Matches the upstream GitLab API. See groupAccessLevelName for the human-readable string form.
    groupAccessLevelName String
    The human-readable access level name of the shared group (e.g. developer, maintainer). Computed from groupAccessLevel.

    Deprecated: Use groupAccessLevel instead, to be removed in 20.0.

    groupFullPath String
    The full path of the group shared with.
    groupId Number
    The ID of the group shared with.
    groupName String
    The name of the group shared with.

    Package Details

    Repository
    GitLab pulumi/pulumi-gitlab
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the gitlab Terraform Provider.
    gitlab logo
    Viewing docs for GitLab v10.0.0
    published on Friday, Jun 26, 2026 by Pulumi

      Try Pulumi Cloud free.
      Your team will thank you.

      Start free trial