Reference documentation and code samples for the Dataform V1beta1 API class Google::Cloud::Dataform::V1beta1::Repository::GitRemoteSettings.
Controls Git remote configuration for a repository.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#authentication_token_secret_version
def authentication_token_secret_version() -> ::String
Returns
-
(::String) — 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/*.
#authentication_token_secret_version=
def authentication_token_secret_version=(value) -> ::String
Parameter
-
value (::String) — 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/*.
Returns
-
(::String) — 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/*.
#default_branch
def default_branch() -> ::String
Returns
-
(::String) — Optional. The Git remote's default branch name.
If not set,
mainwill be used.
#default_branch=
def default_branch=(value) -> ::String
Parameter
-
value (::String) — Optional. The Git remote's default branch name.
If not set,
mainwill be used.
Returns
-
(::String) — Optional. The Git remote's default branch name.
If not set,
mainwill be used.
#effective_default_branch
def effective_default_branch() -> ::String
Returns
-
(::String) — 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.
#git_repository_link
def git_repository_link() -> ::String
Returns
-
(::String) — Optional. Resource name for the
GitRepositoryLinkused for machine credentials. Must be in the formatprojects/*/locations/*/connections/*/gitRepositoryLinks/*
#git_repository_link=
def git_repository_link=(value) -> ::String
Parameter
-
value (::String) — Optional. Resource name for the
GitRepositoryLinkused for machine credentials. Must be in the formatprojects/*/locations/*/connections/*/gitRepositoryLinks/*
Returns
-
(::String) — Optional. Resource name for the
GitRepositoryLinkused for machine credentials. Must be in the formatprojects/*/locations/*/connections/*/gitRepositoryLinks/*
#ssh_authentication_config
def ssh_authentication_config() -> ::Google::Cloud::Dataform::V1beta1::Repository::GitRemoteSettings::SshAuthenticationConfig
Returns
- (::Google::Cloud::Dataform::V1beta1::Repository::GitRemoteSettings::SshAuthenticationConfig) — Optional. Authentication fields for remote uris using SSH protocol.
#ssh_authentication_config=
def ssh_authentication_config=(value) -> ::Google::Cloud::Dataform::V1beta1::Repository::GitRemoteSettings::SshAuthenticationConfig
Parameter
- value (::Google::Cloud::Dataform::V1beta1::Repository::GitRemoteSettings::SshAuthenticationConfig) — Optional. Authentication fields for remote uris using SSH protocol.
Returns
- (::Google::Cloud::Dataform::V1beta1::Repository::GitRemoteSettings::SshAuthenticationConfig) — Optional. Authentication fields for remote uris using SSH protocol.
#token_status
def token_status() -> ::Google::Cloud::Dataform::V1beta1::Repository::GitRemoteSettings::TokenStatus
Returns
- (::Google::Cloud::Dataform::V1beta1::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
#url
def url() -> ::String
Returns
- (::String) — Required. The Git remote's URL.
#url=
def url=(value) -> ::String
Parameter
- value (::String) — Required. The Git remote's URL.
Returns
- (::String) — Required. The Git remote's URL.