Config

Config for all repositories in a given project and location.

JSON representation
{
  "name": string,
  "defaultKmsKeyName": string,
  "creatorRoleConfig": {
    object (CreatorRoleConfig)
  },
  "enablePrivateWorkspace": boolean,
  "enableProjectChecksForScheduling": boolean,
  "internalMetadata": string
}
Fields
name

string

Identifier. The config name.

defaultKmsKeyName

string

Optional. The default KMS key that is used if no encryption key is provided when a repository is created.

creatorRoleConfig

object (CreatorRoleConfig)

Optional. Configures the IAM role grant for the resource creator at the time of creation.

enablePrivateWorkspace

boolean

Optional. Controls the enablement of the private workspace for the repositorires.

When set to True, repositories will use the private workspace model.

enableProjectChecksForScheduling

boolean

Optional. Controls the enablement of the project level checks for creating workflow configs and release configs.

internalMetadata

string

Output only. All the metadata information that is used internally to serve the resource. For example: timestamps, flags, status fields, etc. The format of this field is a JSON string.

CreatorRoleConfig

Configures the IAM role grant for the resource creator at the time of creation. This message allows customization of the default behavior of granting a role to the creator, which is enabled by the flag setAuthenticatedUserAdmin on the resource.

JSON representation
{

  // Union field grant_configuration can be only one of the following:
  "disableGrant": boolean,
  "creatorRole": string
  // End of list of possible types for union field grant_configuration.
}
Fields
Union field grant_configuration. The configuration for the creator role grant. grant_configuration can be only one of the following:
disableGrant

boolean

Optional. If set to true, disables any automatic IAM role grant to the creator upon resource creation. This setting supersedes the setAuthenticatedUserAdmin flag on the resource.

creatorRole

string

Optional. Specifies the custom IAM role (e.g., "roles/dataform.editor") to grant to the resource's creator on the resource at the time of creation. This custom role is only granted if the setAuthenticatedUserAdmin field on the created resource (e.g., Repository, Workspace) is true. When provided, this role replaces the default role of "roles/dataform.admin".