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.
-
#resource_requirements ⇒ Hash<String,Google::Apis::GkehubV1alpha::ConfigManagementContainerResourceRequirements>
Specifies CPU and memory limits for containers, keyed by container name Corresponds to the JSON property
resourceRequirements. -
#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.
341 342 343 |
# File 'lib/google/apis/gkehub_v1alpha/classes.rb', line 341 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
328 329 330 |
# File 'lib/google/apis/gkehub_v1alpha/classes.rb', line 328 def git @git end |
#resource_requirements ⇒ Hash<String,Google::Apis::GkehubV1alpha::ConfigManagementContainerResourceRequirements>
Specifies CPU and memory limits for containers, keyed by container name
Corresponds to the JSON property resourceRequirements
333 334 335 |
# File 'lib/google/apis/gkehub_v1alpha/classes.rb', line 333 def resource_requirements @resource_requirements end |
#source_format ⇒ String
Specifies whether the Config Sync Repo is in “hierarchical” or “unstructured”
mode.
Corresponds to the JSON property sourceFormat
339 340 341 |
# File 'lib/google/apis/gkehub_v1alpha/classes.rb', line 339 def source_format @source_format end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
346 347 348 349 350 |
# File 'lib/google/apis/gkehub_v1alpha/classes.rb', line 346 def update!(**args) @git = args[:git] if args.key?(:git) @resource_requirements = args[:resource_requirements] if args.key?(:resource_requirements) @source_format = args[:source_format] if args.key?(:source_format) end |