Class GitRemoteSettings (0.4.1)

GitRemoteSettings(mapping=None, *, ignore_unknown_fields=False, **kwargs)

Controls Git remote configuration for a repository.

Attributes

NameDescription
url str
Required. The Git remote's URL.
default_branch str
Required. The Git remote's default branch name.
authentication_token_secret_version str
Required. The name of the Secret Manager secret version to use as an authentication token for Git operations. Must be in the format projects/*/secrets/*/versions/*.
token_status google.cloud.dataform_v1beta1.types.Repository.GitRemoteSettings.TokenStatus
Output only. Indicates the status of the Git access token.

Classes

TokenStatus

TokenStatus(value)

Indicates the status of a Git authentication token.

Values: TOKEN_STATUS_UNSPECIFIED (0): Default value. This value is unused. NOT_FOUND (1): The token could not be found in Secret Manager (or the Dataform Service Account did not have permission to access it). INVALID (2): The token could not be used to authenticate against the Git remote. VALID (3): The token was used successfully to authenticate against the Git remote.