Class: Google::Apis::GkehubV1alpha::FleetObservabilityFleetObservabilityMonitoringState

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/gkehub_v1alpha/classes.rb,
lib/google/apis/gkehub_v1alpha/representations.rb,
lib/google/apis/gkehub_v1alpha/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.



2729
2730
2731
# File 'lib/google/apis/gkehub_v1alpha/classes.rb', line 2729

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

Instance Attribute Details

#stateGoogle::Apis::GkehubV1alpha::FleetObservabilityFleetObservabilityBaseFeatureState

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



2727
2728
2729
# File 'lib/google/apis/gkehub_v1alpha/classes.rb', line 2727

def state
  @state
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2734
2735
2736
# File 'lib/google/apis/gkehub_v1alpha/classes.rb', line 2734

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