Class: Google::Apis::ContainerV1::EnterpriseConfig

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

EnterpriseConfig is the cluster enterprise configuration.

Instance Attribute Summary collapse

Instance Method Summary collapse

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_tierString

Output only. cluster_tier indicates the effective tier of the cluster. Corresponds to the JSON property clusterTier

Returns:

  • (String)


2571
2572
2573
# File 'lib/google/apis/container_v1/classes.rb', line 2571

def cluster_tier
  @cluster_tier
end

#desired_tierString

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

Returns:

  • (String)


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