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.
5067 5068 5069 |
# File 'lib/google/apis/gkehub_v1alpha/classes.rb', line 5067 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
5065 5066 5067 |
# File 'lib/google/apis/gkehub_v1alpha/classes.rb', line 5065 def clusterupgrade @clusterupgrade end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
5072 5073 5074 |
# File 'lib/google/apis/gkehub_v1alpha/classes.rb', line 5072 def update!(**args) @clusterupgrade = args[:clusterupgrade] if args.key?(:clusterupgrade) end |