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.



2329
2330
2331
# File 'lib/google/apis/dataproc_v1/classes.rb', line 2329

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

Instance Attribute Details

#disk_bytes_spilledArray<Float>

Corresponds to the JSON property diskBytesSpilled

Returns:

  • (Array<Float>)


2252
2253
2254
# File 'lib/google/apis/dataproc_v1/classes.rb', line 2252

def disk_bytes_spilled
  @disk_bytes_spilled
end

#failed_tasksArray<Float>

Corresponds to the JSON property failedTasks

Returns:

  • (Array<Float>)


2257
2258
2259
# File 'lib/google/apis/dataproc_v1/classes.rb', line 2257

def failed_tasks
  @failed_tasks
end

#input_bytesArray<Float>

Corresponds to the JSON property inputBytes

Returns:

  • (Array<Float>)


2262
2263
2264
# File 'lib/google/apis/dataproc_v1/classes.rb', line 2262

def input_bytes
  @input_bytes
end

#input_recordsArray<Float>

Corresponds to the JSON property inputRecords

Returns:

  • (Array<Float>)


2267
2268
2269
# File 'lib/google/apis/dataproc_v1/classes.rb', line 2267

def input_records
  @input_records
end

#killed_tasksArray<Float>

Corresponds to the JSON property killedTasks

Returns:

  • (Array<Float>)


2272
2273
2274
# File 'lib/google/apis/dataproc_v1/classes.rb', line 2272

def killed_tasks
  @killed_tasks
end

#memory_bytes_spilledArray<Float>

Corresponds to the JSON property memoryBytesSpilled

Returns:

  • (Array<Float>)


2277
2278
2279
# File 'lib/google/apis/dataproc_v1/classes.rb', line 2277

def memory_bytes_spilled
  @memory_bytes_spilled
end

#output_bytesArray<Float>

Corresponds to the JSON property outputBytes

Returns:

  • (Array<Float>)


2282
2283
2284
# File 'lib/google/apis/dataproc_v1/classes.rb', line 2282

def output_bytes
  @output_bytes
end

#output_recordsArray<Float>

Corresponds to the JSON property outputRecords

Returns:

  • (Array<Float>)


2287
2288
2289
# File 'lib/google/apis/dataproc_v1/classes.rb', line 2287

def output_records
  @output_records
end

#peak_memory_metricsGoogle::Apis::DataprocV1::ExecutorPeakMetricsDistributions

Corresponds to the JSON property peakMemoryMetrics



2292
2293
2294
# File 'lib/google/apis/dataproc_v1/classes.rb', line 2292

def peak_memory_metrics
  @peak_memory_metrics
end

#quantilesArray<Float>

Corresponds to the JSON property quantiles

Returns:

  • (Array<Float>)


2297
2298
2299
# File 'lib/google/apis/dataproc_v1/classes.rb', line 2297

def quantiles
  @quantiles
end

#shuffle_readArray<Float>

Corresponds to the JSON property shuffleRead

Returns:

  • (Array<Float>)


2302
2303
2304
# File 'lib/google/apis/dataproc_v1/classes.rb', line 2302

def shuffle_read
  @shuffle_read
end

#shuffle_read_recordsArray<Float>

Corresponds to the JSON property shuffleReadRecords

Returns:

  • (Array<Float>)


2307
2308
2309
# File 'lib/google/apis/dataproc_v1/classes.rb', line 2307

def shuffle_read_records
  @shuffle_read_records
end

#shuffle_writeArray<Float>

Corresponds to the JSON property shuffleWrite

Returns:

  • (Array<Float>)


2312
2313
2314
# File 'lib/google/apis/dataproc_v1/classes.rb', line 2312

def shuffle_write
  @shuffle_write
end

#shuffle_write_recordsArray<Float>

Corresponds to the JSON property shuffleWriteRecords

Returns:

  • (Array<Float>)


2317
2318
2319
# File 'lib/google/apis/dataproc_v1/classes.rb', line 2317

def shuffle_write_records
  @shuffle_write_records
end

#succeeded_tasksArray<Float>

Corresponds to the JSON property succeededTasks

Returns:

  • (Array<Float>)


2322
2323
2324
# File 'lib/google/apis/dataproc_v1/classes.rb', line 2322

def succeeded_tasks
  @succeeded_tasks
end

#task_time_millisArray<Float>

Corresponds to the JSON property taskTimeMillis

Returns:

  • (Array<Float>)


2327
2328
2329
# File 'lib/google/apis/dataproc_v1/classes.rb', line 2327

def task_time_millis
  @task_time_millis
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2334
2335
2336
2337
2338
2339
2340
2341
2342
2343
2344
2345
2346
2347
2348
2349
2350
2351
# File 'lib/google/apis/dataproc_v1/classes.rb', line 2334

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