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.



2634
2635
2636
# File 'lib/google/apis/gkehub_v1alpha/classes.rb', line 2634

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

Instance Attribute Details

#loggingGoogle::Apis::GkehubV1alpha::FleetObservabilityFleetObservabilityLoggingState

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



2627
2628
2629
# File 'lib/google/apis/gkehub_v1alpha/classes.rb', line 2627

def logging
  @logging
end

#monitoringGoogle::Apis::GkehubV1alpha::FleetObservabilityFleetObservabilityMonitoringState

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



2632
2633
2634
# File 'lib/google/apis/gkehub_v1alpha/classes.rb', line 2632

def monitoring
  @monitoring
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2639
2640
2641
2642
# File 'lib/google/apis/gkehub_v1alpha/classes.rb', line 2639

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