Class: Google::Apis::GkehubV1beta1::MembershipState
- Inherits:
-
Object
- Object
- Google::Apis::GkehubV1beta1::MembershipState
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/gkehub_v1beta1/classes.rb,
lib/google/apis/gkehub_v1beta1/representations.rb,
lib/google/apis/gkehub_v1beta1/representations.rb
Overview
State of the Membership resource.
Instance Attribute Summary collapse
-
#code ⇒ String
Output only.
-
#description ⇒ String
This field is never set by the Hub Service.
-
#update_time ⇒ String
This field is never set by the Hub Service.
Instance Method Summary collapse
-
#initialize(**args) ⇒ MembershipState
constructor
A new instance of MembershipState.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ MembershipState
Returns a new instance of MembershipState.
958 959 960 |
# File 'lib/google/apis/gkehub_v1beta1/classes.rb', line 958 def initialize(**args) update!(**args) end |
Instance Attribute Details
#code ⇒ String
Output only. The current state of the Membership resource.
Corresponds to the JSON property code
946 947 948 |
# File 'lib/google/apis/gkehub_v1beta1/classes.rb', line 946 def code @code end |
#description ⇒ String
This field is never set by the Hub Service.
Corresponds to the JSON property description
951 952 953 |
# File 'lib/google/apis/gkehub_v1beta1/classes.rb', line 951 def description @description end |
#update_time ⇒ String
This field is never set by the Hub Service.
Corresponds to the JSON property updateTime
956 957 958 |
# File 'lib/google/apis/gkehub_v1beta1/classes.rb', line 956 def update_time @update_time end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
963 964 965 966 967 |
# File 'lib/google/apis/gkehub_v1beta1/classes.rb', line 963 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 |