class Google::Apis::GkehubV1alpha::ConfigManagementGitConfig
Git repo configuration for a single cluster.
Attributes
The GCP Service Account Email used for auth when secret_type
is gcpServiceAccount. Corresponds to the JSON property `gcpServiceAccountEmail` @return [String]
URL for the HTTPS proxy to be used when communicating with the Git repo. Corresponds to the JSON property `httpsProxy` @return [String]
The path within the Git repository that represents the top level of the repo to sync. Default: the root directory of the repository. Corresponds to the JSON property `policyDir` @return [String]
Type of secret configured for access to the Git repo. Corresponds to the JSON property `secretType` @return [String]
The branch of the repository to sync from. Default: master. Corresponds to the JSON property `syncBranch` @return [String]
The URL of the Git repository to use as the source of truth. Corresponds to the JSON property `syncRepo` @return [String]
Git revision (tag or hash) to check out. Default HEAD. Corresponds to the JSON property `syncRev` @return [String]
Period in seconds between consecutive syncs. Default: 15. Corresponds to the JSON property `syncWaitSecs` @return [Fixnum]
Public Class Methods
# File lib/google/apis/gkehub_v1alpha/classes.rb, line 590 def initialize(**args) update!(**args) end
Public Instance Methods
Update properties of this object
# File lib/google/apis/gkehub_v1alpha/classes.rb, line 595 def update!(**args) @gcp_service_account_email = args[:gcp_service_account_email] if args.key?(:gcp_service_account_email) @https_proxy = args[:https_proxy] if args.key?(:https_proxy) @policy_dir = args[:policy_dir] if args.key?(:policy_dir) @secret_type = args[:secret_type] if args.key?(:secret_type) @sync_branch = args[:sync_branch] if args.key?(:sync_branch) @sync_repo = args[:sync_repo] if args.key?(:sync_repo) @sync_rev = args[:sync_rev] if args.key?(:sync_rev) @sync_wait_secs = args[:sync_wait_secs] if args.key?(:sync_wait_secs) end