CustomerUsageReports: get

Retrieves a report which is a collection of properties and statistics for a specific customer's account. For more information, see the Customers Usage Report guide. For more information about the customer report's parameters, see the Customers Usage parameters reference guides.
Try it now.

Request

HTTP request

GET https://www.googleapis.com/admin/reports/v1/usage/dates/date

Parameters

Parameter name Value Description
Path parameters
date string Represents the date the usage occurred. The timestamp is in the ISO 8601 format, yyyy-mm-dd. We recommend you use your account's time zone for this.
Optional query parameters
customerId string The unique ID of the customer to retrieve data for.
pageToken string Token to specify next page. A report with multiple pages has a nextPageToken property in the response. For your follow-on requests getting all of the report's pages, enter the nextPageToken value in the pageToken query string.
parameters string The parameters query string is a comma-separated list of event parameters that refine a report's results. The parameter is associated with a specific application. The application values for the Customers usage report include accounts, app_maker, apps_scripts, calendar, classroom, cros, docs, gmail, gplus, device_management, meet, and sites.
A parameters query string is in the CSV form of app_name1:param_name1, app_name2:param_name2.

Authorization

This request requires authorization with the following scope:

Scope
https://www.googleapis.com/auth/admin.reports.usage.readonly

Request body

Do not supply a request body with this method.

Response

If successful, this method returns a CustomerUsageReports resource in the response body.

Try it!

Use the APIs Explorer below to call this method on live data and see the response.

Enviar comentários sobre…

Precisa de ajuda? Acesse nossa página de suporte.