L'API Chrome Management Profiles consente agli amministratori di visualizzare i dati e gestire i comandi remoti dei profili gestiti sui browser Chrome. Questo insieme di API può essere utilizzato per elencare i profili gestiti, recuperare un profilo gestito, eliminare i dati raccolti dal profilo gestito, inviare un comando remoto a un profilo gestito, recuperare un comando remoto inviato a un profilo gestito ed elencare i comandi remoti inviati a un profilo gestito.
Panoramica rapida dei metodi API
Gli URL sono relativi a
https://chromemanagement.googleapis.com/v1/customers/{customer_id}
| Descrizione | URL relativo | Metodo HTTP |
|---|---|---|
| Elenca i profili gestiti | /profiles | GET |
| Recuperare un profilo gestito | /profiles/{profile_permanent_id} | GET |
| Eliminare i dati raccolti da un profilo gestito | /profiles/{profile_permanent_id} | ELIMINA |
Gli URL sono relativi a
https://chromemanagement.googleapis.com/v1/customers/{customer_id}/profiles/{profile_permanent_id}
| Descrizione | URL relativo | Metodo HTTP |
|---|---|---|
| Emettere un comando remoto | /commands | PUBBLICA |
| Recuperare un comando remoto | /commands/{command_id} | GET |
| Elenca i comandi remoti | /commands | GET |
Consulta gli esempi di codice per richieste e risposte di esempio.
Privilegi amministrativi
L'API Profiles rispetta la delega del ruolo di amministratore.
| Metodo | Sono necessari i privilegi amministrativi |
|---|---|
| ListChromeBrowserProfiles | "Servizi -> Gestione di Chrome -> Impostazioni -> Browser gestiti" o "Servizi -> Gestione di Chrome -> Impostazioni -> Browser gestiti -> Leggi" |
| GetChromeBrowserProfile | "Servizi -> Gestione di Chrome -> Impostazioni -> Browser gestiti" o "Servizi -> Gestione di Chrome -> Impostazioni -> Browser gestiti -> Leggi" |
| DeleteChromeBrowserProfile | "Servizi -> Gestione di Chrome -> Impostazioni -> Browser gestiti" |
| CreateChromeBrowserProfileCommand | "Servizi -> Gestione di Chrome -> Impostazioni -> Browser gestiti" |
| GetChromeBrowserProfileCommand | "Servizi -> Gestione di Chrome -> Impostazioni -> Browser gestiti" o "Servizi -> Gestione di Chrome -> Impostazioni -> Browser gestiti -> Leggi" |
| ListChromeBrowserProfileCommands | "Servizi -> Gestione di Chrome -> Impostazioni -> Browser gestiti" o "Servizi -> Gestione di Chrome -> Impostazioni -> Browser gestiti -> Leggi" |
Per gestire i ruoli e i privilegi di amministratore, vai a "Console di amministrazione -> Ruoli amministratore".
Ambiti API
L'API Chrome Management Profiles richiede i seguenti ambiti OAuth:
| Metodo | Ambiti OAuth richiesti |
|---|---|
| ListChromeBrowserProfiles | https://www.googleapis.com/auth/chrome.management.profiles o https://www.googleapis.com/auth/chrome.management.profiles.readonly |
| GetChromeBrowserProfile | https://www.googleapis.com/auth/chrome.management.profiles o https://www.googleapis.com/auth/chrome.management.profiles.readonly |
| DeleteChromeBrowserProfile | https://www.googleapis.com/auth/chrome.management.profiles |
| CreateChromeBrowserProfileCommand | https://www.googleapis.com/auth/chrome.management.profiles |
| GetChromeBrowserProfileCommand | https://www.googleapis.com/auth/chrome.management.profiles o https://www.googleapis.com/auth/chrome.management.profiles.readonly |
| ListChromeBrowserProfileCommands | https://www.googleapis.com/auth/chrome.management.profiles o https://www.googleapis.com/auth/chrome.management.profiles.readonly |
Per ulteriori informazioni, consulta la panoramica dell'autenticazione.