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.



4022
4023
4024
# File 'lib/google/apis/dataflow_v1b3/classes.rb', line 4022

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



4020
4021
4022
# File 'lib/google/apis/dataflow_v1b3/classes.rb', line 4020

def per_step_namespace_metrics
  @per_step_namespace_metrics
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



4027
4028
4029
# File 'lib/google/apis/dataflow_v1b3/classes.rb', line 4027

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