Method: projects.deployments.delete
Usuwa wdrożoną wersję o podanej nazwie.
Żądanie HTTP
DELETE https://gsuiteaddons.googleapis.com/v1/{name=projects/*/deployments/*}
Adres URL używa składni transkodowania gRPC.
Parametry ścieżki
Parametry |
name |
string
Wymagane. Pełna nazwa zasobu wdrożenia, które chcesz usunąć. Przykład: projects/my_project/deployments/my_deployment .
Autoryzacja wymaga tych uprawnień IAM w przypadku określonego zasobu: name
gsuiteaddons.deployments.delete
|
Parametry zapytania
Parametry |
etag |
string
Etag wdrożenia, które chcesz usunąć. Jeśli podasz ten identyfikator, musi on być zgodny z etykietą serwera.
|
Treść żądania
Treść żądania musi być pusta.
Treść odpowiedzi
W przypadku powodzenia treść odpowiedzi to pusty obiekt JSON.
Zakresy autoryzacji
Wymaga następującego zakresu OAuth:
https://www.googleapis.com/auth/cloud-platform
Więcej informacji znajdziesz w OAuth 2.0 Overview.
O ile nie stwierdzono inaczej, treść tej strony jest objęta licencją Creative Commons – uznanie autorstwa 4.0, a fragmenty kodu są dostępne na licencji Apache 2.0. Szczegółowe informacje na ten temat zawierają zasady dotyczące witryny Google Developers. Java jest zastrzeżonym znakiem towarowym firmy Oracle i jej podmiotów stowarzyszonych.
Ostatnia aktualizacja: 2025-01-15 UTC.
[null,null,["Ostatnia aktualizacja: 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"]]