Class: Google::Apis::GkehubV1alpha::ScopeFeatureState
- Inherits:
-
Object
- Object
- Google::Apis::GkehubV1alpha::ScopeFeatureState
- 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
ScopeFeatureState contains Scope-wide Feature status information.
Instance Attribute Summary collapse
-
#clusterupgrade ⇒ Google::Apis::GkehubV1alpha::ClusterUpgradeScopeState
ClusterUpgrade: The state for the scope-level ClusterUpgrade feature.
-
#state ⇒ Google::Apis::GkehubV1alpha::FeatureState
FeatureState describes the high-level state of a Feature.
Instance Method Summary collapse
-
#initialize(**args) ⇒ ScopeFeatureState
constructor
A new instance of ScopeFeatureState.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ ScopeFeatureState
Returns a new instance of ScopeFeatureState.
5825 5826 5827 |
# File 'lib/google/apis/gkehub_v1alpha/classes.rb', line 5825 def initialize(**args) update!(**args) end |
Instance Attribute Details
#clusterupgrade ⇒ Google::Apis::GkehubV1alpha::ClusterUpgradeScopeState
ClusterUpgrade: The state for the scope-level ClusterUpgrade feature.
Corresponds to the JSON property clusterupgrade
5816 5817 5818 |
# File 'lib/google/apis/gkehub_v1alpha/classes.rb', line 5816 def clusterupgrade @clusterupgrade end |
#state ⇒ Google::Apis::GkehubV1alpha::FeatureState
FeatureState describes the high-level state of a Feature. It may be used to
describe a Feature's state at the environ-level, or per-membershop, depending
on the context.
Corresponds to the JSON property state
5823 5824 5825 |
# File 'lib/google/apis/gkehub_v1alpha/classes.rb', line 5823 def state @state end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
5830 5831 5832 5833 |
# File 'lib/google/apis/gkehub_v1alpha/classes.rb', line 5830 def update!(**args) @clusterupgrade = args[:clusterupgrade] if args.key?(:clusterupgrade) @state = args[:state] if args.key?(:state) end |