Class: Google::Apis::GkehubV1::FleetObservabilityFleetObservabilityLoggingState

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ FleetObservabilityFleetObservabilityLoggingState

Returns a new instance of FleetObservabilityFleetObservabilityLoggingState.



2390
2391
2392
# File 'lib/google/apis/gkehub_v1/classes.rb', line 2390

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

Instance Attribute Details

#default_logGoogle::Apis::GkehubV1::FleetObservabilityFleetObservabilityBaseFeatureState

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



2383
2384
2385
# File 'lib/google/apis/gkehub_v1/classes.rb', line 2383

def default_log
  @default_log
end

#scope_logGoogle::Apis::GkehubV1::FleetObservabilityFleetObservabilityBaseFeatureState

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



2388
2389
2390
# File 'lib/google/apis/gkehub_v1/classes.rb', line 2388

def scope_log
  @scope_log
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2395
2396
2397
2398
# File 'lib/google/apis/gkehub_v1/classes.rb', line 2395

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