Resource: UsageReports
JSON representation |
---|
{
"kind": string,
"etag": string,
"warnings": [
{
"code": string,
"message": string,
"data": [
{
"key": string,
"value": string
}
]
}
],
"usageReports": [
{
object ( |
Fields | |
---|---|
kind |
The type of API resource. For a usage report, the value is |
etag |
ETag of the resource. |
warnings[] |
Warnings, if any. |
warnings[]. |
Machine readable code or warning type. The warning code value is |
warnings[]. |
The human readable messages for a warning are:
|
warnings[]. |
Key-value pairs to give detailed information on the warning. |
warnings[]. |
Key associated with a key-value pair to give detailed information on the warning. |
warnings[]. |
Value associated with a key-value pair to give detailed information on the warning. |
usage |
Various application parameter records. |
next |
Token to specify next page. A report with multiple pages has a |
UsageReport
JSON template for a usage report.
JSON representation |
---|
{ "kind": string, "date": string, "parameters": [ { "intValue": string, "name": string, "stringValue": string, "datetimeValue": string, "boolValue": boolean, "msgValue": [ { object } ] } ], "etag": string, "entity": { "customerId": string, "userEmail": string, "profileId": string, "entityId": string, "type": string } } |
Fields | |
---|---|
kind |
The type of API resource. For a usage report, the value is |
date |
Output only. The date of the report request. |
parameters[] |
Output only. Parameter value pairs for various applications. For the Entity Usage Report parameters and values, see the Entity Usage parameters reference. |
parameters[]. |
Output only. Integer value of the parameter. |
parameters[]. |
The name of the parameter. For the User Usage Report parameter names, see the User Usage parameters reference. |
parameters[]. |
Output only. String value of the parameter. |
parameters[]. |
The RFC 3339 formatted value of the parameter, for example |
parameters[]. |
Output only. Boolean value of the parameter. |
parameters[]. |
Output only. Nested message value of the parameter. |
etag |
ETag of the resource. |
entity |
Output only. Information about the type of the item. |
entity. |
Output only. The unique identifier of the customer's account. |
entity. |
Output only. The user's email address. Only relevant if entity.type = "USER" |
entity. |
Output only. The user's immutable Google Workspace profile identifier. |
entity. |
Output only. Object key. Only relevant if entity.type = "OBJECT" Note: external-facing name of report is "Entities" rather than "Objects". |
entity. |
Output only. The type of item. The value is |
Methods |
|
---|---|
|
Retrieves a report which is a collection of properties and statistics for a specific customer's account. |