Class: Google::Apis::DataprocV1::LoggingConfig

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/dataproc_v1/classes.rb,
lib/google/apis/dataproc_v1/representations.rb,
lib/google/apis/dataproc_v1/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.



3567
3568
3569
# File 'lib/google/apis/dataproc_v1/classes.rb', line 3567

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

Instance Attribute Details

#driver_log_levelsHash<String,String>

The per-package log levels for the driver. This can 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>)


3565
3566
3567
# File 'lib/google/apis/dataproc_v1/classes.rb', line 3565

def driver_log_levels
  @driver_log_levels
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



3572
3573
3574
# File 'lib/google/apis/dataproc_v1/classes.rb', line 3572

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