Class: Google::Apis::GkehubV1alpha::ConfigManagementConfigSync
- Inherits:
-
Object
- Object
- Google::Apis::GkehubV1alpha::ConfigManagementConfigSync
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/gkehub_v1alpha/classes.rb,
lib/google/apis/gkehub_v1alpha/representations.rb,
lib/google/apis/gkehub_v1alpha/representations.rb
Overview
Configuration for Config Sync
Instance Attribute Summary collapse
-
#git ⇒ Google::Apis::GkehubV1alpha::ConfigManagementGitConfig
Git repo configuration for a single cluster.
-
#source_format ⇒ String
Specifies whether the Config Sync Repo is in “hierarchical” or “unstructured” mode.
Instance Method Summary collapse
-
#initialize(**args) ⇒ ConfigManagementConfigSync
constructor
A new instance of ConfigManagementConfigSync.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ ConfigManagementConfigSync
Returns a new instance of ConfigManagementConfigSync.
335 336 337 |
# File 'lib/google/apis/gkehub_v1alpha/classes.rb', line 335 def initialize(**args) update!(**args) end |
Instance Attribute Details
#git ⇒ Google::Apis::GkehubV1alpha::ConfigManagementGitConfig
Git repo configuration for a single cluster.
Corresponds to the JSON property git
327 328 329 |
# File 'lib/google/apis/gkehub_v1alpha/classes.rb', line 327 def git @git end |
#source_format ⇒ String
Specifies whether the Config Sync Repo is in “hierarchical” or “unstructured”
mode.
Corresponds to the JSON property sourceFormat
333 334 335 |
# File 'lib/google/apis/gkehub_v1alpha/classes.rb', line 333 def source_format @source_format end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
340 341 342 343 |
# File 'lib/google/apis/gkehub_v1alpha/classes.rb', line 340 def update!(**args) @git = args[:git] if args.key?(:git) @source_format = args[:source_format] if args.key?(:source_format) end |