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.



6549
6550
6551
# File 'lib/google/apis/gkehub_v1alpha/classes.rb', line 6549

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



6547
6548
6549
# File 'lib/google/apis/gkehub_v1alpha/classes.rb', line 6547

def clusterupgrade
  @clusterupgrade
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



6554
6555
6556
# File 'lib/google/apis/gkehub_v1alpha/classes.rb', line 6554

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