Reads data within a specified report.
HTTP request
POST https://appoptimize.googleapis.com/v1beta/{name=projects/*/locations/*/reports/*}:read
The URL uses gRPC Transcoding syntax.
Path parameters
| Parameters | |
|---|---|
name |
Required. The resource name of the report to query. Format: |
Request body
The request body contains data with the following structure:
| JSON representation |
|---|
{ "pageSize": integer, "pageToken": string } |
| Fields | |
|---|---|
pageSize |
Optional. The maximum number of rows to return. The service may return fewer than this value. If unspecified, at most 10,000 rows will be returned per page. The maximum allowed value is 25,000; values above 25,000 are coerced to 25,000. |
pageToken |
Optional. A page token, received from a previous |
Response body
Response message for the reports.read method.
If successful, the response body contains data with the following structure:
| JSON representation |
|---|
{
"rows": [
array
],
"columns": [
{
object ( |
| Fields | |
|---|---|
rows[] |
A list of rows, where each row represents a record from the report. |
columns[] |
The columns describing the structure of the data in the |
nextPageToken |
A token that can be sent as |
Authorization scopes
Requires the following OAuth scope:
https://www.googleapis.com/auth/cloud-platform
For more information, see the Authentication Overview.
IAM Permissions
Requires the following IAM permission on the name resource:
appoptimize.reports.getData
For more information, see the IAM documentation.
Column
Describes a single column within Columns.
| JSON representation |
|---|
{
"name": string,
"type": string,
"mode": string,
"columns": [
{
object ( |
| Fields | |
|---|---|
name |
The name of the column. This field:
|
type |
The data type of the column. Supported values include:
|
mode |
The mode of the column, indicating if it is nullable, required, or repeated. Possible values:
|
columns[] |
If the |