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 \ V1beta3Methods
__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<Google\Cloud\Dataflow\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\Internal\RepeatedField |
setMetrics
All metrics for this job.
Parameter | |
---|---|
Name | Description |
var |
array<Google\Cloud\Dataflow\V1beta3\MetricUpdate>
|
Returns | |
---|---|
Type | Description |
$this |