Class: Google::Apis::GkehubV2alpha::State
- Inherits:
-
Object
- Object
- Google::Apis::GkehubV2alpha::State
- 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
High-level state of a MembershipFeature.
Instance Attribute Summary collapse
-
#code ⇒ String
The high-level, machine-readable status of this MembershipFeature.
-
#description ⇒ String
A human-readable description of the current status.
-
#update_time ⇒ String
The time this status and any related Feature-specific details were updated.
Instance Method Summary collapse
-
#initialize(**args) ⇒ State
constructor
A new instance of State.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ State
Returns a new instance of State.
3506 3507 3508 |
# File 'lib/google/apis/gkehub_v2alpha/classes.rb', line 3506 def initialize(**args) update!(**args) end |
Instance Attribute Details
#code ⇒ String
The high-level, machine-readable status of this MembershipFeature.
Corresponds to the JSON property code
3494 3495 3496 |
# File 'lib/google/apis/gkehub_v2alpha/classes.rb', line 3494 def code @code end |
#description ⇒ String
A human-readable description of the current status.
Corresponds to the JSON property description
3499 3500 3501 |
# File 'lib/google/apis/gkehub_v2alpha/classes.rb', line 3499 def description @description end |
#update_time ⇒ String
The time this status and any related Feature-specific details were updated.
Corresponds to the JSON property updateTime
3504 3505 3506 |
# File 'lib/google/apis/gkehub_v2alpha/classes.rb', line 3504 def update_time @update_time end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
3511 3512 3513 3514 3515 |
# File 'lib/google/apis/gkehub_v2alpha/classes.rb', line 3511 def update!(**args) @code = args[:code] if args.key?(:code) @description = args[:description] if args.key?(:description) @update_time = args[:update_time] if args.key?(:update_time) end |