Class GitRemoteSettings (0.5.9)

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
Optional. 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/*.
ssh_authentication_config google.cloud.dataform_v1beta1.types.Repository.GitRemoteSettings.SshAuthenticationConfig
Optional. Authentication fields for remote uris using SSH protocol.
token_status google.cloud.dataform_v1beta1.types.Repository.GitRemoteSettings.TokenStatus
Output only. Deprecated: The field does not contain any token status information. Instead use https://cloud.google.com/dataform/reference/rest/v1beta1/projects.locations.repositories/computeAccessTokenStatus

Classes

SshAuthenticationConfig

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

Configures fields for performing SSH authentication.

TokenStatus

TokenStatus(value)

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.