Smart Device Management API
Mantieni tutto organizzato con le raccolte
Salva e classifica i contenuti in base alle tue preferenze.
Consenti a partner aziendali selezionati di accedere, controllare e gestire i dispositivi Google e Nest in modo programmatico.
Servizio: smartdevicemanagement.googleapis.com
Per chiamare questo servizio, ti consigliamo di utilizzare le librerie client fornite da Google. Se la tua applicazione deve utilizzare le tue librerie per chiamare questo servizio, usa le seguenti informazioni quando effettui le richieste API.
Documento di rilevamento
Un documento di rilevamento è una specifica leggibile dalle macchine per la descrizione e l'utilizzo delle API REST. Viene utilizzato per creare librerie client, plug-in IDE e altri strumenti che interagiscono con le API di Google. Un servizio può fornire più documenti di rilevamento. Questo servizio fornisce il seguente documento di rilevamento:
Endpoint di servizio
Un endpoint di servizio è un URL di base che specifica l'indirizzo di rete di un servizio API. Un servizio può avere più endpoint di servizio. Questo servizio ha il seguente endpoint di servizio e tutti gli URI di seguito sono relativi a questo endpoint di servizio:
https://smartdevicemanagement.googleapis.com
Metodi |
executeCommand |
POST /v1/{name=enterprises/*/devices/*}:executeCommand
Esegue un comando al dispositivo gestito dall'azienda. |
get |
GET /v1/{name=enterprises/*/devices/*}
Ottieni un dispositivo gestito dall'azienda. |
list |
GET /v1/{parent=enterprises/*}/devices
Elenca i dispositivi gestiti dall'azienda. |
Metodi |
get |
GET /v1/{name=enterprises/*/structures/*}
Consente di acquisire una struttura gestita dall'azienda. |
list |
GET /v1/{parent=enterprises/*}/structures
Elenca le strutture gestite dall'azienda. |
Metodi |
get |
GET /v1/{name=enterprises/*/structures/*/rooms/*}
Ottieni una stanza gestita dall'azienda. |
list |
GET /v1/{parent=enterprises/*/structures/*}/rooms
Elenca le stanze virtuali gestite dall'azienda. |
Salvo quando diversamente specificato, i contenuti di questa pagina sono concessi in base alla licenza Creative Commons Attribution 4.0, mentre gli esempi di codice sono concessi in base alla licenza Apache 2.0. Per ulteriori dettagli, consulta le norme del sito di Google Developers. Java è un marchio registrato di Oracle e/o delle sue consociate.
Ultimo aggiornamento 2025-07-25 UTC.
[[["Facile da capire","easyToUnderstand","thumb-up"],["Il problema è stato risolto","solvedMyProblem","thumb-up"],["Altra","otherUp","thumb-up"]],[["Mancano le informazioni di cui ho bisogno","missingTheInformationINeed","thumb-down"],["Troppo complicato/troppi passaggi","tooComplicatedTooManySteps","thumb-down"],["Obsoleti","outOfDate","thumb-down"],["Problema di traduzione","translationIssue","thumb-down"],["Problema relativo a esempi/codice","samplesCodeIssue","thumb-down"],["Altra","otherDown","thumb-down"]],["Ultimo aggiornamento 2025-07-25 UTC."],[[["\u003cp\u003eThe Smart Device Management API enables select enterprise partners to programmatically access, control, and manage Google and Nest devices.\u003c/p\u003e\n"],["\u003cp\u003eDevelopers can utilize the provided REST resources for interacting with devices, structures, and rooms within the enterprise environment.\u003c/p\u003e\n"],["\u003cp\u003eThe API offers methods for executing commands on devices, retrieving device details, and listing devices, structures, and rooms.\u003c/p\u003e\n"],["\u003cp\u003eGoogle-provided client libraries are recommended for seamless integration with the service.\u003c/p\u003e\n"],["\u003cp\u003eA discovery document and service endpoint are available to facilitate interaction with the API.\u003c/p\u003e\n"]]],["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"],null,["Allow select enterprise partners to access, control, and manage Google and Nest devices programmatically.\n\n- [REST Resource: v1.enterprises.devices](#v1.enterprises.devices)\n- [REST Resource: v1.enterprises.structures](#v1.enterprises.structures)\n- [REST Resource: v1.enterprises.structures.rooms](#v1.enterprises.structures.rooms)\n\nService: smartdevicemanagement.googleapis.com\n\nTo call this service, we recommend that you use the Google-provided [client libraries](https://cloud.google.com/apis/docs/client-libraries-explained). If your application needs to use your own libraries to call this service, use the following information when you make the API requests.\n\nDiscovery document\n\nA [Discovery Document](https://developers.google.com/discovery/v1/reference/apis) is a machine-readable specification for describing and consuming REST APIs. It is used to build client libraries, IDE plugins, and other tools that interact with Google APIs. One service may provide multiple discovery documents. This service provides the following discovery document:\n\n- \u003chttps://smartdevicemanagement.googleapis.com/$discovery/rest?version=v1\u003e\n\nService endpoint \n\nA [service endpoint](https://cloud.google.com/apis/design/glossary#api_service_endpoint) is a base URL that specifies the network address of an API service. One service might have multiple service endpoints. This service has the following service endpoint and all URIs below are relative to this service endpoint:\n\n- `https://smartdevicemanagement.googleapis.com`\n\nREST Resource: [v1.enterprises.devices](/nest/device-access/reference/rest/v1/enterprises.devices)\n\n| Methods ||\n|--------------------------------------------------------------------------------------------|------------------------------------------------------------------------------------------------------------------|\n| [executeCommand](/nest/device-access/reference/rest/v1/enterprises.devices/executeCommand) | `POST /v1/{name=enterprises/*/devices/*}:executeCommand` Executes a command to device managed by the enterprise. |\n| [get](/nest/device-access/reference/rest/v1/enterprises.devices/get) | `GET /v1/{name=enterprises/*/devices/*}` Gets a device managed by the enterprise. |\n| [list](/nest/device-access/reference/rest/v1/enterprises.devices/list) | `GET /v1/{parent=enterprises/*}/devices` Lists devices managed by the enterprise. |\n\nREST Resource: [v1.enterprises.structures](/nest/device-access/reference/rest/v1/enterprises.structures)\n\n| Methods ||\n|---------------------------------------------------------------------------|-----------------------------------------------------------------------------------------|\n| [get](/nest/device-access/reference/rest/v1/enterprises.structures/get) | `GET /v1/{name=enterprises/*/structures/*}` Gets a structure managed by the enterprise. |\n| [list](/nest/device-access/reference/rest/v1/enterprises.structures/list) | `GET /v1/{parent=enterprises/*}/structures` Lists structures managed by the enterprise. |\n\nREST Resource: [v1.enterprises.structures.rooms](/nest/device-access/reference/rest/v1/enterprises.structures.rooms)\n\n| Methods ||\n|---------------------------------------------------------------------------------|--------------------------------------------------------------------------------------------|\n| [get](/nest/device-access/reference/rest/v1/enterprises.structures.rooms/get) | `GET /v1/{name=enterprises/*/structures/*/rooms/*}` Gets a room managed by the enterprise. |\n| [list](/nest/device-access/reference/rest/v1/enterprises.structures.rooms/list) | `GET /v1/{parent=enterprises/*/structures/*}/rooms` Lists rooms managed by the enterprise. |"]]