WaitOperationRequest
پیام درخواست برای Operations.WaitOperation
.
نمایندگی JSON |
---|
{
"name": string,
"timeout": string
} |
فیلدها |
---|
name | string نام منبع عملیاتی که باید منتظر ماند. |
timeout | string ( Duration format) حداکثر مدت زمان انتظار قبل از اتمام زمان. اگر خالی باقی بماند، انتظار حداکثر زمانی خواهد بود که پروتکل HTTP/RPC زیربنایی اجازه می دهد. اگر مهلت زمینه RPC نیز مشخص شده باشد، از مهلت کوتاهتر استفاده میشود. مدت زمان در ثانیه با حداکثر نه رقم کسری که با ' s ' ختم می شود. مثال: "3.5s" . |
جز در مواردی که غیر از این ذکر شده باشد،محتوای این صفحه تحت مجوز Creative Commons Attribution 4.0 License است. نمونه کدها نیز دارای مجوز Apache 2.0 License است. برای اطلاع از جزئیات، به خطمشیهای سایت Google Developers مراجعه کنید. جاوا علامت تجاری ثبتشده Oracle و/یا شرکتهای وابسته به آن است.
تاریخ آخرین بهروزرسانی 2025-02-05 بهوقت ساعت هماهنگ جهانی.
[null,null,["تاریخ آخرین بهروزرسانی 2025-02-05 بهوقت ساعت هماهنگ جهانی."],[[["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"]]