Class: Google::Apis::GkehubV2::State

Inherits:
Object
  • Object
show all
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

High-level state of a MembershipFeature.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ State

Returns a new instance of State.



3536
3537
3538
# File 'lib/google/apis/gkehub_v2/classes.rb', line 3536

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#codeString

The high-level, machine-readable status of this MembershipFeature. Corresponds to the JSON property code

Returns:

  • (String)


3524
3525
3526
# File 'lib/google/apis/gkehub_v2/classes.rb', line 3524

def code
  @code
end

#descriptionString

A human-readable description of the current status. Corresponds to the JSON property description

Returns:

  • (String)


3529
3530
3531
# File 'lib/google/apis/gkehub_v2/classes.rb', line 3529

def description
  @description
end

#update_timeString

The time this status and any related Feature-specific details were updated. Corresponds to the JSON property updateTime

Returns:

  • (String)


3534
3535
3536
# File 'lib/google/apis/gkehub_v2/classes.rb', line 3534

def update_time
  @update_time
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



3541
3542
3543
3544
3545
# File 'lib/google/apis/gkehub_v2/classes.rb', line 3541

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