Google Cloud Dataflow V1beta3 Client - Class GetJobMetricsRequest (0.5.1)

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 \ V1beta3

Methods

__construct

Constructor.

Parameters
NameDescription
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
TypeDescription
string

setProjectId

A project id.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getJobId

The job to get metrics for.

Returns
TypeDescription
string

setJobId

The job to get metrics for.

Parameter
NameDescription
var string
Returns
TypeDescription
$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
TypeDescription
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
NameDescription
var Google\Protobuf\Timestamp
Returns
TypeDescription
$this

getLocation

The regional endpoint that contains the job specified by job_id.

Returns
TypeDescription
string

setLocation

The regional endpoint that contains the job specified by job_id.

Parameter
NameDescription
var string
Returns
TypeDescription
$this