Class: Google::Apis::DataprocV1beta2::LoggingConfig

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/dataproc_v1beta2/classes.rb,
lib/google/apis/dataproc_v1beta2/representations.rb,
lib/google/apis/dataproc_v1beta2/representations.rb

Overview

The runtime logging config of the job.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ LoggingConfig

Returns a new instance of LoggingConfig.



2148
2149
2150
# File 'lib/google/apis/dataproc_v1beta2/classes.rb', line 2148

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

Instance Attribute Details

#driver_log_levelsHash<String,String>

The per-package log levels for the driver. This may include "root" package name to configure rootLogger. Examples: 'com.google = FATAL', 'root = INFO', ' org.apache = DEBUG' Corresponds to the JSON property driverLogLevels

Returns:

  • (Hash<String,String>)


2146
2147
2148
# File 'lib/google/apis/dataproc_v1beta2/classes.rb', line 2146

def driver_log_levels
  @driver_log_levels
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2153
2154
2155
# File 'lib/google/apis/dataproc_v1beta2/classes.rb', line 2153

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