Class: Google::Apis::DataflowV1b3::PerWorkerMetrics

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/dataflow_v1b3/classes.rb,
lib/google/apis/dataflow_v1b3/representations.rb,
lib/google/apis/dataflow_v1b3/representations.rb

Overview

Per worker metrics.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ PerWorkerMetrics

Returns a new instance of PerWorkerMetrics.



4208
4209
4210
# File 'lib/google/apis/dataflow_v1b3/classes.rb', line 4208

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

Instance Attribute Details

#per_step_namespace_metricsArray<Google::Apis::DataflowV1b3::PerStepNamespaceMetrics>

Optional. Metrics for a particular unfused step and namespace. Corresponds to the JSON property perStepNamespaceMetrics



4206
4207
4208
# File 'lib/google/apis/dataflow_v1b3/classes.rb', line 4206

def per_step_namespace_metrics
  @per_step_namespace_metrics
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



4213
4214
4215
# File 'lib/google/apis/dataflow_v1b3/classes.rb', line 4213

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