Class: Google::Apis::ContainerV1beta1::FeatureConfig
- Inherits:
-
Object
- Object
- Google::Apis::ContainerV1beta1::FeatureConfig
- Defined in:
- generated/google/apis/container_v1beta1/classes.rb,
generated/google/apis/container_v1beta1/representations.rb,
generated/google/apis/container_v1beta1/representations.rb
Overview
FeatureConfig is the configuration for a specific feature including the definition of the feature as well as the tier in which it resides.
Instance Attribute Summary collapse
-
#feature ⇒ String
The feature that is being configured with this value.
-
#tier ⇒ String
The tier in which the configured feature resides.
Instance Method Summary collapse
-
#initialize(**args) ⇒ FeatureConfig
constructor
A new instance of FeatureConfig.
-
#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) ⇒ FeatureConfig
Returns a new instance of FeatureConfig.
1428 1429 1430 |
# File 'generated/google/apis/container_v1beta1/classes.rb', line 1428 def initialize(**args) update!(**args) end |
Instance Attribute Details
#feature ⇒ String
The feature that is being configured with this value.
Corresponds to the JSON property feature
1421 1422 1423 |
# File 'generated/google/apis/container_v1beta1/classes.rb', line 1421 def feature @feature end |
#tier ⇒ String
The tier in which the configured feature resides.
Corresponds to the JSON property tier
1426 1427 1428 |
# File 'generated/google/apis/container_v1beta1/classes.rb', line 1426 def tier @tier end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1433 1434 1435 1436 |
# File 'generated/google/apis/container_v1beta1/classes.rb', line 1433 def update!(**args) @feature = args[:feature] if args.key?(:feature) @tier = args[:tier] if args.key?(:tier) end |