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.



5289
5290
5291
# File 'lib/google/apis/gkehub_v1alpha/classes.rb', line 5289

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



5287
5288
5289
# File 'lib/google/apis/gkehub_v1alpha/classes.rb', line 5287

def clusterupgrade
  @clusterupgrade
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



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

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