Smart Device Management API
允許特定企業合作夥伴透過程式輔助方式存取、控制及管理 Google 和 Nest 裝置。
服務:smartdevicemanagement.googleapis.com
如要呼叫這項服務,建議您使用 Google 提供的用戶端程式庫。如果應用程式需要使用您自己的程式庫來呼叫這項服務,請在提出 API 要求時使用下列資訊。
探索文件
探索文件是一種機器可解讀的規格,用於說明和使用 REST API。此文件用於建構用戶端程式庫、IDE 外掛程式,以及與 Google API 互動的其他工具。一項服務可能會提供多個探索文件。這項服務提供下列探索文件:
服務端點
服務端點是指定 API 服務網路位址的基準網址。一項服務可能有多個服務端點。這項服務有以下服務端點,且下方的 URI 皆以此服務端點為基準:
https://smartdevicemanagement.googleapis.com
方法 |
executeCommand |
POST /v1/{name=enterprises/*/devices/*}:executeCommand
對企業管理的裝置執行指令。 |
get |
GET /v1/{name=enterprises/*/devices/*}
取得由企業管理的裝置。 |
list |
GET /v1/{parent=enterprises/*}/devices 列出由企業管理的裝置。 |
方法 |
get |
GET /v1/{name=enterprises/*/structures/*}
取得由企業管理的結構。 |
list |
GET /v1/{parent=enterprises/*}/structures
列出由企業管理的結構。 |
方法 |
get |
GET /v1/{name=enterprises/*/structures/*/rooms/*}
取得由企業管理的聊天室。 |
list |
GET /v1/{parent=enterprises/*/structures/*}/rooms
列出企業管理的會議室。 |
除非另有註明,否則本頁面中的內容是採用創用 CC 姓名標示 4.0 授權,程式碼範例則為阿帕契 2.0 授權。詳情請參閱《Google Developers 網站政策》。Java 是 Oracle 和/或其關聯企業的註冊商標。
上次更新時間:2024-08-10 (世界標準時間)。
[null,null,["上次更新時間:2024-08-10 (世界標準時間)。"],[[["The Smart Device Management API enables select enterprise partners to programmatically access, control, and manage Google and Nest devices."],["Developers can utilize the provided REST resources for interacting with devices, structures, and rooms within the enterprise environment."],["The API offers methods for executing commands on devices, retrieving device details, and listing devices, structures, and rooms."],["Google-provided client libraries are recommended for seamless integration with the service."],["A discovery document and service endpoint are available to facilitate interaction with the API."]]],["Enterprise partners can use the `smartdevicemanagement.googleapis.com` service to interact with Google and Nest devices. This involves using REST APIs to manage devices, structures, and rooms. Key actions include: executing commands on devices via `executeCommand`, retrieving device details with `get`, and listing devices via `list`. Additionally, structures and rooms can be accessed and listed using `get` and `list` methods. The service uses a discovery document and a defined service endpoint for interaction.\n"]]