Method: projects.deployments.uninstall
Zadbaj o dobrą organizację dzięki kolekcji
Zapisuj i kategoryzuj treści zgodnie ze swoimi preferencjami.
Odinstaluj testowe wdrożenie z konta użytkownika. Więcej informacji znajdziesz w artykule Testowanie dodatku.
Żądanie HTTP
POST https://gsuiteaddons.googleapis.com/v1/{name=projects/*/deployments/*}:uninstall
Adres URL używa składni transkodowania gRPC.
Parametry ścieżki
Parametry |
name |
string
Wymagane. Pełna nazwa zasobu wdrożenia do zainstalowania. Przykład: projects/my_project/deployments/my_deployment .
Autoryzacja wymaga tych uprawnień IAM w przypadku określonego zasobu: name
gsuiteaddons.deployments.execute
|
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 przewodniku dotyczącym autoryzacji.
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-04-22 UTC.
[null,null,["Ostatnia aktualizacja: 2025-04-22 UTC."],[[["\u003cp\u003eUninstalls a specified test deployment from a user's account.\u003c/p\u003e\n"],["\u003cp\u003eRequires an empty request body and returns an empty JSON object upon successful completion.\u003c/p\u003e\n"],["\u003cp\u003eUses the \u003ccode\u003ePOST\u003c/code\u003e method with the URL \u003ccode\u003ehttps://gsuiteaddons.googleapis.com/v1/{name=projects/*/deployments/*}:uninstall\u003c/code\u003e, where \u003ccode\u003e{name}\u003c/code\u003e represents the deployment's full resource name.\u003c/p\u003e\n"],["\u003cp\u003eNeeds the \u003ccode\u003egsuiteaddons.deployments.execute\u003c/code\u003e IAM permission and the \u003ccode\u003ehttps://www.googleapis.com/auth/cloud-platform\u003c/code\u003e OAuth scope for authorization.\u003c/p\u003e\n"]]],["This document outlines how to uninstall a test deployment from a user's account via an HTTP POST request. The request is sent to a specific URL, incorporating a required path parameter, `name`, which identifies the deployment. The request body must be empty. Successful uninstallation results in an empty JSON response. Authorization requires the `gsuiteaddons.deployments.execute` IAM permission and the `https://www.googleapis.com/auth/cloud-platform` OAuth scope. The provided URL uses gRPC Transcoding syntax.\n"],null,[]]