Resource: Report
A configuration that defines the parameters for the data represented by a report.
| JSON representation |
|---|
{ "name": string, "dimensions": [ string ], "metrics": [ string ], "scopes": [ { object ( |
| Fields | |
|---|---|
name |
Identifier. The name of this report. |
dimensions[] |
Required. A list of dimensions to include in the report. Supported values:
To aggregate results by time, specify at least one time dimension (
If the time range filter does not align with the selected time dimension, the range is expanded to encompass the full period of the finest-grained time dimension. For example, if the filter is |
metrics[] |
Required. A list of metrics to include in the report. Supported values:
|
scopes[] |
Optional. The resource containers for which to fetch data. Default is the project specified in the report's parent. No more than one scope is supported. |
filter |
Optional. A Common Expression Language (CEL) expression used to filter the data for the report. Predicates may refer to any dimension. Filtering must conform to these constraints:
Examples:
If the filter omits time dimensions ( For example, if the current Pacific Time is |
Union field expiration. Defines this report's expiration time. expiration can be only one of the following: |
|
expireTime |
Output only. Timestamp in UTC of when this report expires. Once the report expires, it will no longer be accessible and the report's underlying data will be deleted. Uses RFC 3339, where generated output will always be Z-normalized and use 0, 3, 6 or 9 fractional digits. Offsets other than "Z" are also accepted. Examples: |
Scope
Specifies the report scope.
| JSON representation |
|---|
{ // Union field |
| Fields | |
|---|---|
Union field
|
|
project |
Required. A Google Cloud Platform project to fetch data from. Format: |
application |
Required. An App Hub Application to fetch data from. Format: |
Methods |
|
|---|---|
|
Creates a new report. |
|
Deletes the specified report. |
|
Retrieves the details of a report configuration. |
|
Lists reports within a given project. |
|
Reads data within a specified report. |