Method: customers.devices.get
Recupera i dettagli di un dispositivo.
Richiesta HTTP
GET https://androiddeviceprovisioning.googleapis.com/v1/{name=customers/*/devices/*}
L'URL utilizza la sintassi di transcodifica gRPC.
Parametri del percorso
Parametri |
name |
string
Obbligatorio. Il dispositivo da ottenere. Un nome di risorsa API nel formato customers/[CUSTOMER_ID]/devices/[DEVICE_ID] .
|
Corpo della richiesta
Il corpo della richiesta deve essere vuoto.
Corpo della risposta
In caso di esito positivo, il corpo della risposta contiene un'istanza di Device
.
Ambiti di autorizzazione
Richiede il seguente ambito OAuth:
https://www.googleapis.com/auth/androidworkzerotouchemm
Per ulteriori informazioni, consulta la panoramica di OAuth 2.0.
Salvo quando diversamente specificato, i contenuti di questa pagina sono concessi in base alla licenza Creative Commons Attribution 4.0, mentre gli esempi di codice sono concessi in base alla licenza Apache 2.0. Per ulteriori dettagli, consulta le norme del sito di Google Developers. Java è un marchio registrato di Oracle e/o delle sue consociate.
Ultimo aggiornamento 2024-08-07 UTC.
[null,null,["Ultimo aggiornamento 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"]]