Method: projects.locations.operations.get
קבלת המצב העדכני של פעולה ממושכת. לקוחות יכולים להשתמש בשיטה הזו כדי לדגום את תוצאת הפעולה במרווחים, בהתאם להמלצה של שירות ה-API.
בקשת HTTP
GET https://routeoptimization.googleapis.com/v1/{name=projects/*/locations/*/operations/*}
בכתובת ה-URL נעשה שימוש בתחביר המרת קידוד של gRPC.
פרמטרים של נתיב
פרמטרים |
name |
string
השם של משאב הפעולה.
|
גוף הבקשה
גוף הבקשה חייב להיות ריק.
גוף התשובה
אם הפעולה בוצעה ללא שגיאות, גוף התגובה מכיל מופע של Operation
.
היקפי הרשאות
נדרש היקף ההרשאות הבא של OAuth:
https://www.googleapis.com/auth/cloud-platform
אלא אם צוין אחרת, התוכן של דף זה הוא ברישיון Creative Commons Attribution 4.0 ודוגמאות הקוד הן ברישיון Apache 2.0. לפרטים, ניתן לעיין במדיניות האתר Google Developers. Java הוא סימן מסחרי רשום של חברת Oracle ו/או של השותפים העצמאיים שלה.
עדכון אחרון: 2024-04-08 (שעון UTC).
[null,null,["עדכון אחרון: 2024-04-08 (שעון UTC)."],[[["This method allows clients to retrieve the latest status of a long-running operation by polling at intervals."],["It uses an HTTP GET request to a specific URL containing the operation resource name."],["An empty request body is required, and the response provides an Operation object detailing the operation's status."],["Authorization requires the `https://www.googleapis.com/auth/cloud-platform` OAuth scope and the `routeoptimization.operations.get` IAM permission on the operation resource."]]],[]]