# Dataflow V1beta3 API - Class Google::Cloud::Dataflow::V1beta3::JobMetrics (v0.17.0)

0.17.0 (latest) 0.16.0 0.15.0 0.14.1 0.13.1 0.12.1 0.11.0 0.10.0 0.9.1 0.8.2 0.7.0 0.6.0 0.5.0 0.4.0 0.3.0 0.2.0 0.1.4 Reference documentation and code samples for the Dataflow V1beta3 API class Google::Cloud::Dataflow::V1beta3::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. For more information, see [Dataflow job metrics](https://cloud.google.com/dataflow/docs/guides/using-monitoring-intf).


<br />

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.

## Inherits

- Object

## Extended By

- Google::Protobuf::MessageExts::ClassMethods

## Includes

- Google::Protobuf::MessageExts

## Methods

### #metric_time

    def metric_time() -> ::Google::Protobuf::Timestamp

**Returns**

- ([::Google::Protobuf::Timestamp](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-dataflow-v1beta3/latest/Google-Protobuf-Timestamp)) --- Timestamp as of which metric values are current.

### #metric_time=

    def metric_time=(value) -> ::Google::Protobuf::Timestamp

**Parameter**

- **value** ([::Google::Protobuf::Timestamp](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-dataflow-v1beta3/latest/Google-Protobuf-Timestamp)) --- Timestamp as of which metric values are current.
**Returns**

- ([::Google::Protobuf::Timestamp](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-dataflow-v1beta3/latest/Google-Protobuf-Timestamp)) --- Timestamp as of which metric values are current.

### #metrics

    def metrics() -> ::Array<::Google::Cloud::Dataflow::V1beta3::MetricUpdate>

**Returns**

- (::Array\<[::Google::Cloud::Dataflow::V1beta3::MetricUpdate](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-dataflow-v1beta3/latest/Google-Cloud-Dataflow-V1beta3-MetricUpdate)\>) --- All metrics for this job.

### #metrics=

    def metrics=(value) -> ::Array<::Google::Cloud::Dataflow::V1beta3::MetricUpdate>

**Parameter**

- **value** (::Array\<[::Google::Cloud::Dataflow::V1beta3::MetricUpdate](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-dataflow-v1beta3/latest/Google-Cloud-Dataflow-V1beta3-MetricUpdate)\>) --- All metrics for this job.
**Returns**

- (::Array\<[::Google::Cloud::Dataflow::V1beta3::MetricUpdate](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-dataflow-v1beta3/latest/Google-Cloud-Dataflow-V1beta3-MetricUpdate)\>) --- All metrics for this job.