public sealed class Repository.Types.GitRemoteSettings : IMessage<Repository.Types.GitRemoteSettings>, IEquatable<Repository.Types.GitRemoteSettings>, IDeepCloneable<Repository.Types.GitRemoteSettings>, IBufferMessage, IMessageReference documentation and code samples for the Dataform v1beta1 API class Repository.Types.GitRemoteSettings.
Controls Git remote configuration for a repository.
Implements
IMessageRepositoryTypesGitRemoteSettings, IEquatableRepositoryTypesGitRemoteSettings, IDeepCloneableRepositoryTypesGitRemoteSettings, IBufferMessage, IMessageNamespace
Google.Cloud.Dataform.V1Beta1Assembly
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 |
|
GitRepositoryLink
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 |
|
HasGitRepositoryLink
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 |
|