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 ודוגמאות הקוד הן ברישיון Apache 2.0. לפרטים, ניתן לעיין במדיניות האתר Google Developers. Java הוא סימן מסחרי רשום של חברת Oracle ו/או של השותפים העצמאיים שלה.
עדכון אחרון: 2025-08-31 (שעון UTC).
[null,null,["עדכון אחרון: 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\"`. |"]]