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.



4283
4284
4285
# File 'generated/google/apis/container_v1beta1/classes.rb', line 4283

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)


4276
4277
4278
# File 'generated/google/apis/container_v1beta1/classes.rb', line 4276

def parent
  @parent
end

#tierString

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

Returns:

  • (String)


4281
4282
4283
# File 'generated/google/apis/container_v1beta1/classes.rb', line 4281

def tier
  @tier
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



4288
4289
4290
4291
# File 'generated/google/apis/container_v1beta1/classes.rb', line 4288

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