Class: Google::Apis::GkehubV1beta::CommonFeatureState

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

Overview

CommonFeatureState contains Hub-wide Feature status information.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ CommonFeatureState

Returns a new instance of CommonFeatureState.



442
443
444
# File 'lib/google/apis/gkehub_v1beta/classes.rb', line 442

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

Instance Attribute Details

#appdevexperienceGoogle::Apis::GkehubV1beta::AppDevExperienceFeatureState

State for App Dev Exp Feature. Corresponds to the JSON property appdevexperience



433
434
435
# File 'lib/google/apis/gkehub_v1beta/classes.rb', line 433

def appdevexperience
  @appdevexperience
end

#stateGoogle::Apis::GkehubV1beta::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



440
441
442
# File 'lib/google/apis/gkehub_v1beta/classes.rb', line 440

def state
  @state
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



447
448
449
450
# File 'lib/google/apis/gkehub_v1beta/classes.rb', line 447

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