Class: Google::Apis::GkehubV1::CommonFeatureState
- Inherits:
-
Object
- Object
- Google::Apis::GkehubV1::CommonFeatureState
- 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
CommonFeatureState contains Hub-wide Feature status information.
Instance Attribute Summary collapse
-
#appdevexperience ⇒ Google::Apis::GkehubV1::AppDevExperienceFeatureState
State for App Dev Exp Feature.
-
#state ⇒ Google::Apis::GkehubV1::FeatureState
FeatureState describes the high-level state of a Feature.
Instance Method Summary collapse
-
#initialize(**args) ⇒ CommonFeatureState
constructor
A new instance of CommonFeatureState.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ CommonFeatureState
Returns a new instance of CommonFeatureState.
457 458 459 |
# File 'lib/google/apis/gkehub_v1/classes.rb', line 457 def initialize(**args) update!(**args) end |
Instance Attribute Details
#appdevexperience ⇒ Google::Apis::GkehubV1::AppDevExperienceFeatureState
State for App Dev Exp Feature.
Corresponds to the JSON property appdevexperience
448 449 450 |
# File 'lib/google/apis/gkehub_v1/classes.rb', line 448 def appdevexperience @appdevexperience end |
#state ⇒ Google::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
455 456 457 |
# File 'lib/google/apis/gkehub_v1/classes.rb', line 455 def state @state end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
462 463 464 465 |
# File 'lib/google/apis/gkehub_v1/classes.rb', line 462 def update!(**args) @appdevexperience = args[:appdevexperience] if args.key?(:appdevexperience) @state = args[:state] if args.key?(:state) end |