Class: Google::Apis::GkehubV1::ScopeFeatureState

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/gkehub_v1/classes.rb,
lib/google/apis/gkehub_v1/representations.rb,
lib/google/apis/gkehub_v1/representations.rb

Overview

ScopeFeatureState contains Scope-wide Feature status information.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ ScopeFeatureState

Returns a new instance of ScopeFeatureState.



5224
5225
5226
# File 'lib/google/apis/gkehub_v1/classes.rb', line 5224

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

Instance Attribute Details

#stateGoogle::Apis::GkehubV1::FeatureState

FeatureState describes the high-level state of a Feature. It may be used to describe a Feature's state at the environ-level, or per-membershop, depending on the context. Corresponds to the JSON property state



5222
5223
5224
# File 'lib/google/apis/gkehub_v1/classes.rb', line 5222

def state
  @state
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



5229
5230
5231
# File 'lib/google/apis/gkehub_v1/classes.rb', line 5229

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