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



2869
2870
2871
# File 'generated/google/apis/container_v1beta1/classes.rb', line 2869

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



2862
2863
2864
# File 'generated/google/apis/container_v1beta1/classes.rb', line 2862

def features
  @features
end

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

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



2867
2868
2869
# File 'generated/google/apis/container_v1beta1/classes.rb', line 2867

def tiers
  @tiers
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2874
2875
2876
2877
# File 'generated/google/apis/container_v1beta1/classes.rb', line 2874

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