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. Deprecated: GKE Enterprise features are now available without an Enterprise tier.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ EnterpriseConfig

Returns a new instance of EnterpriseConfig.



3100
3101
3102
# File 'lib/google/apis/container_v1/classes.rb', line 3100

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)


3093
3094
3095
# File 'lib/google/apis/container_v1/classes.rb', line 3093

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)


3098
3099
3100
# File 'lib/google/apis/container_v1/classes.rb', line 3098

def desired_tier
  @desired_tier
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



3105
3106
3107
3108
# File 'lib/google/apis/container_v1/classes.rb', line 3105

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