Class: Google::Apis::GkehubV1::FleetObservabilityFleetObservabilityMonitoringState

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

Feature state for monitoring feature.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ FleetObservabilityFleetObservabilityMonitoringState

Returns a new instance of FleetObservabilityFleetObservabilityMonitoringState.



2410
2411
2412
# File 'lib/google/apis/gkehub_v1/classes.rb', line 2410

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

Instance Attribute Details

#stateGoogle::Apis::GkehubV1::FleetObservabilityFleetObservabilityBaseFeatureState

Base state for fleet observability feature. Corresponds to the JSON property state



2408
2409
2410
# File 'lib/google/apis/gkehub_v1/classes.rb', line 2408

def state
  @state
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2415
2416
2417
# File 'lib/google/apis/gkehub_v1/classes.rb', line 2415

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