Class: Google::Apis::GkehubV1alpha::ScopeFeatureSpec
- Inherits:
-
Object
- Object
- Google::Apis::GkehubV1alpha::ScopeFeatureSpec
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/gkehub_v1alpha/classes.rb,
lib/google/apis/gkehub_v1alpha/representations.rb,
lib/google/apis/gkehub_v1alpha/representations.rb
Overview
ScopeFeatureSpec contains feature specs for a fleet scope.
Instance Attribute Summary collapse
-
#clusterupgrade ⇒ Google::Apis::GkehubV1alpha::ClusterUpgradeScopeSpec
ClusterUpgrade: The configuration for the scope-level ClusterUpgrade feature.
Instance Method Summary collapse
-
#initialize(**args) ⇒ ScopeFeatureSpec
constructor
A new instance of ScopeFeatureSpec.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ ScopeFeatureSpec
Returns a new instance of ScopeFeatureSpec.
5775 5776 5777 |
# File 'lib/google/apis/gkehub_v1alpha/classes.rb', line 5775 def initialize(**args) update!(**args) end |
Instance Attribute Details
#clusterupgrade ⇒ Google::Apis::GkehubV1alpha::ClusterUpgradeScopeSpec
ClusterUpgrade: The configuration for the scope-level ClusterUpgrade
feature.
Corresponds to the JSON property clusterupgrade
5773 5774 5775 |
# File 'lib/google/apis/gkehub_v1alpha/classes.rb', line 5773 def clusterupgrade @clusterupgrade end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
5780 5781 5782 |
# File 'lib/google/apis/gkehub_v1alpha/classes.rb', line 5780 def update!(**args) @clusterupgrade = args[:clusterupgrade] if args.key?(:clusterupgrade) end |