Method: customer.devices.chromeos.commands.get
Ruft Befehlsdaten für einen bestimmten Befehl an das Gerät ab.
HTTP-Anfrage
GET https://admin.googleapis.com/admin/directory/v1/customer/{customerId}/devices/chromeos/{deviceId}/commands/{commandId}
Die URL verwendet die Syntax der gRPC-Transcodierung.
Pfadparameter
Parameter |
customerId |
string
Nicht veränderbar. ID des Google Workspace-Kontos.
|
deviceId |
string
Nicht veränderbar. ID des Chrome OS-Geräts.
|
commandId |
string (int64 format)
Nicht veränderbar. ID des Chrome OS-Gerätebefehls.
|
Anfragetext
Der Anfragetext muss leer sein.
Antworttext
Wenn der Vorgang erfolgreich abgeschlossen wurde, enthält der Antworttext eine Instanz von DirectoryChromeosdevicesCommand
.
Autorisierungsbereiche
Erfordert einen der folgenden OAuth-Bereiche:
https://www.googleapis.com/auth/admin.directory.device.chromeos
https://www.googleapis.com/auth/admin.directory.device.chromeos.readonly
Weitere Informationen finden Sie im Leitfaden zur Autorisierung.
Sofern nicht anders angegeben, sind die Inhalte dieser Seite unter der Creative Commons Attribution 4.0 License und Codebeispiele unter der Apache 2.0 License lizenziert. Weitere Informationen finden Sie in den Websiterichtlinien von Google Developers. Java ist eine eingetragene Marke von Oracle und/oder seinen Partnern.
Zuletzt aktualisiert: 2024-05-15 (UTC).
[null,null,["Zuletzt aktualisiert: 2024-05-15 (UTC)."],[[["Retrieves details for a specific command previously issued to a Chrome OS device within a Google Workspace account."],["The request requires providing the customer ID, device ID, and the specific command ID."],["An empty request body is needed, and a successful response provides a `DirectoryChromeosdevicesCommand` object containing the command data."],["Authorization requires specific OAuth scopes related to Chrome OS device management within the Google Workspace domain."]]],["This API endpoint retrieves data for a specific command issued to a Chrome OS device. The request uses a `GET` method with a URL containing the `customerId`, `deviceId`, and `commandId` as path parameters. The request body must be empty. A successful response returns a `DirectoryChromeosdevicesCommand` instance. Authorization requires either the `admin.directory.device.chromeos` or `admin.directory.device.chromeos.readonly` OAuth scope.\n"]]