Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

RunPivotReportResponse

import type { RunPivotReportResponse } from "https://googleapis.deno.dev/v1/analyticsdata:v1beta.ts";

The response pivot report table corresponding to a pivot request.

interface RunPivotReportResponse {
aggregates?: Row[];
dimensionHeaders?: DimensionHeader[];
kind?: string;
metadata?: ResponseMetaData;
metricHeaders?: MetricHeader[];
pivotHeaders?: PivotHeader[];
propertyQuota?: PropertyQuota;
rows?: Row[];
}

§Properties

§
aggregates?: Row[]
[src]

Aggregation of metric values. Can be totals, minimums, or maximums. The returned aggregations are controlled by the metric_aggregations in the pivot. The type of aggregation returned in each row is shown by the dimension_values which are set to "RESERVED_".

§
dimensionHeaders?: DimensionHeader[]
[src]

Describes dimension columns. The number of DimensionHeaders and ordering of DimensionHeaders matches the dimensions present in rows.

§
kind?: string
[src]

Identifies what kind of resource this message is. This kind is always the fixed string "analyticsData#runPivotReport". Useful to distinguish between response types in JSON.

§

Metadata for the report.

§
metricHeaders?: MetricHeader[]
[src]

Describes metric columns. The number of MetricHeaders and ordering of MetricHeaders matches the metrics present in rows.

§
pivotHeaders?: PivotHeader[]
[src]

Summarizes the columns and rows created by a pivot. Each pivot in the request produces one header in the response. If we have a request like this: "pivots": [{ "fieldNames": ["country", "city"] }, { "fieldNames": "eventName" }] We will have the following pivotHeaders in the response: "pivotHeaders" : [{ "dimensionHeaders": [{ "dimensionValues": [ { "value": "United Kingdom" }, { "value": "London" } ] }, { "dimensionValues": [ { "value": "Japan" }, { "value": "Osaka" } ] }] }, { "dimensionHeaders": [{ "dimensionValues": [{ "value": "session_start" }] }, { "dimensionValues": [{ "value": "scroll" }] }] }]

§
propertyQuota?: PropertyQuota
[src]

This Analytics Property's quota state including this request.

§
rows?: Row[]
[src]

Rows of dimension value combinations and metric values in the report.