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.
3060 3061 3062 |
# File 'generated/google/apis/container_v1beta1/classes.rb', line 3060 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
3053 3054 3055 |
# File 'generated/google/apis/container_v1beta1/classes.rb', line 3053 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
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 |