Waits until the specified long-running operation is done or reaches at most a specified timeout, returning the latest state. If the operation is already done, the latest state is immediately returned. If the timeout specified is greater than the default HTTP/RPC timeout, the HTTP/RPC timeout is used. If the server does not support this method, it returns google.rpc.Code.UNIMPLEMENTED. Note that this method is on a best-effort basis. It may return the latest state before the specified timeout (including immediately), meaning even an immediate response is no guarantee that the operation is done.
HTTP request
POST https://adsdatahub.googleapis.com/v1/{name=operations/**}:wait
The maximum duration to wait before timing out. If left blank, the wait will be at most the time permitted by the underlying HTTP/RPC protocol. If RPC context deadline is also specified, the shorter one will be used.
A duration in seconds with up to nine fractional digits, ending with 's'. Example: "3.5s".
Response body
If successful, the response body contains an instance of Operation.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2024-09-18 UTC."],[[["Waits for a specified operation to complete, returning the latest state or timing out after a set duration."],["Sends a POST request to the provided URL with operation name as a path parameter."],["Optionally, a timeout can be specified in the request body using the `timeout` field in Duration format."],["The response contains the Operation details if successful or an error if the operation fails or the server does not support the wait method."],["Requires authorization with the `https://www.googleapis.com/auth/adsdatahub` scope."]]],["The core content details a `POST` HTTP request to `wait` on a long-running operation. The request targets a specific operation resource identified by its `name` in the URL path. The request body, in JSON format, includes an optional `timeout` field specifying the maximum wait duration. Upon success, the response body returns an `Operation` instance. This operation requires the `https://www.googleapis.com/auth/adsdatahub` authorization scope. It is important to note that this method may return before the specified timeout.\n"]]