Class: Google::Apis::ContainerV1::EnterpriseConfig
- Inherits:
-
Object
- Object
- Google::Apis::ContainerV1::EnterpriseConfig
- 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
EnterpriseConfig is the cluster enterprise configuration.
Instance Attribute Summary collapse
-
#cluster_tier ⇒ String
Output only.
-
#desired_tier ⇒ String
desired_tier specifies the desired tier of the cluster.
Instance Method Summary collapse
-
#initialize(**args) ⇒ EnterpriseConfig
constructor
A new instance of EnterpriseConfig.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ EnterpriseConfig
Returns a new instance of EnterpriseConfig.
2578 2579 2580 |
# File 'lib/google/apis/container_v1/classes.rb', line 2578 def initialize(**args) update!(**args) end |
Instance Attribute Details
#cluster_tier ⇒ String
Output only. cluster_tier indicates the effective tier of the cluster.
Corresponds to the JSON property clusterTier
2571 2572 2573 |
# File 'lib/google/apis/container_v1/classes.rb', line 2571 def cluster_tier @cluster_tier end |
#desired_tier ⇒ String
desired_tier specifies the desired tier of the cluster.
Corresponds to the JSON property desiredTier
2576 2577 2578 |
# File 'lib/google/apis/container_v1/classes.rb', line 2576 def desired_tier @desired_tier end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2583 2584 2585 2586 |
# File 'lib/google/apis/container_v1/classes.rb', line 2583 def update!(**args) @cluster_tier = args[:cluster_tier] if args.key?(:cluster_tier) @desired_tier = args[:desired_tier] if args.key?(:desired_tier) end |