Class: Google::Apis::ContainerV1::DesiredEnterpriseConfig
- Inherits:
-
Object
- Object
- Google::Apis::ContainerV1::DesiredEnterpriseConfig
- Includes:
- Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
- Defined in:
- lib/google/apis/container_v1/classes.rb,
lib/google/apis/container_v1/representations.rb,
lib/google/apis/container_v1/representations.rb
Overview
DesiredEnterpriseConfig is a wrapper used for updating enterprise_config.
Instance Attribute Summary collapse
-
#desired_tier ⇒ String
desired_tier specifies the desired tier of the cluster.
Instance Method Summary collapse
-
#initialize(**args) ⇒ DesiredEnterpriseConfig
constructor
A new instance of DesiredEnterpriseConfig.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ DesiredEnterpriseConfig
Returns a new instance of DesiredEnterpriseConfig.
2518 2519 2520 |
# File 'lib/google/apis/container_v1/classes.rb', line 2518 def initialize(**args) update!(**args) end |
Instance Attribute Details
#desired_tier ⇒ String
desired_tier specifies the desired tier of the cluster.
Corresponds to the JSON property desiredTier
2516 2517 2518 |
# File 'lib/google/apis/container_v1/classes.rb', line 2516 def desired_tier @desired_tier end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2523 2524 2525 |
# File 'lib/google/apis/container_v1/classes.rb', line 2523 def update!(**args) @desired_tier = args[:desired_tier] if args.key?(:desired_tier) end |