Class: Google::Apis::GkehubV2alpha::FeatureConfigState

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

Instance Method Summary collapse

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

#stateString

Output only. The current state of the FeatureConfig resource. Corresponds to the JSON property state

Returns:

  • (String)


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