Class: Google::Apis::ContainerV1beta1::PremiumConfig

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

PremiumConfig is the configuration for all premium features and tiers.

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) ⇒ PremiumConfig

Returns a new instance of PremiumConfig.



3060
3061
3062
# File 'generated/google/apis/container_v1beta1/classes.rb', line 3060

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

Instance Attribute Details

#featuresArray<Google::Apis::ContainerV1beta1::FeatureConfig>

The features that GKE provides. Corresponds to the JSON property features



3053
3054
3055
# File 'generated/google/apis/container_v1beta1/classes.rb', line 3053

def features
  @features
end

#tiersArray<Google::Apis::ContainerV1beta1::TierConfig>

The tiers that are part of the premium offering. Corresponds to the JSON property tiers



3058
3059
3060
# File 'generated/google/apis/container_v1beta1/classes.rb', line 3058

def tiers
  @tiers
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



3065
3066
3067
3068
# File 'generated/google/apis/container_v1beta1/classes.rb', line 3065

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