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



4016
4017
4018
# File 'generated/google/apis/container_v1beta1/classes.rb', line 4016

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)


4009
4010
4011
# File 'generated/google/apis/container_v1beta1/classes.rb', line 4009

def parent
  @parent
end

#tierString

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

Returns:

  • (String)


4014
4015
4016
# File 'generated/google/apis/container_v1beta1/classes.rb', line 4014

def tier
  @tier
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



4021
4022
4023
4024
# File 'generated/google/apis/container_v1beta1/classes.rb', line 4021

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