Method: customers.devices.get
Gets the details of a device.
HTTP request
GET https://androiddeviceprovisioning.googleapis.com/v1/{name=customers/*/devices/*}
The URL uses gRPC Transcoding syntax.
Path parameters
Parameters |
name |
string
Required. The device to get. An API resource name in the format customers/[CUSTOMER_ID]/devices/[DEVICE_ID] .
|
Request body
The request body must be empty.
Response body
If successful, the response body contains an instance of Device
.
Authorization Scopes
Requires the following OAuth scope:
https://www.googleapis.com/auth/androidworkzerotouchemm
For more information, see the OAuth 2.0 Overview.
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-08-07 UTC.
[null,null,["Last updated 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`."]]],[]]