Dataform v1beta1 API - Class Repository.Types.GitRemoteSettings (1.0.0-beta12)

public sealed class Repository.Types.GitRemoteSettings : IMessage<Repository.Types.GitRemoteSettings>, IEquatable<Repository.Types.GitRemoteSettings>, IDeepCloneable<Repository.Types.GitRemoteSettings>, IBufferMessage, IMessage

Reference documentation and code samples for the Dataform v1beta1 API class Repository.Types.GitRemoteSettings.

Controls Git remote configuration for a repository.

Inheritance

object > Repository.Types.GitRemoteSettings

Namespace

Google.Cloud.Dataform.V1Beta1

Assembly

Google.Cloud.Dataform.V1Beta1.dll

Constructors

GitRemoteSettings()

public GitRemoteSettings()

GitRemoteSettings(GitRemoteSettings)

public GitRemoteSettings(Repository.Types.GitRemoteSettings other)
Parameter
Name Description
other RepositoryTypesGitRemoteSettings

Properties

AuthenticationTokenSecretVersion

public string AuthenticationTokenSecretVersion { get; set; }

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

Property Value
Type Description
string

AuthenticationTokenSecretVersionAsSecretVersionName

public SecretVersionName AuthenticationTokenSecretVersionAsSecretVersionName { get; set; }

SecretVersionName-typed view over the AuthenticationTokenSecretVersion resource name property.

Property Value
Type Description
SecretVersionName

DefaultBranch

public string DefaultBranch { get; set; }

Optional. The Git remote's default branch name. If not set, main will be used.

Property Value
Type Description
string

EffectiveDefaultBranch

public string EffectiveDefaultBranch { get; set; }

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.

Property Value
Type Description
string
public string GitRepositoryLink { get; set; }

Optional. Resource name for the GitRepositoryLink used for machine credentials. Must be in the format projects/*/locations/*/connections/*/gitRepositoryLinks/*

Property Value
Type Description
string

GitRepositoryLinkAsGitRepositoryLinkName

public GitRepositoryLinkName GitRepositoryLinkAsGitRepositoryLinkName { get; set; }

GitRepositoryLinkName-typed view over the GitRepositoryLink resource name property.

Property Value
Type Description
GitRepositoryLinkName
public bool HasGitRepositoryLink { get; }

Gets whether the "git_repository_link" field is set

Property Value
Type Description
bool

SshAuthenticationConfig

public Repository.Types.GitRemoteSettings.Types.SshAuthenticationConfig SshAuthenticationConfig { get; set; }

Optional. Authentication fields for remote uris using SSH protocol.

Property Value
Type Description
RepositoryTypesGitRemoteSettingsTypesSshAuthenticationConfig

TokenStatus

[Obsolete]
public Repository.Types.GitRemoteSettings.Types.TokenStatus TokenStatus { get; set; }

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

Property Value
Type Description
RepositoryTypesGitRemoteSettingsTypesTokenStatus

Url

public string Url { get; set; }

Required. The Git remote's URL.

Property Value
Type Description
string