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


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. 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: