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.



2677
2678
2679
# File 'lib/google/apis/dataproc_v1/classes.rb', line 2677

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

Instance Attribute Details

#disk_bytes_spilledArray<Float>

Corresponds to the JSON property diskBytesSpilled

Returns:

  • (Array<Float>)


2600
2601
2602
# File 'lib/google/apis/dataproc_v1/classes.rb', line 2600

def disk_bytes_spilled
  @disk_bytes_spilled
end

#failed_tasksArray<Float>

Corresponds to the JSON property failedTasks

Returns:

  • (Array<Float>)


2605
2606
2607
# File 'lib/google/apis/dataproc_v1/classes.rb', line 2605

def failed_tasks
  @failed_tasks
end

#input_bytesArray<Float>

Corresponds to the JSON property inputBytes

Returns:

  • (Array<Float>)


2610
2611
2612
# File 'lib/google/apis/dataproc_v1/classes.rb', line 2610

def input_bytes
  @input_bytes
end

#input_recordsArray<Float>

Corresponds to the JSON property inputRecords

Returns:

  • (Array<Float>)


2615
2616
2617
# File 'lib/google/apis/dataproc_v1/classes.rb', line 2615

def input_records
  @input_records
end

#killed_tasksArray<Float>

Corresponds to the JSON property killedTasks

Returns:

  • (Array<Float>)


2620
2621
2622
# File 'lib/google/apis/dataproc_v1/classes.rb', line 2620

def killed_tasks
  @killed_tasks
end

#memory_bytes_spilledArray<Float>

Corresponds to the JSON property memoryBytesSpilled

Returns:

  • (Array<Float>)


2625
2626
2627
# File 'lib/google/apis/dataproc_v1/classes.rb', line 2625

def memory_bytes_spilled
  @memory_bytes_spilled
end

#output_bytesArray<Float>

Corresponds to the JSON property outputBytes

Returns:

  • (Array<Float>)


2630
2631
2632
# File 'lib/google/apis/dataproc_v1/classes.rb', line 2630

def output_bytes
  @output_bytes
end

#output_recordsArray<Float>

Corresponds to the JSON property outputRecords

Returns:

  • (Array<Float>)


2635
2636
2637
# File 'lib/google/apis/dataproc_v1/classes.rb', line 2635

def output_records
  @output_records
end

#peak_memory_metricsGoogle::Apis::DataprocV1::ExecutorPeakMetricsDistributions

Corresponds to the JSON property peakMemoryMetrics



2640
2641
2642
# File 'lib/google/apis/dataproc_v1/classes.rb', line 2640

def peak_memory_metrics
  @peak_memory_metrics
end

#quantilesArray<Float>

Corresponds to the JSON property quantiles

Returns:

  • (Array<Float>)


2645
2646
2647
# File 'lib/google/apis/dataproc_v1/classes.rb', line 2645

def quantiles
  @quantiles
end

#shuffle_readArray<Float>

Corresponds to the JSON property shuffleRead

Returns:

  • (Array<Float>)


2650
2651
2652
# File 'lib/google/apis/dataproc_v1/classes.rb', line 2650

def shuffle_read
  @shuffle_read
end

#shuffle_read_recordsArray<Float>

Corresponds to the JSON property shuffleReadRecords

Returns:

  • (Array<Float>)


2655
2656
2657
# File 'lib/google/apis/dataproc_v1/classes.rb', line 2655

def shuffle_read_records
  @shuffle_read_records
end

#shuffle_writeArray<Float>

Corresponds to the JSON property shuffleWrite

Returns:

  • (Array<Float>)


2660
2661
2662
# File 'lib/google/apis/dataproc_v1/classes.rb', line 2660

def shuffle_write
  @shuffle_write
end

#shuffle_write_recordsArray<Float>

Corresponds to the JSON property shuffleWriteRecords

Returns:

  • (Array<Float>)


2665
2666
2667
# File 'lib/google/apis/dataproc_v1/classes.rb', line 2665

def shuffle_write_records
  @shuffle_write_records
end

#succeeded_tasksArray<Float>

Corresponds to the JSON property succeededTasks

Returns:

  • (Array<Float>)


2670
2671
2672
# File 'lib/google/apis/dataproc_v1/classes.rb', line 2670

def succeeded_tasks
  @succeeded_tasks
end

#task_time_millisArray<Float>

Corresponds to the JSON property taskTimeMillis

Returns:

  • (Array<Float>)


2675
2676
2677
# File 'lib/google/apis/dataproc_v1/classes.rb', line 2675

def task_time_millis
  @task_time_millis
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2682
2683
2684
2685
2686
2687
2688
2689
2690
2691
2692
2693
2694
2695
2696
2697
2698
2699
# File 'lib/google/apis/dataproc_v1/classes.rb', line 2682

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