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.



2514
2515
2516
# File 'lib/google/apis/dataproc_v1/classes.rb', line 2514

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

Instance Attribute Details

#disk_bytes_spilledArray<Float>

Corresponds to the JSON property diskBytesSpilled

Returns:

  • (Array<Float>)


2437
2438
2439
# File 'lib/google/apis/dataproc_v1/classes.rb', line 2437

def disk_bytes_spilled
  @disk_bytes_spilled
end

#failed_tasksArray<Float>

Corresponds to the JSON property failedTasks

Returns:

  • (Array<Float>)


2442
2443
2444
# File 'lib/google/apis/dataproc_v1/classes.rb', line 2442

def failed_tasks
  @failed_tasks
end

#input_bytesArray<Float>

Corresponds to the JSON property inputBytes

Returns:

  • (Array<Float>)


2447
2448
2449
# File 'lib/google/apis/dataproc_v1/classes.rb', line 2447

def input_bytes
  @input_bytes
end

#input_recordsArray<Float>

Corresponds to the JSON property inputRecords

Returns:

  • (Array<Float>)


2452
2453
2454
# File 'lib/google/apis/dataproc_v1/classes.rb', line 2452

def input_records
  @input_records
end

#killed_tasksArray<Float>

Corresponds to the JSON property killedTasks

Returns:

  • (Array<Float>)


2457
2458
2459
# File 'lib/google/apis/dataproc_v1/classes.rb', line 2457

def killed_tasks
  @killed_tasks
end

#memory_bytes_spilledArray<Float>

Corresponds to the JSON property memoryBytesSpilled

Returns:

  • (Array<Float>)


2462
2463
2464
# File 'lib/google/apis/dataproc_v1/classes.rb', line 2462

def memory_bytes_spilled
  @memory_bytes_spilled
end

#output_bytesArray<Float>

Corresponds to the JSON property outputBytes

Returns:

  • (Array<Float>)


2467
2468
2469
# File 'lib/google/apis/dataproc_v1/classes.rb', line 2467

def output_bytes
  @output_bytes
end

#output_recordsArray<Float>

Corresponds to the JSON property outputRecords

Returns:

  • (Array<Float>)


2472
2473
2474
# File 'lib/google/apis/dataproc_v1/classes.rb', line 2472

def output_records
  @output_records
end

#peak_memory_metricsGoogle::Apis::DataprocV1::ExecutorPeakMetricsDistributions

Corresponds to the JSON property peakMemoryMetrics



2477
2478
2479
# File 'lib/google/apis/dataproc_v1/classes.rb', line 2477

def peak_memory_metrics
  @peak_memory_metrics
end

#quantilesArray<Float>

Corresponds to the JSON property quantiles

Returns:

  • (Array<Float>)


2482
2483
2484
# File 'lib/google/apis/dataproc_v1/classes.rb', line 2482

def quantiles
  @quantiles
end

#shuffle_readArray<Float>

Corresponds to the JSON property shuffleRead

Returns:

  • (Array<Float>)


2487
2488
2489
# File 'lib/google/apis/dataproc_v1/classes.rb', line 2487

def shuffle_read
  @shuffle_read
end

#shuffle_read_recordsArray<Float>

Corresponds to the JSON property shuffleReadRecords

Returns:

  • (Array<Float>)


2492
2493
2494
# File 'lib/google/apis/dataproc_v1/classes.rb', line 2492

def shuffle_read_records
  @shuffle_read_records
end

#shuffle_writeArray<Float>

Corresponds to the JSON property shuffleWrite

Returns:

  • (Array<Float>)


2497
2498
2499
# File 'lib/google/apis/dataproc_v1/classes.rb', line 2497

def shuffle_write
  @shuffle_write
end

#shuffle_write_recordsArray<Float>

Corresponds to the JSON property shuffleWriteRecords

Returns:

  • (Array<Float>)


2502
2503
2504
# File 'lib/google/apis/dataproc_v1/classes.rb', line 2502

def shuffle_write_records
  @shuffle_write_records
end

#succeeded_tasksArray<Float>

Corresponds to the JSON property succeededTasks

Returns:

  • (Array<Float>)


2507
2508
2509
# File 'lib/google/apis/dataproc_v1/classes.rb', line 2507

def succeeded_tasks
  @succeeded_tasks
end

#task_time_millisArray<Float>

Corresponds to the JSON property taskTimeMillis

Returns:

  • (Array<Float>)


2512
2513
2514
# File 'lib/google/apis/dataproc_v1/classes.rb', line 2512

def task_time_millis
  @task_time_millis
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2519
2520
2521
2522
2523
2524
2525
2526
2527
2528
2529
2530
2531
2532
2533
2534
2535
2536
# File 'lib/google/apis/dataproc_v1/classes.rb', line 2519

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