WaitOperationRequest
Sử dụng bộ sưu tập để sắp xếp ngăn nắp các trang
Lưu và phân loại nội dung dựa trên lựa chọn ưu tiên của bạn.
Thông báo yêu cầu dành cho Operations.WaitOperation
.
Biểu diễn dưới dạng JSON |
{
"name": string,
"timeout": string
} |
Trường |
name |
string
Tên của tài nguyên thao tác cần chờ.
|
timeout |
string (Duration format)
Khoảng thời gian tối đa phải chờ trước khi hết thời gian chờ. Nếu để trống, thời gian chờ sẽ tối đa là thời gian mà giao thức HTTP/RPC cơ bản cho phép. Nếu thời hạn theo bối cảnh RPC cũng được chỉ định, thì thời hạn ngắn hơn sẽ được sử dụng. Thời lượng tính bằng giây với tối đa 9 chữ số phân số, kết thúc bằng "s ". Ví dụ: "3.5s" .
|
Trừ phi có lưu ý khác, nội dung của trang này được cấp phép theo Giấy phép ghi nhận tác giả 4.0 của Creative Commons và các mẫu mã lập trình được cấp phép theo Giấy phép Apache 2.0. Để biết thông tin chi tiết, vui lòng tham khảo Chính sách trang web của Google Developers. Java là nhãn hiệu đã đăng ký của Oracle và/hoặc các đơn vị liên kết với Oracle.
Cập nhật lần gần đây nhất: 2025-08-31 UTC.
[null,null,["Cập nhật lần gần đây nhất: 2025-08-31 UTC."],[[["\u003cp\u003eThe \u003ccode\u003eOperations.WaitOperation\u003c/code\u003e request message uses JSON for data representation.\u003c/p\u003e\n"],["\u003cp\u003eIt includes two fields: \u003ccode\u003ename\u003c/code\u003e for the operation's name and \u003ccode\u003etimeout\u003c/code\u003e for the maximum waiting duration.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003etimeout\u003c/code\u003e field uses the \u003ccode\u003eDuration\u003c/code\u003e format and accepts values in seconds with up to nine fractional digits.\u003c/p\u003e\n"]]],["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"],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://protobuf.dev/reference/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\"`. |"]]