Method: customers.reports.countChromeVersions
Zadbaj o dobrą organizację dzięki kolekcji
Zapisuj i kategoryzuj treści zgodnie ze swoimi preferencjami.
Wygeneruj raport z zainstalowanymi wersjami Chrome.
Żądanie HTTP
GET https://chromemanagement.googleapis.com/v1/{customer=customers/*}/reports:countChromeVersions
Adres URL używa składni transkodowania gRPC.
Parametry ścieżki
Parametry |
customer |
string
Wymagane. Identyfikator klienta lub „my_customer” , aby użyć konta klienta powiązanego z kontem, z którego wysłano prośbę.
|
Parametry zapytania
Parametry |
orgUnitId |
string
Identyfikator jednostki organizacyjnej.
|
pageSize |
integer
Maksymalna liczba wyników do zwrócenia. Wartość maksymalna i domyślna to 100.
|
pageToken |
string
Token określający stronę żądania, które ma zostać zwrócone.
|
filter |
string
Ciąg zapytania do filtrowania wyników, pola rozdzielone ORAZ w składni EBNF. Uwaga: w tym filtrze operacje LUB nie są obsługiwane. Obsługiwane pola filtrów:
|
Treść żądania
Treść żądania musi być pusta.
Treść odpowiedzi
Odpowiedź zawierająca szczegóły i liczby żądanych wersji przeglądarek.
W przypadku powodzenia treść żądania zawiera dane o następującej strukturze:
Zapis JSON |
{
"browserVersions": [
{
object (BrowserVersion )
}
],
"nextPageToken": string,
"totalSize": integer
} |
Pola |
browserVersions[] |
object (BrowserVersion )
Lista wszystkich wersji przeglądarek i ich liczby instalacji.
|
nextPageToken |
string
Token określający następną stronę żądania.
|
totalSize |
integer
Łączna liczba wersji przeglądarek pasujących do żądania.
|
Zakresy autoryzacji
Wymaga następującego zakresu OAuth:
https://www.googleapis.com/auth/chrome.management.reports.readonly
BrowserVersion
Opisuje wersję przeglądarki i liczbę jej instalacji.
Zapis JSON |
{
"version": string,
"count": string,
"channel": enum (ReleaseChannel ),
"system": enum (DeviceSystem ),
"deviceOsVersion": string
} |
Pola |
version |
string
Tylko dane wyjściowe. Pełna wersja zainstalowanej przeglądarki.
|
count |
string (int64 format)
Tylko dane wyjściowe. Liczba pogrupowane według systemu device_system i wersji głównej
|
channel |
enum (ReleaseChannel )
Tylko dane wyjściowe. Kanał wersji zainstalowanej przeglądarki.
|
system |
enum (DeviceSystem )
Tylko dane wyjściowe. System operacyjny urządzenia.
|
deviceOsVersion |
string
Tylko dane wyjściowe. Wersja systemu operacyjnego określonego przez system.
|
ReleaseChannel
Kanał wersji zainstalowanej przeglądarki.
Wartości w polu enum |
RELEASE_CHANNEL_UNSPECIFIED |
Nie określono kanału wersji. |
CANARY |
Kanał wersji Canary. |
DEV |
Kanał wersji deweloperskiej. |
BETA |
Kanał wersji beta. |
STABLE |
Kanał wersji stabilnej. |
DeviceSystem
System operacyjny urządzenia.
Wartości w polu enum |
DEVICE_SYSTEM_UNSPECIFIED |
Nie określono systemu operacyjnego. |
SYSTEM_OTHER |
Inny system operacyjny. |
SYSTEM_ANDROID |
System operacyjny Android. |
SYSTEM_IOS |
System operacyjny Apple iOS. |
SYSTEM_CROS |
System operacyjny ChromeOS. |
SYSTEM_WINDOWS |
System operacyjny Microsoft Windows. |
SYSTEM_MAC |
System operacyjny Apple macOS. |
SYSTEM_LINUX |
System operacyjny Linux. |
O ile nie stwierdzono inaczej, treść tej strony jest objęta licencją Creative Commons – uznanie autorstwa 4.0, a fragmenty kodu są dostępne na licencji Apache 2.0. Szczegółowe informacje na ten temat zawierają zasady dotyczące witryny Google Developers. Java jest zastrzeżonym znakiem towarowym firmy Oracle i jej podmiotów stowarzyszonych.
Ostatnia aktualizacja: 2025-07-25 UTC.
[null,null,["Ostatnia aktualizacja: 2025-07-25 UTC."],[[["\u003cp\u003eGenerate a report of installed Chrome versions across a customer's organization, grouped by browser version, release channel, and operating system.\u003c/p\u003e\n"],["\u003cp\u003eFilter results by organizational unit and last active date using query parameters.\u003c/p\u003e\n"],["\u003cp\u003eThe response includes the browser version, install count, release channel, operating system, and system version for each entry.\u003c/p\u003e\n"],["\u003cp\u003eRequires the \u003ccode\u003ehttps://www.googleapis.com/auth/chrome.management.reports.readonly\u003c/code\u003e OAuth scope for authorization.\u003c/p\u003e\n"],["\u003cp\u003eUse the provided HTTP request to retrieve the report data.\u003c/p\u003e\n"]]],[],null,["# Method: customers.reports.countChromeVersions\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.CountChromeVersionsResponse.SCHEMA_REPRESENTATION)\n- [Authorization scopes](#body.aspect)\n- [BrowserVersion](#BrowserVersion)\n - [JSON representation](#BrowserVersion.SCHEMA_REPRESENTATION)\n- [ReleaseChannel](#ReleaseChannel)\n- [DeviceSystem](#DeviceSystem)\n- [Try it!](#try-it)\n\nGenerate report of installed Chrome versions.\n\n### HTTP request\n\n`GET https://chromemanagement.googleapis.com/v1/{customer=customers/*}/reports:countChromeVersions`\n\nThe URL uses [gRPC Transcoding](https://google.aip.dev/127) syntax.\n\n### Path parameters\n\n| Parameters ||\n|------------|-------------------------------------------------------------------------------------------------------------------|\n| `customer` | `string` Required. Customer id or \"my_customer\" to use the customer associated to the account making the request. |\n\n### Query parameters\n\n| Parameters ||\n|-------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `orgUnitId` | `string` The ID of the organizational unit. |\n| `pageSize` | `integer` Maximum number of results to return. Maximum and default are 100. |\n| `pageToken` | `string` Token to specify the page of the request to be returned. |\n| `filter` | `string` Query string to filter results, AND-separated fields in EBNF syntax. Note: OR operations are not supported in this filter. Supported filter fields: - last_active_date |\n\n### Request body\n\nThe request body must be empty.\n\n### Response body\n\nResponse containing requested browser versions details and counts.\n\nIf successful, the response body contains data with the following structure:\n\n| JSON representation |\n|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| ``` { \"browserVersions\": [ { object (/chrome/management/reference/rest/v1/customers.reports/countChromeVersions#BrowserVersion) } ], \"nextPageToken\": string, \"totalSize\": integer } ``` |\n\n| Fields ||\n|---------------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `browserVersions[]` | `object (`[BrowserVersion](/chrome/management/reference/rest/v1/customers.reports/countChromeVersions#BrowserVersion)`)` List of all browser versions and their install counts. |\n| `nextPageToken` | `string` Token to specify the next page of the request. |\n| `totalSize` | `integer` Total number browser versions matching request. |\n\n### Authorization scopes\n\nRequires the following OAuth scope:\n\n- `https://www.googleapis.com/auth/chrome.management.reports.readonly`\n\nBrowserVersion\n--------------\n\nDescribes a browser version and its install count.\n\n| JSON representation |\n|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| ``` { \"version\": string, \"count\": string, \"channel\": enum (/chrome/management/reference/rest/v1/customers.reports/countChromeVersions#ReleaseChannel), \"system\": enum (/chrome/management/reference/rest/v1/customers.reports/countChromeVersions#DeviceSystem), \"deviceOsVersion\": string } ``` |\n\n| Fields ||\n|-------------------|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `version` | `string` Output only. The full version of the installed browser. |\n| `count` | `string (`[int64](https://developers.google.com/discovery/v1/type-format)` format)` Output only. Count grouped by device_system and major version |\n| `channel` | `enum (`[ReleaseChannel](/chrome/management/reference/rest/v1/customers.reports/countChromeVersions#ReleaseChannel)`)` Output only. The release channel of the installed browser. |\n| `system` | `enum (`[DeviceSystem](/chrome/management/reference/rest/v1/customers.reports/countChromeVersions#DeviceSystem)`)` Output only. The device operating system. |\n| `deviceOsVersion` | `string` Output only. Version of the system-specified operating system. |\n\nReleaseChannel\n--------------\n\nThe release channel of the installed browser.\n\n| Enums ||\n|-------------------------------|-------------------------------|\n| `RELEASE_CHANNEL_UNSPECIFIED` | No release channel specified. |\n| `CANARY` | Canary release channel. |\n| `DEV` | Dev release channel. |\n| `BETA` | Beta release channel. |\n| `STABLE` | Stable release channel. |\n\nDeviceSystem\n------------\n\nThe device operating system.\n\n| Enums ||\n|-----------------------------|-------------------------------------|\n| `DEVICE_SYSTEM_UNSPECIFIED` | No operating system specified. |\n| `SYSTEM_OTHER` | Other operating system. |\n| `SYSTEM_ANDROID` | Android operating system. |\n| `SYSTEM_IOS` | Apple iOS operating system. |\n| `SYSTEM_CROS` | ChromeOS operating system. |\n| `SYSTEM_WINDOWS` | Microsoft Windows operating system. |\n| `SYSTEM_MAC` | Apple macOS operating system. |\n| `SYSTEM_LINUX` | Linux operating system. |"]]