0.11.3 (latest) 0.10.0 0.9.3 0.8.2 0.7.1 0.6.6 0.5.1 0.4.1 0.3.10

> [!WARNING]
> **Beta**
>
>
> This library is covered by the [Pre-GA Offerings Terms](https://docs.cloud.google.com/terms/service-terms#1)
> of the Terms of Service. Pre-GA libraries might have limited support,
> and changes to pre-GA libraries might not be compatible with other pre-GA versions.
> For more information, see the
> [launch stage descriptions](https://docs.cloud.google.com/products#product-launch-stages).

Reference documentation and code samples for the Google Cloud Dataflow V1beta3 Client class 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).

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.

Generated from protobuf message `google.dataflow.v1beta3.JobMetrics`

## Namespace

Google \\ Cloud \\ Dataflow \\ V1beta3

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ metric_time` | `Google\Protobuf\Timestamp` Timestamp as of which metric values are current. |
| `↳ metrics` | `array<https://docs.cloud.google.com/php/docs/reference/cloud-dataflow/latest/V1beta3.MetricUpdate>` All metrics for this job. |

### getMetricTime

Timestamp as of which metric values are current.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `Google\Protobuf\Timestamp|null` |   |

### hasMetricTime

### clearMetricTime

### setMetricTime

Timestamp as of which metric values are current.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `Google\Protobuf\Timestamp` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |

### getMetrics

All metrics for this job.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `Google\Protobuf\RepeatedField<https://docs.cloud.google.com/php/docs/reference/cloud-dataflow/latest/V1beta3.MetricUpdate>` |   |

### setMetrics

All metrics for this job.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `array<https://docs.cloud.google.com/php/docs/reference/cloud-dataflow/latest/V1beta3.MetricUpdate>` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |