Method: projects.deployments.getInstallStatus
Pobiera stan instalacji testowego wdrożenia.
Żądanie HTTP
GET https://gsuiteaddons.googleapis.com/v1/{name=projects/*/deployments/*/installStatus}
Adres URL używa składni transkodowania gRPC.
Parametry ścieżki
Parametry |
name |
string
Wymagane. Pełna nazwa zasobu wdrożenia. Przykład: projects/my_project/deployments/my_deployment/installStatus .
Autoryzacja wymaga tych uprawnień IAM w przypadku określonego zasobu: name
gsuiteaddons.deployments.installStatus
|
Treść żądania
Treść żądania musi być pusta.
Treść odpowiedzi
Stan instalacji wdrożenia testowego.
W przypadku powodzenia treść żądania zawiera dane o następującej strukturze:
Zapis JSON |
{
"name": string,
"installed": boolean
} |
Pola |
name |
string
Kanoniczna pełna nazwa zasobu stanu instalacji wdrożenia. Przykład: projects/123/deployments/my_deployment/installStatus .
|
installed |
boolean
Wartość Prawda, jeśli wdrożenie jest zainstalowane u użytkownika.
|
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."],[[["Retrieves the installation status of a specific Google Workspace Add-on deployment."],["Requires the deployment's full resource name as a path parameter and an empty request body."],["Returns a JSON response indicating whether the deployment is installed for the user along with the deployment's full resource name."],["Needs authorization with the `https://www.googleapis.com/auth/cloud-platform` scope for access."]]],["This document details retrieving the installation status of a test deployment. A `GET` request to a specific URL using gRPC Transcoding syntax is made, including a `name` path parameter identifying the deployment. The request body is empty. The response contains a JSON object with the deployment's resource `name` and a boolean `installed` status. Authorization requires an IAM permission (`gsuiteaddons.deployments.installStatus`) and the OAuth scope (`https://www.googleapis.com/auth/cloud-platform`).\n"]]