Method: projects.deployments.getInstallStatus
הפונקציה מקבלת את סטטוס ההתקנה של פריסה לבדיקה.
בקשת HTTP
GET https://gsuiteaddons.googleapis.com/v1/{name=projects/*/deployments/*/installStatus}
כתובת ה-URL משתמשת בתחביר של Transcoding של gRPC.
פרמטרים של נתיב
פרמטרים |
name |
string
חובה. שם המשאב המלא של הפריסה. דוגמה: projects/my_project/deployments/my_deployment/installStatus
כדי לקבל הרשאה, נדרשת ההרשאה הבאה של IAM במשאב שצוין name :
gsuiteaddons.deployments.installStatus
|
גוף הבקשה
גוף הבקשה חייב להיות ריק.
גוף התשובה
סטטוס ההתקנה של פריסה לבדיקה.
אם הפעולה מצליחה, גוף התגובה מכיל נתונים במבנה הבא:
ייצוג ב-JSON |
{
"name": string,
"installed": boolean
} |
שדות |
name |
string
השם המלא הקנוני של המשאב של סטטוס ההתקנה של הפריסה. דוגמה: projects/123/deployments/my_deployment/installStatus
|
installed |
boolean
הערך True אם הפריסה מותקנת עבור המשתמש.
|
היקפי הרשאה
נדרש היקף ההרשאות הבא של 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)."],[[["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"]]