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.



2960
2961
2962
# File 'lib/google/apis/container_v1/classes.rb', line 2960

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)


2953
2954
2955
# File 'lib/google/apis/container_v1/classes.rb', line 2953

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)


2958
2959
2960
# File 'lib/google/apis/container_v1/classes.rb', line 2958

def desired_tier
  @desired_tier
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2965
2966
2967
2968
# File 'lib/google/apis/container_v1/classes.rb', line 2965

def update!(**args)
  @cluster_tier = args[:cluster_tier] if args.key?(:cluster_tier)
  @desired_tier = args[:desired_tier] if args.key?(:desired_tier)
end