Class: Google::Apis::DataprocV1::ExecutorMetricsDistributions

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ ExecutorMetricsDistributions

Returns a new instance of ExecutorMetricsDistributions.



2423
2424
2425
# File 'lib/google/apis/dataproc_v1/classes.rb', line 2423

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

Instance Attribute Details

#disk_bytes_spilledArray<Float>

Corresponds to the JSON property diskBytesSpilled

Returns:

  • (Array<Float>)


2346
2347
2348
# File 'lib/google/apis/dataproc_v1/classes.rb', line 2346

def disk_bytes_spilled
  @disk_bytes_spilled
end

#failed_tasksArray<Float>

Corresponds to the JSON property failedTasks

Returns:

  • (Array<Float>)


2351
2352
2353
# File 'lib/google/apis/dataproc_v1/classes.rb', line 2351

def failed_tasks
  @failed_tasks
end

#input_bytesArray<Float>

Corresponds to the JSON property inputBytes

Returns:

  • (Array<Float>)


2356
2357
2358
# File 'lib/google/apis/dataproc_v1/classes.rb', line 2356

def input_bytes
  @input_bytes
end

#input_recordsArray<Float>

Corresponds to the JSON property inputRecords

Returns:

  • (Array<Float>)


2361
2362
2363
# File 'lib/google/apis/dataproc_v1/classes.rb', line 2361

def input_records
  @input_records
end

#killed_tasksArray<Float>

Corresponds to the JSON property killedTasks

Returns:

  • (Array<Float>)


2366
2367
2368
# File 'lib/google/apis/dataproc_v1/classes.rb', line 2366

def killed_tasks
  @killed_tasks
end

#memory_bytes_spilledArray<Float>

Corresponds to the JSON property memoryBytesSpilled

Returns:

  • (Array<Float>)


2371
2372
2373
# File 'lib/google/apis/dataproc_v1/classes.rb', line 2371

def memory_bytes_spilled
  @memory_bytes_spilled
end

#output_bytesArray<Float>

Corresponds to the JSON property outputBytes

Returns:

  • (Array<Float>)


2376
2377
2378
# File 'lib/google/apis/dataproc_v1/classes.rb', line 2376

def output_bytes
  @output_bytes
end

#output_recordsArray<Float>

Corresponds to the JSON property outputRecords

Returns:

  • (Array<Float>)


2381
2382
2383
# File 'lib/google/apis/dataproc_v1/classes.rb', line 2381

def output_records
  @output_records
end

#peak_memory_metricsGoogle::Apis::DataprocV1::ExecutorPeakMetricsDistributions

Corresponds to the JSON property peakMemoryMetrics



2386
2387
2388
# File 'lib/google/apis/dataproc_v1/classes.rb', line 2386

def peak_memory_metrics
  @peak_memory_metrics
end

#quantilesArray<Float>

Corresponds to the JSON property quantiles

Returns:

  • (Array<Float>)


2391
2392
2393
# File 'lib/google/apis/dataproc_v1/classes.rb', line 2391

def quantiles
  @quantiles
end

#shuffle_readArray<Float>

Corresponds to the JSON property shuffleRead

Returns:

  • (Array<Float>)


2396
2397
2398
# File 'lib/google/apis/dataproc_v1/classes.rb', line 2396

def shuffle_read
  @shuffle_read
end

#shuffle_read_recordsArray<Float>

Corresponds to the JSON property shuffleReadRecords

Returns:

  • (Array<Float>)


2401
2402
2403
# File 'lib/google/apis/dataproc_v1/classes.rb', line 2401

def shuffle_read_records
  @shuffle_read_records
end

#shuffle_writeArray<Float>

Corresponds to the JSON property shuffleWrite

Returns:

  • (Array<Float>)


2406
2407
2408
# File 'lib/google/apis/dataproc_v1/classes.rb', line 2406

def shuffle_write
  @shuffle_write
end

#shuffle_write_recordsArray<Float>

Corresponds to the JSON property shuffleWriteRecords

Returns:

  • (Array<Float>)


2411
2412
2413
# File 'lib/google/apis/dataproc_v1/classes.rb', line 2411

def shuffle_write_records
  @shuffle_write_records
end

#succeeded_tasksArray<Float>

Corresponds to the JSON property succeededTasks

Returns:

  • (Array<Float>)


2416
2417
2418
# File 'lib/google/apis/dataproc_v1/classes.rb', line 2416

def succeeded_tasks
  @succeeded_tasks
end

#task_time_millisArray<Float>

Corresponds to the JSON property taskTimeMillis

Returns:

  • (Array<Float>)


2421
2422
2423
# File 'lib/google/apis/dataproc_v1/classes.rb', line 2421

def task_time_millis
  @task_time_millis
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2428
2429
2430
2431
2432
2433
2434
2435
2436
2437
2438
2439
2440
2441
2442
2443
2444
2445
# File 'lib/google/apis/dataproc_v1/classes.rb', line 2428

def update!(**args)
  @disk_bytes_spilled = args[:disk_bytes_spilled] if args.key?(:disk_bytes_spilled)
  @failed_tasks = args[:failed_tasks] if args.key?(:failed_tasks)
  @input_bytes = args[:input_bytes] if args.key?(:input_bytes)
  @input_records = args[:input_records] if args.key?(:input_records)
  @killed_tasks = args[:killed_tasks] if args.key?(:killed_tasks)
  @memory_bytes_spilled = args[:memory_bytes_spilled] if args.key?(:memory_bytes_spilled)
  @output_bytes = args[:output_bytes] if args.key?(:output_bytes)
  @output_records = args[:output_records] if args.key?(:output_records)
  @peak_memory_metrics = args[:peak_memory_metrics] if args.key?(:peak_memory_metrics)
  @quantiles = args[:quantiles] if args.key?(:quantiles)
  @shuffle_read = args[:shuffle_read] if args.key?(:shuffle_read)
  @shuffle_read_records = args[:shuffle_read_records] if args.key?(:shuffle_read_records)
  @shuffle_write = args[:shuffle_write] if args.key?(:shuffle_write)
  @shuffle_write_records = args[:shuffle_write_records] if args.key?(:shuffle_write_records)
  @succeeded_tasks = args[:succeeded_tasks] if args.key?(:succeeded_tasks)
  @task_time_millis = args[:task_time_millis] if args.key?(:task_time_millis)
end