Method: partners.devices.get
HTTP 要求
GET https://androiddeviceprovisioning.googleapis.com/v1/{name=partners/*/devices/*}
這個網址使用 gRPC 轉碼語法。
路徑參數
參數 |
name |
string
必要欄位。裝置 API 資源名稱,格式為 partners/[PARTNER_ID]/devices/[DEVICE_ID] 。
|
回應主體
如果成功,回應主體會包含 Device
的執行例項。
授權範圍
需要下列 OAuth 範圍:
https://www.googleapis.com/auth/androidworkprovisioning
詳情請參閱 OAuth 2.0 總覽。
除非另有註明,否則本頁面中的內容是採用創用 CC 姓名標示 4.0 授權,程式碼範例則為阿帕契 2.0 授權。詳情請參閱《Google Developers 網站政策》。Java 是 Oracle 和/或其關聯企業的註冊商標。
上次更新時間:2024-08-07 (世界標準時間)。
[null,null,["上次更新時間:2024-08-07 (世界標準時間)。"],[[["This endpoint retrieves device information using a GET request to a specific URL format."],["The request URL requires a `name` path parameter, which specifies the device's resource name, including the partner and device ID."],["The request body for this operation must be empty, without any data."],["A successful response returns a `Device` object containing the details of the requested device."],["Authorization for this request requires the `https://www.googleapis.com/auth/androidworkprovisioning` OAuth scope."]]],["This outlines how to retrieve device information using a GET request to the specified URL: `https://androiddeviceprovisioning.googleapis.com/v1/{name=partners/*/devices/*}`. The `name` path parameter, in the format `partners/[PARTNER_ID]/devices/[DEVICE_ID]`, is mandatory. No request body is needed. A successful request returns a `Device` object in the response body. Authorization requires the `https://www.googleapis.com/auth/androidworkprovisioning` OAuth scope. The URL follows gRPC Transcoding syntax.\n"]]