Class: Google::Apis::GkehubV1alpha::ScopeFeatureSpec

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ ScopeFeatureSpec

Returns a new instance of ScopeFeatureSpec.



5297
5298
5299
# File 'lib/google/apis/gkehub_v1alpha/classes.rb', line 5297

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#clusterupgradeGoogle::Apis::GkehubV1alpha::ClusterUpgradeScopeSpec

ClusterUpgrade: The configuration for the scope-level ClusterUpgrade feature. Corresponds to the JSON property clusterupgrade



5295
5296
5297
# File 'lib/google/apis/gkehub_v1alpha/classes.rb', line 5295

def clusterupgrade
  @clusterupgrade
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



5302
5303
5304
# File 'lib/google/apis/gkehub_v1alpha/classes.rb', line 5302

def update!(**args)
  @clusterupgrade = args[:clusterupgrade] if args.key?(:clusterupgrade)
end