Method: customer.devices.chromeos.commands.get
קל לארגן דפים בעזרת אוספים
אפשר לשמור ולסווג תוכן על סמך ההעדפות שלך.
אחזור נתוני הפקודה של פקודה ספציפית שהופקה למכשיר.
בקשת HTTP
GET https://admin.googleapis.com/admin/directory/v1/customer/{customerId}/devices/chromeos/{deviceId}/commands/{commandId}
כתובת ה-URL משתמשת בתחביר של Transcoding של gRPC.
פרמטרים של נתיב
פרמטרים |
customerId |
string
לא ניתן לשינוי. המזהה של חשבון Google Workspace.
|
deviceId |
string
לא ניתן לשינוי. המזהה של מכשיר Chrome OS.
|
commandId |
string (int64 format)
לא ניתן לשינוי. המזהה של הפקודה למכשיר Chrome OS.
|
גוף הבקשה
גוף הבקשה חייב להיות ריק.
גוף התשובה
אם הפעולה מצליחה, גוף התגובה מכיל מופע של DirectoryChromeosdevicesCommand
.
היקפי הרשאה
נדרש אחד מהיקפי ההרשאות הבאים של OAuth:
https://www.googleapis.com/auth/admin.directory.device.chromeos
https://www.googleapis.com/auth/admin.directory.device.chromeos.readonly
מידע נוסף זמין במדריך ההרשאות.
אלא אם צוין אחרת, התוכן של דף זה הוא ברישיון Creative Commons Attribution 4.0 ודוגמאות הקוד הן ברישיון Apache 2.0. לפרטים, ניתן לעיין במדיניות האתר Google Developers. Java הוא סימן מסחרי רשום של חברת Oracle ו/או של השותפים העצמאיים שלה.
עדכון אחרון: 2025-07-25 (שעון UTC).
[null,null,["עדכון אחרון: 2025-07-25 (שעון UTC)."],[],[],null,["# Method: customer.devices.chromeos.commands.get\n\nGets command data a specific command issued to the device.\n\n### HTTP request\n\n`GET https://admin.googleapis.com/admin/directory/v1/customer/{customerId}/devices/chromeos/{deviceId}/commands/{commandId}`\n\nThe URL uses [gRPC Transcoding](https://google.aip.dev/127) syntax.\n\n### Path parameters\n\n| Parameters ||\n|--------------|--------------------------------------------------------------------------------------------------------------------------------|\n| `customerId` | `string` Immutable. ID of the Google Workspace account. |\n| `deviceId` | `string` Immutable. ID of Chrome OS Device. |\n| `commandId` | `string (`[int64](https://developers.google.com/discovery/v1/type-format)` format)` Immutable. ID of Chrome OS Device Command. |\n\n### Request body\n\nThe request body must be empty.\n\n### Response body\n\nIf successful, the response body contains an instance of [DirectoryChromeosdevicesCommand](/workspace/admin/directory/reference/rest/v1/customer.devices.chromeos.commands#DirectoryChromeosdevicesCommand).\n\n### Authorization scopes\n\nRequires one of the following OAuth scopes:\n\n- `https://www.googleapis.com/auth/admin.directory.device.chromeos`\n- `\n https://www.googleapis.com/auth/admin.directory.device.chromeos.readonly`\n\nFor more information, see the [Authorization guide](/workspace/guides/configure-oauth-consent)."]]