GKE Hub v1 API - Class GitConfig (2.4.0)

public sealed class GitConfig : IMessage<GitConfig>, IEquatable<GitConfig>, IDeepCloneable<GitConfig>, IBufferMessage, IMessage

Reference documentation and code samples for the GKE Hub v1 API class GitConfig.

Git repo configuration for a single cluster.

Inheritance

object > GitConfig

Namespace

Google.Cloud.GkeHub.V1.ConfigManagement

Assembly

Google.Cloud.GkeHub.V1.dll

Constructors

GitConfig()

public GitConfig()

GitConfig(GitConfig)

public GitConfig(GitConfig other)
Parameter
NameDescription
otherGitConfig

Properties

GcpServiceAccountEmail

public string GcpServiceAccountEmail { get; set; }

The GCP Service Account Email used for auth when secret_type is gcpServiceAccount.

Property Value
TypeDescription
string

HttpsProxy

public string HttpsProxy { get; set; }

URL for the HTTPS proxy to be used when communicating with the Git repo.

Property Value
TypeDescription
string

PolicyDir

public string PolicyDir { get; set; }

The path within the Git repository that represents the top level of the repo to sync. Default: the root directory of the repository.

Property Value
TypeDescription
string

SecretType

public string SecretType { get; set; }

Type of secret configured for access to the Git repo.

Property Value
TypeDescription
string

SyncBranch

public string SyncBranch { get; set; }

The branch of the repository to sync from. Default: master.

Property Value
TypeDescription
string

SyncRepo

public string SyncRepo { get; set; }

The URL of the Git repository to use as the source of truth.

Property Value
TypeDescription
string

SyncRev

public string SyncRev { get; set; }

Git revision (tag or hash) to check out. Default HEAD.

Property Value
TypeDescription
string

SyncWaitSecs

public long SyncWaitSecs { get; set; }

Period in seconds between consecutive syncs. Default: 15.

Property Value
TypeDescription
long