Class: Google::Apis::GkehubV1beta::ScopeFeatureState
- Inherits:
-
Object
- Object
- Google::Apis::GkehubV1beta::ScopeFeatureState
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/gkehub_v1beta/classes.rb,
lib/google/apis/gkehub_v1beta/representations.rb,
lib/google/apis/gkehub_v1beta/representations.rb
Overview
ScopeFeatureState contains Scope-wide Feature status information.
Instance Attribute Summary collapse
-
#state ⇒ Google::Apis::GkehubV1beta::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.
5489 5490 5491 |
# File 'lib/google/apis/gkehub_v1beta/classes.rb', line 5489 def initialize(**args) update!(**args) end |
Instance Attribute Details
#state ⇒ Google::Apis::GkehubV1beta::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
5487 5488 5489 |
# File 'lib/google/apis/gkehub_v1beta/classes.rb', line 5487 def state @state end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
5494 5495 5496 |
# File 'lib/google/apis/gkehub_v1beta/classes.rb', line 5494 def update!(**args) @state = args[:state] if args.key?(:state) end |