WaitOperationRequest
Сообщение запроса для Operations.WaitOperation
.
JSON-представление |
---|
{
"name": string,
"timeout": string
} |
Поля |
---|
name | string Имя ресурса операции, от которого ожидается. |
timeout | string ( Duration format) Максимальная продолжительность ожидания до истечения времени ожидания. Если оставить это поле пустым, время ожидания будет максимально разрешено базовым протоколом HTTP/RPC. Если также указан крайний срок контекста RPC, будет использоваться более короткий срок. Длительность в секундах, содержащая до девяти дробных цифр и оканчивающаяся на « s ». Пример: "3.5s" . |
Если не указано иное, контент на этой странице предоставляется по лицензии Creative Commons "С указанием авторства 4.0", а примеры кода – по лицензии Apache 2.0. Подробнее об этом написано в правилах сайта. Java – это зарегистрированный товарный знак корпорации Oracle и ее аффилированных лиц.
Последнее обновление: 2025-02-05 UTC.
[null,null,["Последнее обновление: 2025-02-05 UTC."],[[["The `Operations.WaitOperation` request message is used to wait for the completion of a long-running operation."],["The request message includes the `name` of the operation to wait on and an optional `timeout` duration."],["The `timeout` is specified using the `Duration` format and determines the maximum waiting time before the request times out."]]],["The `Operations.WaitOperation` request requires two fields: `name` and `timeout`. The `name` field, a string, specifies the operation resource to monitor. The `timeout` field, also a string in duration format (e.g., \"3.5s\"), sets the maximum wait time. If `timeout` is not specified, the default is the HTTP/RPC protocol's maximum. The shorter duration between `timeout` and any specified RPC context deadline is applied.\n"]]