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.
3956 3957 3958 |
# File 'lib/google/apis/dataflow_v1b3/classes.rb', line 3956 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
3943 3944 3945 |
# File 'lib/google/apis/dataflow_v1b3/classes.rb', line 3943 def metric_values @metric_values end |
#metrics_namespace ⇒ String
The namespace of these metrics on the worker.
Corresponds to the JSON property metricsNamespace
3948 3949 3950 |
# File 'lib/google/apis/dataflow_v1b3/classes.rb', line 3948 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
3954 3955 3956 |
# File 'lib/google/apis/dataflow_v1b3/classes.rb', line 3954 def original_step @original_step end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
3961 3962 3963 3964 3965 |
# File 'lib/google/apis/dataflow_v1b3/classes.rb', line 3961 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 |