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.



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

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)


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

def parent
  @parent
end

#tierString

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

Returns:

  • (String)


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

def tier
  @tier
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



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

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