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.



5799
5800
5801
# File 'lib/google/apis/gkehub_v1alpha/classes.rb', line 5799

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



5797
5798
5799
# File 'lib/google/apis/gkehub_v1alpha/classes.rb', line 5797

def clusterupgrade
  @clusterupgrade
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



5804
5805
5806
# File 'lib/google/apis/gkehub_v1alpha/classes.rb', line 5804

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