Method: operations.wait

Waits a given amount of time for a job to complete. If it does not complete within this time, sends a cancel request and returns an error.

HTTP request

POST https://fullcirclequery.googleapis.com/v1/{name=operations/**}:wait

The URL uses gRPC Transcoding syntax.

Path parameters

Parameters
name

string

The name of the operation resource.

Request body

The request body contains data with the following structure:

JSON representation
{
  "timeoutMs": string
}
Fields
timeoutMs

string (int64 format)

Time to wait for the operation to complete. Default value is 10 seconds. If the operation does not complete within this time, a cancel request is sent. An explicit value of 0 is ignored; the default value of 10 seconds is used instead.

Response body

If successful, the response body will be empty.

Authorization Scopes

Requires one of the following OAuth scopes:

  • https://www.googleapis.com/auth/adsdatahub
  • https://www.googleapis.com/auth/xapi.zoo