Class: Google::Apis::ContainerV1::DesiredEnterpriseConfig

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

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_tierString

desired_tier specifies the desired tier of the cluster. Corresponds to the JSON property desiredTier

Returns:

  • (String)


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