Class GitRemoteSettings (0.11.3)

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

Controls Git remote configuration for a repository.

.. _oneof: https://proto-plus-python.readthedocs.io/en/stable/fields.html#oneofs-mutually-exclusive-fields

Attributes

Name Description
url str
Required. The Git remote's URL.
default_branch str
Optional. The Git remote's default branch name. If not set, main will be used.
effective_default_branch str
Output only. The Git remote's effective default branch name. This is the default branch name of the Git remote if it is set, otherwise it is main.
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.
git_repository_link str
Optional. Resource name for the GitRepositoryLink used for machine credentials. Must be in the format projects/*/locations/*/connections/*/gitRepositoryLinks/* This field is a member of oneof_ _git_repository_link.
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)

The status of the authentication token.