Class: Google::Apis::DataprocV1::ExecutorPeakMetricsDistributions

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

Returns a new instance of ExecutorPeakMetricsDistributions.



2368
2369
2370
# File 'lib/google/apis/dataproc_v1/classes.rb', line 2368

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

Instance Attribute Details

#executor_metricsArray<Google::Apis::DataprocV1::ExecutorMetrics>

Corresponds to the JSON property executorMetrics



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

def executor_metrics
  @executor_metrics
end

#quantilesArray<Float>

Corresponds to the JSON property quantiles

Returns:

  • (Array<Float>)


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

def quantiles
  @quantiles
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2373
2374
2375
2376
# File 'lib/google/apis/dataproc_v1/classes.rb', line 2373

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