Method: projects.jobs.update

Updates the state of an existing Cloud Dataflow job.

To update the state of an existing job, we recommend using projects.locations.jobs.update with a regional endpoint. Using projects.jobs.update is not recommended, as you can only update the state of jobs that are running in us-central1.

HTTP request

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

The URL uses gRPC Transcoding syntax.

Path parameters

Parameters
projectId

string

The ID of the Cloud Platform project that the job belongs to.

jobId

string

The job ID.

Query parameters

Parameters
location

string

The regional endpoint that contains this job.

Request body

The request body contains an instance of Job.

Response body

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

Authorization Scopes

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 Authentication Overview.

Hai trovato utile questa pagina? Facci sapere cosa ne pensi:

Invia feedback per...

Hai bisogno di assistenza? Visita la nostra pagina di assistenza.