Method: projects.deployments.replaceDeployment
יצירת פריסה או החלפת פריסה בשם שצוין.
בקשת HTTP
PUT https://gsuiteaddons.googleapis.com/v1/{deployment.name=projects/*/deployments/*}
כתובת ה-URL משתמשת בתחביר של Transcoding של gRPC.
פרמטרים של נתיב
פרמטרים |
deployment.name |
string
שם המשאב לפריסה. דוגמה: projects/123/deployments/my_deployment
|
גוף הבקשה
גוף הבקשה מכיל מופע של Deployment
.
גוף התשובה
אם הפעולה מצליחה, גוף התגובה מכיל מופע של Deployment
.
היקפי הרשאה
נדרש היקף הרשאות OAuth הבא:
https://www.googleapis.com/auth/cloud-platform
מידע נוסף זמין בOAuth 2.0 Overview.
אלא אם צוין אחרת, התוכן של דף זה הוא ברישיון Creative Commons Attribution 4.0 ודוגמאות הקוד הן ברישיון Apache 2.0. לפרטים, ניתן לעיין במדיניות האתר Google Developers. Java הוא סימן מסחרי רשום של חברת Oracle ו/או של השותפים העצמאיים שלה.
עדכון אחרון: 2025-02-27 (שעון UTC).
[null,null,["עדכון אחרון: 2025-02-27 (שעון UTC)."],[[["Creates or replaces a Google Workspace Add-on deployment with a specific name."],["Utilizes an HTTP PUT request with path parameters to identify the target deployment."],["Requires a request body containing the deployment details and an authorization scope for cloud platform access."],["Returns the updated deployment details in the response body upon successful execution."]]],["This documentation details the process of creating or replacing a deployment via a `PUT` HTTP request to the specified URL. The URL structure is defined using gRPC Transcoding, and the request requires a deployment name as a path parameter (e.g., `projects/123/deployments/my_deployment`). The request body and successful response both utilize the `Deployment` resource. The authorization scope required is `https://www.googleapis.com/auth/cloud-platform`. The documentation also provide a \"Try it!\" section to test the API.\n"]]