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.



4976
4977
4978
# File 'lib/google/apis/dataproc_v1/classes.rb', line 4976

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>)


4974
4975
4976
# File 'lib/google/apis/dataproc_v1/classes.rb', line 4974

def driver_log_levels
  @driver_log_levels
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



4981
4982
4983
# File 'lib/google/apis/dataproc_v1/classes.rb', line 4981

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