# Dataform V1beta1 API - Class Google::Cloud::Dataform::V1beta1::Repository::GitRemoteSettings (v0.15.0)

0.15.0 (latest) 0.14.1 0.13.0 0.12.0 0.11.1 0.10.0 0.9.0 0.8.0 0.7.1 0.6.2 0.5.0 0.4.0 0.3.0 0.2.0 0.1.0 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](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-dataform-v1beta1/latest/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](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-dataform-v1beta1/latest/Google-Cloud-Dataform-V1beta1-Repository-GitRemoteSettings-SshAuthenticationConfig)) --- Optional. Authentication fields for remote uris using SSH protocol.
**Returns**

- ([::Google::Cloud::Dataform::V1beta1::Repository::GitRemoteSettings::SshAuthenticationConfig](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-dataform-v1beta1/latest/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](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-dataform-v1beta1/latest/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.