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



2815
2816
2817
# File 'generated/google/apis/container_v1beta1/classes.rb', line 2815

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



2808
2809
2810
# File 'generated/google/apis/container_v1beta1/classes.rb', line 2808

def features
  @features
end

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

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



2813
2814
2815
# File 'generated/google/apis/container_v1beta1/classes.rb', line 2813

def tiers
  @tiers
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2820
2821
2822
2823
# File 'generated/google/apis/container_v1beta1/classes.rb', line 2820

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