Google Cloud Dataflow V1beta3 Client - Class JobMetrics (0.5.1)

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.

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
NameDescription
data array

Optional. Data for populating the Message object.

↳ metric_time Google\Protobuf\Timestamp

Timestamp as of which metric values are current.

↳ metrics array<Google\Cloud\Dataflow\V1beta3\MetricUpdate>

All metrics for this job.

getMetricTime

Timestamp as of which metric values are current.

Returns
TypeDescription
Google\Protobuf\Timestamp|null

hasMetricTime

clearMetricTime

setMetricTime

Timestamp as of which metric values are current.

Parameter
NameDescription
var Google\Protobuf\Timestamp
Returns
TypeDescription
$this

getMetrics

All metrics for this job.

Returns
TypeDescription
Google\Protobuf\Internal\RepeatedField

setMetrics

All metrics for this job.

Parameter
NameDescription
var array<Google\Cloud\Dataflow\V1beta3\MetricUpdate>
Returns
TypeDescription
$this