Method: enterprises.devices.list
コレクションでコンテンツを整理
必要に応じて、コンテンツの保存と分類を行います。
HTTP リクエスト
GET https://smartdevicemanagement.googleapis.com/v1/{parent=enterprises/*}/devices
この URL は gRPC Transcoding 構文を使用します。
パスパラメータ
パラメータ |
parent |
string
デバイスを一覧表示する親企業。例:(例: 「enterprises/XYZ」)。
|
クエリ パラメータ
パラメータ |
filter |
string
デバイスを一覧表示するフィルタ(省略可)。 フィルタを適用できる条件: デバイスのカスタム名(部分文字列の一致): 「customName=wing」
|
リクエスト本文
リクエストの本文は空にする必要があります。
レスポンスの本文
SmartDeviceManagementService.ListDevices に対するレスポンス メッセージ
成功した場合、レスポンスの本文には次の構造のデータが含まれます。
JSON 表現 |
{
"devices": [
{
object (Device )
}
]
} |
フィールド |
devices[] |
object (Device )
デバイスのリスト。
|
認可スコープ
次の OAuth スコープが必要です。
https://www.googleapis.com/auth/sdm.service
詳しくは、OAuth 2.0 の概要をご覧ください。
特に記載のない限り、このページのコンテンツはクリエイティブ・コモンズの表示 4.0 ライセンスにより使用許諾されます。コードサンプルは Apache 2.0 ライセンスにより使用許諾されます。詳しくは、Google Developers サイトのポリシーをご覧ください。Java は Oracle および関連会社の登録商標です。
最終更新日 2024-10-14 UTC。
[[["わかりやすい","easyToUnderstand","thumb-up"],["問題の解決に役立った","solvedMyProblem","thumb-up"],["その他","otherUp","thumb-up"]],[["必要な情報がない","missingTheInformationINeed","thumb-down"],["複雑すぎる / 手順が多すぎる","tooComplicatedTooManySteps","thumb-down"],["最新ではない","outOfDate","thumb-down"],["翻訳に関する問題","translationIssue","thumb-down"],["サンプル / コードに問題がある","samplesCodeIssue","thumb-down"],["その他","otherDown","thumb-down"]],["最終更新日 2024-10-14 UTC。"],[[["Lists all devices managed by a given enterprise, allowing for filtering by device custom name."],["Requires authorization with the `https://www.googleapis.com/auth/sdm.service` scope."],["Uses a `GET` request to the specified endpoint with the enterprise ID as a path parameter."],["The response provides a list of devices in JSON format, including details for each device."],["The request body should be empty, while query parameters can be used to specify filters."]]],[]]