Method: projects.jobs.getMetrics

Request the job status in us-central1.

Use projects.locations.jobs.getMetrics for regionalization support.

HTTP request

GET https://dataflow.googleapis.com/v1b3/projects/{projectId}/jobs/{jobId}/metrics

The URL uses Google API HTTP annotation syntax.

Path parameters

Parameters
projectId

string

A project id.

jobId

string

The job to get messages for.

Query parameters

Parameters
startTime

string (Timestamp format)

Return only metric data that has changed since this time. Default is to return all information about all metrics for the job.

A timestamp in RFC3339 UTC "Zulu" format, accurate to nanoseconds. Example: "2014-10-02T15:01:23.045123456Z".

location

string

The location which contains the job specified by jobId.

Request body

The request body must be empty.

Response body

If successful, the response body contains an instance of JobMetrics.

Authorization

Requires one of the following OAuth scopes:

  • https://www.googleapis.com/auth/compute.readonly
  • https://www.googleapis.com/auth/compute
  • https://www.googleapis.com/auth/cloud-platform
  • https://www.googleapis.com/auth/userinfo.email

For more information, see the Auth Guide.

Was this page helpful? Let us know how we did:

Send feedback about...

Cloud Dataflow Documentation