Class: Google::Apis::GkehubV2alpha::LifecycleState
- Inherits:
-
Object
- Object
- Google::Apis::GkehubV2alpha::LifecycleState
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/gkehub_v2alpha/classes.rb,
lib/google/apis/gkehub_v2alpha/representations.rb,
lib/google/apis/gkehub_v2alpha/representations.rb
Overview
LifecycleState describes the state of a MembershipFeature resource in the
GkeHub API. See FeatureState
for the "running state" of the
MembershipFeature.
Instance Attribute Summary collapse
-
#state ⇒ String
Output only.
Instance Method Summary collapse
-
#initialize(**args) ⇒ LifecycleState
constructor
A new instance of LifecycleState.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ LifecycleState
Returns a new instance of LifecycleState.
2193 2194 2195 |
# File 'lib/google/apis/gkehub_v2alpha/classes.rb', line 2193 def initialize(**args) update!(**args) end |
Instance Attribute Details
#state ⇒ String
Output only. The current state of the Feature resource in the Hub API.
Corresponds to the JSON property state
2191 2192 2193 |
# File 'lib/google/apis/gkehub_v2alpha/classes.rb', line 2191 def state @state end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2198 2199 2200 |
# File 'lib/google/apis/gkehub_v2alpha/classes.rb', line 2198 def update!(**args) @state = args[:state] if args.key?(:state) end |