class Google::Apis::GkehubV1beta1::MembershipState
State of the Membership
resource.
Attributes
code[RW]
Output only. The current state of the Membership
resource. Corresponds to the JSON property `code` @return [String]
description[RW]
This field is never set by the Hub Service. Corresponds to the JSON property `description` @return [String]
update_time[RW]
This field is never set by the Hub Service. Corresponds to the JSON property `updateTime` @return [String]
Public Class Methods
new(**args)
click to toggle source
# File lib/google/apis/gkehub_v1beta1/classes.rb, line 866 def initialize(**args) update!(**args) end
Public Instance Methods
update!(**args)
click to toggle source
Update properties of this object
# File lib/google/apis/gkehub_v1beta1/classes.rb, line 871 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