Method: partners.devices.get
HTTP リクエスト
GET https://androiddeviceprovisioning.googleapis.com/v1/{name=partners/*/devices/*}
この URL は gRPC Transcoding 構文を使用します。
パスパラメータ
パラメータ |
name |
string
必須。デバイス API リソース名。形式は partners/[PARTNER_ID]/devices/[DEVICE_ID] です。
|
リクエスト本文
リクエストの本文は空にする必要があります。
レスポンスの本文
成功した場合、レスポンスの本文には Device
のインスタンスが含まれます。
承認スコープ
次の OAuth スコープが必要です。
https://www.googleapis.com/auth/androidworkprovisioning
詳しくは、OAuth 2.0 の概要をご覧ください。
特に記載のない限り、このページのコンテンツはクリエイティブ・コモンズの表示 4.0 ライセンスにより使用許諾されます。コードサンプルは Apache 2.0 ライセンスにより使用許諾されます。詳しくは、Google Developers サイトのポリシーをご覧ください。Java は Oracle および関連会社の登録商標です。
最終更新日 2024-08-07 UTC。
[null,null,["最終更新日 2024-08-07 UTC。"],[[["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"]]