WaitOperationRequest
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: 2024-08-21 UTC.
[null,null,["Cập nhật lần gần đây nhất: 2024-08-21 UTC."],[[["The `Operations.WaitOperation` request message uses JSON for data representation."],["It includes two fields: `name` for the operation's name and `timeout` for the maximum waiting duration."],["The `timeout` field uses the `Duration` format and accepts values in seconds with up to nine fractional digits."]]],["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"]]