Class: Google::Apis::ContainerV1beta1::TierConfig

Inherits:
Object
  • Object
show all
Includes:
Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
Defined in:
generated/google/apis/container_v1beta1/classes.rb,
generated/google/apis/container_v1beta1/representations.rb,
generated/google/apis/container_v1beta1/representations.rb

Overview

TierConfig is the configuration for a tier offering. For example the GKE standard or advanced offerings which contain different levels of functionality and possibly cost.

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from Google::Apis::Core::JsonObjectSupport

#to_json

Methods included from Google::Apis::Core::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ TierConfig

Returns a new instance of TierConfig



3993
3994
3995
# File 'generated/google/apis/container_v1beta1/classes.rb', line 3993

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#parentString

The tier from which the tier being configured inherits. The configured tier will inherit all the features from its parent tier. Corresponds to the JSON property parent

Returns:

  • (String)


3986
3987
3988
# File 'generated/google/apis/container_v1beta1/classes.rb', line 3986

def parent
  @parent
end

#tierString

The tier that is being configured with this value. Corresponds to the JSON property tier

Returns:

  • (String)


3991
3992
3993
# File 'generated/google/apis/container_v1beta1/classes.rb', line 3991

def tier
  @tier
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



3998
3999
4000
4001
# File 'generated/google/apis/container_v1beta1/classes.rb', line 3998

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