Class: Google::Apis::GkehubV1beta::CommonFeatureState
- Inherits:
-
Object
- Object
- Google::Apis::GkehubV1beta::CommonFeatureState
- 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
-
#appdevexperience ⇒ Google::Apis::GkehubV1beta::AppDevExperienceFeatureState
State for App Dev Exp Feature.
-
#fleetobservability ⇒ Google::Apis::GkehubV1beta::FleetObservabilityFeatureState
FleetObservability: Hub-wide Feature for FleetObservability feature.
-
#state ⇒ Google::Apis::GkehubV1beta::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.
330 331 332 |
# File 'lib/google/apis/gkehub_v1beta/classes.rb', line 330 def initialize(**args) update!(**args) end |
Instance Attribute Details
#appdevexperience ⇒ Google::Apis::GkehubV1beta::AppDevExperienceFeatureState
State for App Dev Exp Feature.
Corresponds to the JSON property appdevexperience
316 317 318 |
# File 'lib/google/apis/gkehub_v1beta/classes.rb', line 316 def appdevexperience @appdevexperience end |
#fleetobservability ⇒ Google::Apis::GkehubV1beta::FleetObservabilityFeatureState
FleetObservability: Hub-wide Feature for FleetObservability feature. state.
Corresponds to the JSON property fleetobservability
321 322 323 |
# File 'lib/google/apis/gkehub_v1beta/classes.rb', line 321 def fleetobservability @fleetobservability end |
#state ⇒ Google::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
328 329 330 |
# File 'lib/google/apis/gkehub_v1beta/classes.rb', line 328 def state @state end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
335 336 337 338 339 |
# File 'lib/google/apis/gkehub_v1beta/classes.rb', line 335 def update!(**args) @appdevexperience = args[:appdevexperience] if args.key?(:appdevexperience) @fleetobservability = args[:fleetobservability] if args.key?(:fleetobservability) @state = args[:state] if args.key?(:state) end |