Method: operations.wait

Synchronous call that waits a given amount of time for a job to complete. If the timeout passes before the job completes, the 'done' field in the response will be false. If query execution has finished, Operation.result will be populated with a QueryResponse.

HTTP request


The URL uses gRPC Transcoding syntax.

Path parameters



The name of the operation resource.

Request body

The request body contains data with the following structure:

JSON representation
  "timeoutMs": string

string (int64 format)

Time to wait for the operation to complete. Default value is 10 seconds. A value less than or equal to 0 is ignored and the default value of 10 seconds is used instead.

Response body

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

Authorization Scopes

Requires one of the following OAuth scopes: