Method: organizations.environments.securityStats.queryTabularStats

Retrieve security statistics as tabular rows.

HTTP request

POST https://apigee.googleapis.com/v1/{orgenv=organizations/*/environments/*}/securityStats:queryTabularStats

The URL uses gRPC Transcoding syntax.

Path parameters

Parameters
orgenv

string

Required. Should be of the form organizations//environments/.

Request body

The request body contains data with the following structure:

JSON representation
{
  "dimensions": [
    string
  ],
  "metrics": [
    {
      object (MetricAggregation)
    }
  ],
  "filter": string,
  "timeRange": {
    object (Interval)
  },
  "pageSize": integer,
  "pageToken": string
}
Fields
dimensions[]

string

Required. List of dimension names to group the aggregations by.

metrics[]

object (MetricAggregation)

Required. List of metrics and their aggregations.

filter

string

Filter further on specific dimension values. Follows the same grammar as custom report's filter expressions. Example, apiproxy eq 'foobar'. https://cloud.google.com/apigee/docs/api-platform/analytics/analytics-reference#filters

timeRange

object (Interval)

Time range for the stats.

pageSize

integer

Page size represents the number of rows.

pageToken

string

Identifies a sequence of rows.

Response body

Encapsulates two kinds of stats that are results of the dimensions and aggregations requested. - Tabular rows. - Time series data. Example of tabular rows,

Represents security stats results as a row of flat values.

If successful, the response body contains data with the following structure:

JSON representation
{
  "values": [
    array
  ],
  "columns": [
    string
  ],
  "nextPageToken": string
}
Fields
values[]

array (ListValue format)

Resultant rows from the executed query.

columns[]

string

Column names corresponding to the same order as the inner values in the stats field.

nextPageToken

string

Next page token.

Authorization scopes

Requires the following OAuth scope:

  • https://www.googleapis.com/auth/cloud-platform