class Google::Apis::DataflowV1b3::JobMetrics
JobMetrics
contains a collection of metrics describing the detailed progress of a Dataflow job. Metrics correspond to user-defined and system-defined metrics in the job. This resource captures only the most recent values of each metric; time-series data can be queried for them (under the same metric names) from Cloud Monitoring.
Attributes
metric_time[RW]
Timestamp as of which metric values are current. Corresponds to the JSON property `metricTime` @return [String]
metrics[RW]
All metrics for this job. Corresponds to the JSON property `metrics` @return [Array<Google::Apis::DataflowV1b3::MetricUpdate>]
Public Class Methods
new(**args)
click to toggle source
# File lib/google/apis/dataflow_v1b3/classes.rb, line 2378 def initialize(**args) update!(**args) end
Public Instance Methods
update!(**args)
click to toggle source
Update properties of this object
# File lib/google/apis/dataflow_v1b3/classes.rb, line 2383 def update!(**args) @metric_time = args[:metric_time] if args.key?(:metric_time) @metrics = args[:metrics] if args.key?(:metrics) end