Class: Google::Apis::ContainerV1beta1::PremiumConfig
- Inherits:
-
Object
- Object
- Google::Apis::ContainerV1beta1::PremiumConfig
- 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
-
#features ⇒ Array<Google::Apis::ContainerV1beta1::FeatureConfig>
The features that GKE provides.
-
#tiers ⇒ Array<Google::Apis::ContainerV1beta1::TierConfig>
The tiers that are part of the premium offering.
Instance Method Summary collapse
-
#initialize(**args) ⇒ PremiumConfig
constructor
A new instance of PremiumConfig.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Google::Apis::Core::JsonObjectSupport
Methods included from Google::Apis::Core::Hashable
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
#features ⇒ Array<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 |
#tiers ⇒ Array<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 |