Method: projects.deployments.delete
מחיקה של הפריסה עם השם שצוין.
בקשת HTTP
DELETE https://gsuiteaddons.googleapis.com/v1/{name=projects/*/deployments/*}
כתובת ה-URL משתמשת בתחביר של Transcoding של gRPC.
פרמטרים של נתיב
פרמטרים |
name |
string
חובה. השם המלא של המשאב של הפריסה שרוצים למחוק. דוגמה: projects/my_project/deployments/my_deployment
כדי לקבל הרשאה, נדרשת ההרשאה הבאה ב-IAM למשאב שצוין name :
gsuiteaddons.deployments.delete
|
פרמטרים של שאילתה
פרמטרים |
etag |
string
ה-etag של הפריסה שרוצים למחוק. אם הוא מסופק, הוא חייב להתאים ל-etag של השרת.
|
גוף הבקשה
גוף הבקשה חייב להיות ריק.
גוף התשובה
אם הפעולה בוצעה ללא שגיאות, גוף התגובה הוא אובייקט JSON ריק.
היקפי הרשאה
נדרש היקף ההרשאות הבא של 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-01-15 (שעון UTC).
[null,null,["עדכון אחרון: 2025-01-15 (שעון UTC)."],[[["This document details how to delete a Google Workspace Add-on deployment using the `DELETE` HTTP request method."],["The request requires specifying the deployment's name as a path parameter and optionally an etag as a query parameter for concurrency control."],["Successful deletion results in an empty JSON response body, indicating the deployment has been removed."],["Authorization for this operation necessitates the `cloud-platform` OAuth scope and the `gsuiteaddons.deployments.delete` IAM permission."],["The request body should be empty when sending the delete request."]]],["This document details the process of deleting a deployment using an HTTP DELETE request. The request URL, employing gRPC Transcoding syntax, requires a `name` path parameter, specifying the deployment's full resource name. Optionally, the `etag` query parameter can be used for conditional deletion. The request body must be empty. Successful deletion returns an empty JSON object. This action requires the `gsuiteaddons.deployments.delete` IAM permission and the `https://www.googleapis.com/auth/cloud-platform` OAuth scope.\n"]]