Class: Google::Apis::GkehubV1alpha::FleetObservabilityFeatureState

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

FleetObservability: Hub-wide Feature for FleetObservability feature. state.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ FleetObservabilityFeatureState

Returns a new instance of FleetObservabilityFeatureState.



2658
2659
2660
# File 'lib/google/apis/gkehub_v1alpha/classes.rb', line 2658

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

Instance Attribute Details

#loggingGoogle::Apis::GkehubV1alpha::FleetObservabilityFleetObservabilityLoggingState

Feature state for logging feature. Corresponds to the JSON property logging



2651
2652
2653
# File 'lib/google/apis/gkehub_v1alpha/classes.rb', line 2651

def logging
  @logging
end

#monitoringGoogle::Apis::GkehubV1alpha::FleetObservabilityFleetObservabilityMonitoringState

Feature state for monitoring feature. Corresponds to the JSON property monitoring



2656
2657
2658
# File 'lib/google/apis/gkehub_v1alpha/classes.rb', line 2656

def monitoring
  @monitoring
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2663
2664
2665
2666
# File 'lib/google/apis/gkehub_v1alpha/classes.rb', line 2663

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