- HTTP request
- Path parameters
- Query parameters
- Request body
- Response body
- Authorization scopes
- EntityType
- Try it!
Retrieves a report which is a collection of properties and statistics for entities used by users within the account. For more information, see the Entities Usage Report guide. For more information about the entities report's parameters, see the Entities Usage parameters reference guides.
HTTP request
GET https://admin.googleapis.com/admin/reports/v1/usage/{entityType}/{entityKey or all}/dates/{date}
The URL uses gRPC Transcoding syntax.
Path parameters
Parameters | |
---|---|
entity |
Represents the type of entity for the report. |
entity |
Represents the key of the object to filter the data with. It is a string which can take the value |
date |
Represents the date the usage occurred, based on UTC-8:00 (Pacific Standard Time). The timestamp is in the ISO 8601 format, |
Query parameters
Parameters | |
---|---|
customer |
The unique ID of the customer to retrieve data for. |
filters |
The Filters are in the form In this example, the GET https://www.googleapis.com/admin/reports/v1/usage/gplus_communities/all/dates/2017-12-01 ?parameters=gplus:community_name,gplus:num_total_members &filters=gplus:num_total_members%3C%3E0 The relational operators include:
|
max |
Determines how many activity records are shown on each response page. For example, if the request sets |
page |
Token to specify next page. A report with multiple pages has a |
parameters |
The |
Request body
The request body must be empty.
Response body
If successful, the response body contains an instance of UsageReports
.
Authorization scopes
Requires the following OAuth scope:
https://www.googleapis.com/auth/admin.reports.usage.readonly
For more information, see the Authorization guide.
EntityType
Enums | |
---|---|
gplus_communities |
Returns a report on Google+ communities. |