Method: enterprises.devices.get
デバイスを取得します。削除されたデバイスは 404 エラーを返します。
HTTP リクエスト
GET https://androidmanagement.googleapis.com/v1/{name=enterprises/*/devices/*}
この URL は gRPC Transcoding 構文を使用します。
パスパラメータ
パラメータ |
name |
string
デバイスの名前(enterprises/{enterpriseId}/devices/{deviceId} 形式)。
|
リクエストの本文
リクエストの本文は空にする必要があります。
レスポンスの本文
成功した場合、レスポンスの本文には Device
のインスタンスが含まれます。
認可スコープ
次の OAuth スコープが必要です。
https://www.googleapis.com/auth/androidmanagement
詳細については、OAuth 2.0 Overview をご覧ください。
特に記載のない限り、このページのコンテンツはクリエイティブ・コモンズの表示 4.0 ライセンスにより使用許諾されます。コードサンプルは Apache 2.0 ライセンスにより使用許諾されます。詳しくは、Google Developers サイトのポリシーをご覧ください。Java は Oracle および関連会社の登録商標です。
最終更新日 2025-01-13 UTC。
[null,null,["最終更新日 2025-01-13 UTC。"],[[["Retrieves detailed information about a specific Android device managed within an enterprise."],["Uses a GET request with the device's name as a path parameter to fetch the data."],["Returns a 404 error if the requested device has been deleted."],["Requires authorization with the `https://www.googleapis.com/auth/androidmanagement` scope."],["Provides the device details in the response body if the request is successful."]]],[]]