Method: customers.devices.get
Ruft die Details eines Geräts ab.
HTTP-Anfrage
GET https://androiddeviceprovisioning.googleapis.com/v1/{name=customers/*/devices/*}
Die URL verwendet die Syntax der gRPC-Transcodierung.
Pfadparameter
Parameter |
name |
string
Erforderlich. Das gewünschte Gerät Ein API-Ressourcenname im Format customers/[CUSTOMER_ID]/devices/[DEVICE_ID] .
|
Anfragetext
Der Anfragetext muss leer sein.
Antworttext
Wenn der Vorgang erfolgreich abgeschlossen wurde, enthält der Antworttext eine Instanz von Device
.
Autorisierungsbereiche
Erfordert den folgenden OAuth-Bereich:
https://www.googleapis.com/auth/androidworkzerotouchemm
Weitere Informationen finden Sie in der Übersicht über OAuth 2.0.
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-08-07 (UTC).
[null,null,["Zuletzt aktualisiert: 2024-08-07 (UTC)."],[[["This endpoint retrieves detailed information about a specific device using its resource name."],["The request is made via a `GET` HTTP request to a URL following gRPC Transcoding syntax, with the device's identifier in the path."],["The request body must be empty, while a successful response will contain device details as an instance of the `Device` resource."],["The `name` path parameter is required and must follow the format `customers/[CUSTOMER_ID]/devices/[DEVICE_ID]`."],["Accessing this endpoint requires OAuth 2.0 authorization with the scope `https://www.googleapis.com/auth/androidworkzerotouchemm`."]]],["A `GET` request to `https://androiddeviceprovisioning.googleapis.com/v1/{name=customers/*/devices/*}` retrieves device details. The `name` path parameter, a string in the format `customers/[CUSTOMER_ID]/devices/[DEVICE_ID]`, is mandatory. The request body must be empty. Upon success, the response body returns a `Device` instance. Authorization requires the `https://www.googleapis.com/auth/androidworkzerotouchemm` OAuth scope. The url uses gRPC Transcoding.\n"]]