WaitOperationRequest
Thông báo yêu cầu 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)
Thời lượng tối đa để chờ trước khi hết thời gian chờ. Nếu bạn để trống, thời gian chờ sẽ là tối đa thời gian mà giao thức HTTP/RPC cơ bản cho phép. Nếu bạn cũng chỉ định thời hạn ngữ cảnh RPC, thì thời hạn ngắn hơn sẽ được sử dụng. Thời lượng tính bằng giây, có tối đa 9 chữ số thập phân, 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-02-06 UTC.
[null,null,["Cập nhật lần gần đây nhất: 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"]]