Resource: CustomReport
JSON representation |
---|
{ "name" : string , "displayName" : string , "metrics" : [ { object ( |
Fields | |
---|---|
name
|
Required. Unique identifier for the report T his is a legacy field used to encode custom report unique id |
displayName
|
This is the display name for the report |
metrics[]
|
Required. This contains the list of metrics |
dimensions[]
|
This contains the list of dimensions for the report |
filter
|
This field contains the filter expression |
createdAt
|
Output only. Unix time when the app was created json key: createdAt |
lastModifiedAt
|
Output only. Modified time of this entity as milliseconds since epoch. json key: lastModifiedAt |
properties[]
|
This field contains report properties such as ui metadata etc. |
chartType
|
This field contains the chart type for the report |
timeUnit
|
This field contains the time unit of aggregation for the report |
sortByCols[]
|
Legacy field: not used much. Contains the list of sort by columns |
sortOrder
|
Legacy field: not used much. Contains the sort order for the sort columns |
fromTime
|
Legacy field: not used. Contains the from time for the report |
toTime
|
Legacy field: not used. Contains the end time for the report |
offset
|
Legacy field: not used. This field contains the offset for the data |
limit
|
Legacy field: not used This field contains the limit for the result retrieved |
topk
|
Legacy field: not used. This field contains the top k parameter value for restricting the result |
organization
|
Output only. Organization name |
environment
|
Output only. Environment name |
lastViewedAt
|
Output only. Last viewed time of this entity as milliseconds since epoch |
tags[]
|
Legacy field: not used. This field contains a list of tags associated with custom report |
comments[]
|
Legacy field: not used. This field contains a list of comments associated with custom report |
Metric
This encapsulates a metric property of the form sum(message_count) where name is message_count and function is sum
JSON representation |
---|
{ "name" : string , "function" : string } |
Fields | |
---|---|
name
|
name of the metric |
function
|
aggregate function |
ReportProperty
JSON representation |
---|
{
"property"
:
string
,
"value"
:
[
{
object (
|
Fields | |
---|---|
property
|
name of the property |
value[]
|
property values |
Methods |
|
---|---|
|
Creates a Custom Report for an Organization. |
|
Deletes an existing custom report definition |
|
Retrieve a custom report definition. |
|
Return a list of Custom Reports |
|
Update an existing custom report definition |