Interface Repository.GitRemoteSettingsOrBuilder (0.23.0)

public static interface Repository.GitRemoteSettingsOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getAuthenticationTokenSecretVersion()

public abstract String getAuthenticationTokenSecretVersion()

Required. 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/*.

string authentication_token_secret_version = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
String

The authenticationTokenSecretVersion.

getAuthenticationTokenSecretVersionBytes()

public abstract ByteString getAuthenticationTokenSecretVersionBytes()

Required. 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/*.

string authentication_token_secret_version = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
ByteString

The bytes for authenticationTokenSecretVersion.

getDefaultBranch()

public abstract String getDefaultBranch()

Required. The Git remote's default branch name.

string default_branch = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
String

The defaultBranch.

getDefaultBranchBytes()

public abstract ByteString getDefaultBranchBytes()

Required. The Git remote's default branch name.

string default_branch = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ByteString

The bytes for defaultBranch.

getTokenStatus()

public abstract Repository.GitRemoteSettings.TokenStatus getTokenStatus()

Output only. Indicates the status of the Git access token.

.google.cloud.dataform.v1alpha2.Repository.GitRemoteSettings.TokenStatus token_status = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Repository.GitRemoteSettings.TokenStatus

The tokenStatus.

getTokenStatusValue()

public abstract int getTokenStatusValue()

Output only. Indicates the status of the Git access token.

.google.cloud.dataform.v1alpha2.Repository.GitRemoteSettings.TokenStatus token_status = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
int

The enum numeric value on the wire for tokenStatus.

getUrl()

public abstract String getUrl()

Required. The Git remote's URL.

string url = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
String

The url.

getUrlBytes()

public abstract ByteString getUrlBytes()

Required. The Git remote's URL.

string url = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ByteString

The bytes for url.