Class: Google::Apis::GkehubV2alpha::FeatureState

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

FeatureState contains high-level state information and per-feature state information for this MembershipFeature.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ FeatureState

Returns a new instance of FeatureState.



194
195
196
# File 'lib/google/apis/gkehub_v2alpha/classes.rb', line 194

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

Instance Attribute Details

#stateGoogle::Apis::GkehubV2alpha::State

High-level state of a MembershipFeature. Corresponds to the JSON property state



192
193
194
# File 'lib/google/apis/gkehub_v2alpha/classes.rb', line 192

def state
  @state
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



199
200
201
# File 'lib/google/apis/gkehub_v2alpha/classes.rb', line 199

def update!(**args)
  @state = args[:state] if args.key?(:state)
end