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

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

Overview

The runtime logging config of the job.

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from Core::JsonObjectSupport

#to_json

Methods included from Core::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ LoggingConfig

Returns a new instance of LoggingConfig.


861
862
863
# File 'generated/google/apis/dataproc_v1/classes.rb', line 861

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

859
860
861
# File 'generated/google/apis/dataproc_v1/classes.rb', line 859

def driver_log_levels
  @driver_log_levels
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object


866
867
868
# File 'generated/google/apis/dataproc_v1/classes.rb', line 866

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