Class: Google::Apis::GkehubV2alpha::FeatureConfigState
- Inherits:
-
Object
- Object
- Google::Apis::GkehubV2alpha::FeatureConfigState
- 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
FeatureConfigState describes the state of a FeatureConfig resource.
Instance Attribute Summary collapse
-
#state ⇒ String
Output only.
Instance Method Summary collapse
-
#initialize(**args) ⇒ FeatureConfigState
constructor
A new instance of FeatureConfigState.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ FeatureConfigState
Returns a new instance of FeatureConfigState.
161 162 163 |
# File 'lib/google/apis/gkehub_v2alpha/classes.rb', line 161 def initialize(**args) update!(**args) end |
Instance Attribute Details
#state ⇒ String
Output only. The current state of the FeatureConfig resource.
Corresponds to the JSON property state
159 160 161 |
# File 'lib/google/apis/gkehub_v2alpha/classes.rb', line 159 def state @state end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
166 167 168 |
# File 'lib/google/apis/gkehub_v2alpha/classes.rb', line 166 def update!(**args) @state = args[:state] if args.key?(:state) end |