---
title: "POST /v1/{+name}:wait"
method: POST
path: "/v1/{+name}:wait"
tags: ["projects"]
---

# POST /v1/{+name}:wait

`POST /v1/{+name}:wait`

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.

## Path parameters

- `name` string, required

## Query parameters

- `timeout` string

## Response `200`

Successful response

---

[API](https://skmtc.net/google/apis/ondemandscanning.md) · [All operations](https://skmtc.net/google/apis/ondemandscanning/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/google/ondemandscanning/versions/f02a9365c606/schema)
