Class: Google::Apis::DataflowV1b3::PerStepNamespaceMetrics
- Inherits:
-
Object
- Object
- Google::Apis::DataflowV1b3::PerStepNamespaceMetrics
- 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
Metrics for a particular unfused step and namespace. A metric is uniquely
identified by the metrics_namespace
, original_step
, metric name
and
metric_labels
.
Instance Attribute Summary collapse
-
#metric_values ⇒ Array<Google::Apis::DataflowV1b3::MetricValue>
Optional.
-
#metrics_namespace ⇒ String
The namespace of these metrics on the worker.
-
#original_step ⇒ String
The original system name of the unfused step that these metrics are reported from.
Instance Method Summary collapse
-
#initialize(**args) ⇒ PerStepNamespaceMetrics
constructor
A new instance of PerStepNamespaceMetrics.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ PerStepNamespaceMetrics
Returns a new instance of PerStepNamespaceMetrics.
4001 4002 4003 |
# File 'lib/google/apis/dataflow_v1b3/classes.rb', line 4001 def initialize(**args) update!(**args) end |
Instance Attribute Details
#metric_values ⇒ Array<Google::Apis::DataflowV1b3::MetricValue>
Optional. Metrics that are recorded for this namespace and unfused step.
Corresponds to the JSON property metricValues
3988 3989 3990 |
# File 'lib/google/apis/dataflow_v1b3/classes.rb', line 3988 def metric_values @metric_values end |
#metrics_namespace ⇒ String
The namespace of these metrics on the worker.
Corresponds to the JSON property metricsNamespace
3993 3994 3995 |
# File 'lib/google/apis/dataflow_v1b3/classes.rb', line 3993 def metrics_namespace @metrics_namespace end |
#original_step ⇒ String
The original system name of the unfused step that these metrics are reported
from.
Corresponds to the JSON property originalStep
3999 4000 4001 |
# File 'lib/google/apis/dataflow_v1b3/classes.rb', line 3999 def original_step @original_step end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
4006 4007 4008 4009 4010 |
# File 'lib/google/apis/dataflow_v1b3/classes.rb', line 4006 def update!(**args) @metric_values = args[:metric_values] if args.key?(:metric_values) @metrics_namespace = args[:metrics_namespace] if args.key?(:metrics_namespace) @original_step = args[:original_step] if args.key?(:original_step) end |