GKE Hub v1 API - Class GitConfig (2.1.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
Int64