WaitOperationRequest
El mensaje de solicitud para Operations.WaitOperation
.
Representación JSON |
{
"name": string,
"timeout": string
} |
Campos |
name |
string
El nombre del recurso de la operación por esperar.
|
timeout |
string (Duration format)
La duración máxima a esperar antes de que se agote el tiempo. Si se deja en blanco, la espera será como máximo el tiempo que permite el protocolo HTTP/RPC subyacente. Si también se especifica el plazo del contexto de RPC, se usará el que resulte más corto. Una duración en segundos con hasta nueve dígitos decimales, que terminan en “s ”. Ejemplo: "3.5s" .
|
Salvo que se indique lo contrario, el contenido de esta página está sujeto a la licencia Atribución 4.0 de Creative Commons, y los ejemplos de código están sujetos a la licencia Apache 2.0. Para obtener más información, consulta las políticas del sitio de Google Developers. Java es una marca registrada de Oracle o sus afiliados.
Última actualización: 2025-02-06 (UTC)
[null,null,["Última actualización: 2025-02-06 (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"]]