WaitOperationRequest
使用集合让一切井井有条
根据您的偏好保存内容并对其进行分类。
Operations.WaitOperation
的请求消息。
JSON 表示法 |
{
"name": string,
"timeout": string
} |
字段 |
name |
string
要等待的操作资源的名称。
|
timeout |
string (Duration format)
超时之前等待的最长时间。如果将此字段留空,则等待时间最长为底层 HTTP/RPC 协议允许的时间。如果还指定了 RPC 上下文截止时间,则以二者中较短者为准。 该时长以秒为单位,最多包含九个小数位,以“s ”结尾。示例:"3.5s" 。
|
如未另行说明,那么本页面中的内容已根据知识共享署名 4.0 许可获得了许可,并且代码示例已根据 Apache 2.0 许可获得了许可。有关详情,请参阅 Google 开发者网站政策。Java 是 Oracle 和/或其关联公司的注册商标。
最后更新时间 (UTC):2025-07-25。
[null,null,["最后更新时间 (UTC):2025-07-25。"],[[["\u003cp\u003eThe content describes the JSON representation and fields for the \u003ccode\u003eOperations.WaitOperation\u003c/code\u003e request message.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003ename\u003c/code\u003e field is a string representing the name of the operation resource.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003etimeout\u003c/code\u003e field is a string in Duration format, specifying the maximum wait time, which defaults to the underlying protocol's time if left blank.\u003c/p\u003e\n"]]],["The core content defines the `Operations.WaitOperation` request, represented in JSON with two fields: `name` and `timeout`. `name` specifies the operation's resource name as a string. `timeout` is a string defining the maximum wait duration, formatted as a Duration, with an example given as `\"3.5s\"`. If `timeout` is left blank, the HTTP/RPC protocol determines the maximum wait time. The shorter of either the specified `timeout` or the RPC context deadline will be used.\n"],null,["# WaitOperationRequest\n\n- [JSON representation](#SCHEMA_REPRESENTATION)\n\nThe request message for `Operations.WaitOperation`.\n\n| JSON representation |\n|-----------------------------------------------|\n| ``` { \"name\": string, \"timeout\": string } ``` |\n\n| Fields ||\n|-----------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `name` | `string` The name of the operation resource to wait on. |\n| `timeout` | `string (`[Duration](https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#google.protobuf.Duration)` format)` 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\"`. |"]]