Class: Google::Apis::GkehubV1::CommonFeatureState

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

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.



345
346
347
# File 'lib/google/apis/gkehub_v1/classes.rb', line 345

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

Instance Attribute Details

#appdevexperienceGoogle::Apis::GkehubV1::AppDevExperienceFeatureState

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



331
332
333
# File 'lib/google/apis/gkehub_v1/classes.rb', line 331

def appdevexperience
  @appdevexperience
end

#fleetobservabilityGoogle::Apis::GkehubV1::FleetObservabilityFeatureState

FleetObservability: Hub-wide Feature for FleetObservability feature. state. Corresponds to the JSON property fleetobservability



336
337
338
# File 'lib/google/apis/gkehub_v1/classes.rb', line 336

def fleetobservability
  @fleetobservability
end

#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



343
344
345
# File 'lib/google/apis/gkehub_v1/classes.rb', line 343

def state
  @state
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



350
351
352
353
354
# File 'lib/google/apis/gkehub_v1/classes.rb', line 350

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