Class: Google::Apis::GkehubV2::LifecycleState
- Inherits:
-
Object
- Object
- Google::Apis::GkehubV2::LifecycleState
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/gkehub_v2/classes.rb,
lib/google/apis/gkehub_v2/representations.rb,
lib/google/apis/gkehub_v2/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.
2225 2226 2227 |
# File 'lib/google/apis/gkehub_v2/classes.rb', line 2225 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
2223 2224 2225 |
# File 'lib/google/apis/gkehub_v2/classes.rb', line 2223 def state @state end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2230 2231 2232 |
# File 'lib/google/apis/gkehub_v2/classes.rb', line 2230 def update!(**args) @state = args[:state] if args.key?(:state) end |