Reference documentation and code samples for the Google Cloud Dataflow V1beta3 Client class GetJobMetricsRequest.
Request to get job metrics.
Generated from protobuf message google.dataflow.v1beta3.GetJobMetricsRequest
Namespace
Google \ Cloud \ Dataflow \ V1beta3Methods
__construct
Constructor.
| Parameters | |
|---|---|
| Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ project_id |
string
A project id. |
↳ job_id |
string
The job to get metrics for. |
↳ start_time |
Google\Protobuf\Timestamp
Return only metric data that has changed since this time. Default is to return all information about all metrics for the job. |
↳ location |
string
The regional endpoint that contains the job specified by job_id. |
getProjectId
A project id.
| Returns | |
|---|---|
| Type | Description |
string |
|
setProjectId
A project id.
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getJobId
The job to get metrics for.
| Returns | |
|---|---|
| Type | Description |
string |
|
setJobId
The job to get metrics for.
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getStartTime
Return only metric data that has changed since this time.
Default is to return all information about all metrics for the job.
| Returns | |
|---|---|
| Type | Description |
Google\Protobuf\Timestamp|null |
|
hasStartTime
clearStartTime
setStartTime
Return only metric data that has changed since this time.
Default is to return all information about all metrics for the job.
| Parameter | |
|---|---|
| Name | Description |
var |
Google\Protobuf\Timestamp
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getLocation
The regional endpoint that contains the job specified by job_id.
| Returns | |
|---|---|
| Type | Description |
string |
|
setLocation
The regional endpoint that contains the job specified by job_id.
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|