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



4047
4048
4049
# File 'generated/google/apis/container_v1beta1/classes.rb', line 4047

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)


4040
4041
4042
# File 'generated/google/apis/container_v1beta1/classes.rb', line 4040

def parent
  @parent
end

#tierString

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

Returns:

  • (String)


4045
4046
4047
# File 'generated/google/apis/container_v1beta1/classes.rb', line 4045

def tier
  @tier
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



4052
4053
4054
4055
# File 'generated/google/apis/container_v1beta1/classes.rb', line 4052

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