Method: customers.profiles.commands.list
Restez organisé à l'aide des collections
Enregistrez et classez les contenus selon vos préférences.
Liste les commandes à distance d'un profil de navigateur Chrome.
Requête HTTP
GET https://chromemanagement.googleapis.com/v1/{parent=customers/*/profiles/*}/commands
L'URL utilise la syntaxe de transcodage gRPC.
Paramètres de chemin d'accès
Paramètres |
parent |
string
Obligatoire. Format: customers/{customer_id}/profiles/{profilePermanentId}
|
Paramètres de requête
Paramètres |
pageSize |
integer
Facultatif. Nombre maximal de commandes à renvoyer. La taille de page par défaut est de 100 si la valeur pageSize n'est pas spécifiée, et la taille de page maximale autorisée est de 100.
|
pageToken |
string
Facultatif. Jeton de page utilisé pour récupérer une page spécifique de la demande de fiche.
|
Corps de la requête
Le corps de la requête doit être vide.
Corps de la réponse
Réponse à la méthode commands.list.
Si la requête aboutit, le corps de la réponse contient des données qui ont la structure suivante :
Représentation JSON |
{
"chromeBrowserProfileCommands": [
{
object (ChromeBrowserProfileCommand )
}
],
"nextPageToken": string,
"totalSize": string
} |
Champs |
chromeBrowserProfileCommands[] |
object (ChromeBrowserProfileCommand )
Liste des commandes renvoyées.
|
nextPageToken |
string
Jeton de pagination permettant d'afficher la page suivante.
|
totalSize |
string (int64 format)
La taille totale représente un nombre estimé de ressources renvoyées.
|
Champs d'application des autorisations
Nécessite l'un des champs d'application OAuth suivants :
https://www.googleapis.com/auth/chrome.management.profiles.readonly
https://www.googleapis.com/auth/chrome.management.profiles
Sauf indication contraire, le contenu de cette page est régi par une licence Creative Commons Attribution 4.0, et les échantillons de code sont régis par une licence Apache 2.0. Pour en savoir plus, consultez les Règles du site Google Developers. Java est une marque déposée d'Oracle et/ou de ses sociétés affiliées.
Dernière mise à jour le 2025/07/25 (UTC).
[null,null,["Dernière mise à jour le 2025/07/25 (UTC)."],[],[],null,["# Method: customers.profiles.commands.list\n\n- [HTTP request](#body.HTTP_TEMPLATE)\n- [Path parameters](#body.PATH_PARAMETERS)\n- [Query parameters](#body.QUERY_PARAMETERS)\n- [Request body](#body.request_body)\n- [Response body](#body.response_body)\n - [JSON representation](#body.ListChromeBrowserProfileCommandsResponse.SCHEMA_REPRESENTATION)\n- [Authorization scopes](#body.aspect)\n- [Try it!](#try-it)\n\nLists remote commands of a Chrome browser profile.\n\n### HTTP request\n\n`GET https://chromemanagement.googleapis.com/v1/{parent=customers/*/profiles/*}/commands`\n\nThe URL uses [gRPC Transcoding](https://google.aip.dev/127) syntax.\n\n### Path parameters\n\n| Parameters ||\n|----------|----------------------------------------------------------------------------------|\n| `parent` | `string` Required. Format: customers/{customer_id}/profiles/{profilePermanentId} |\n\n### Query parameters\n\n| Parameters ||\n|-------------|------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `pageSize` | `integer` Optional. The maximum number of commands to return. The default page size is 100 if pageSize is unspecified, and the maximum page size allowed is 100. |\n| `pageToken` | `string` Optional. The page token used to retrieve a specific page of the listing request. |\n\n### Request body\n\nThe request body must be empty.\n\n### Response body\n\nResponse to commands.list method.\n\nIf successful, the response body contains data with the following structure:\n\n| JSON representation |\n|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| ``` { \"chromeBrowserProfileCommands\": [ { object (/chrome/management/reference/rest/v1/customers.profiles.commands#ChromeBrowserProfileCommand) } ], \"nextPageToken\": string, \"totalSize\": string } ``` |\n\n| Fields ||\n|----------------------------------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `chromeBrowserProfileCommands[]` | `object (`[ChromeBrowserProfileCommand](/chrome/management/reference/rest/v1/customers.profiles.commands#ChromeBrowserProfileCommand)`)` The list of commands returned. |\n| `nextPageToken` | `string` The pagination token that can be used to list the next page. |\n| `totalSize` | `string (`[int64](https://developers.google.com/discovery/v1/type-format)` format)` Total size represents an estimated number of resources returned. |\n\n### Authorization scopes\n\nRequires one of the following OAuth scopes:\n\n- `https://www.googleapis.com/auth/chrome.management.profiles.readonly`\n- `https://www.googleapis.com/auth/chrome.management.profiles`"]]