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) — Required. The Git remote's default branch name.
#default_branch=
def default_branch=(value) -> ::String
Parameter
- value (::String) — Required. The Git remote's default branch name.
Returns
- (::String) — Required. The Git remote's default branch name.
#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.