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

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



1311
1312
1313
# File 'generated/google/apis/dataproc_v1beta2/classes.rb', line 1311

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


1309
1310
1311
# File 'generated/google/apis/dataproc_v1beta2/classes.rb', line 1309

def driver_log_levels
  @driver_log_levels
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1316
1317
1318
# File 'generated/google/apis/dataproc_v1beta2/classes.rb', line 1316

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