WaitOperationRequest
ข้อความคำขอสำหรับ Operations.WaitOperation
การแสดง JSON |
{
"name": string,
"timeout": string
} |
ช่อง |
name |
string
ชื่อของทรัพยากรการดำเนินการที่จะรอ
|
timeout |
string (Duration format)
ระยะเวลาสูงสุดที่จะรอก่อนที่จะหมดเวลา หากเว้นว่างไว้ ระบบจะรอไม่เกินเวลาที่โปรโตคอล HTTP/RPC ที่เกี่ยวข้องอนุญาต หากมีการระบุกำหนดเวลาของบริบท RPC ด้วย ระบบจะใช้กำหนดเวลาที่สั้นกว่า ระยะเวลาเป็นวินาทีที่มีเศษทศนิยมได้สูงสุด 9 หลัก โดยลงท้ายด้วย s เช่น "3.5s"
|
เนื้อหาของหน้าเว็บนี้ได้รับอนุญาตภายใต้ใบอนุญาตที่ต้องระบุที่มาของครีเอทีฟคอมมอนส์ 4.0 และตัวอย่างโค้ดได้รับอนุญาตภายใต้ใบอนุญาต Apache 2.0 เว้นแต่จะระบุไว้เป็นอย่างอื่น โปรดดูรายละเอียดที่นโยบายเว็บไซต์ Google Developers Java เป็นเครื่องหมายการค้าจดทะเบียนของ Oracle และ/หรือบริษัทในเครือ
อัปเดตล่าสุด 2025-02-06 UTC
[null,null,["อัปเดตล่าสุด 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"]]