Class: Google::Apis::GkehubV1alpha::FleetObservabilityFleetObservabilityLoggingState

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 logging feature.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ FleetObservabilityFleetObservabilityLoggingState

Returns a new instance of FleetObservabilityFleetObservabilityLoggingState.



2709
2710
2711
# File 'lib/google/apis/gkehub_v1alpha/classes.rb', line 2709

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

Instance Attribute Details

#default_logGoogle::Apis::GkehubV1alpha::FleetObservabilityFleetObservabilityBaseFeatureState

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



2702
2703
2704
# File 'lib/google/apis/gkehub_v1alpha/classes.rb', line 2702

def default_log
  @default_log
end

#scope_logGoogle::Apis::GkehubV1alpha::FleetObservabilityFleetObservabilityBaseFeatureState

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



2707
2708
2709
# File 'lib/google/apis/gkehub_v1alpha/classes.rb', line 2707

def scope_log
  @scope_log
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2714
2715
2716
2717
# File 'lib/google/apis/gkehub_v1alpha/classes.rb', line 2714

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