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

ReportData

import type { ReportData } from "https://googleapis.deno.dev/v1/analyticsreporting:v4.ts";

The data part of the report.

interface ReportData {
dataLastRefreshed?: Date;
emptyReason?: string;
isDataGolden?: boolean;
maximums?: DateRangeValues[];
minimums?: DateRangeValues[];
rowCount?: number;
rows?: ReportRow[];
samplesReadCounts?: bigint[];
samplingSpaceSizes?: bigint[];
totals?: DateRangeValues[];
}

§Properties

§
dataLastRefreshed?: Date
[src]

The last time the data in the report was refreshed. All the hits received before this timestamp are included in the calculation of the report.

§
emptyReason?: string
[src]

If empty reason is specified, the report is empty for this reason.

§
isDataGolden?: boolean
[src]

Indicates if response to this request is golden or not. Data is golden when the exact same request will not produce any new results if asked at a later point in time.

§

Minimum and maximum values seen over all matching rows. These are both empty when hideValueRanges in the request is false, or when rowCount is zero.

§

Minimum and maximum values seen over all matching rows. These are both empty when hideValueRanges in the request is false, or when rowCount is zero.

§
rowCount?: number
[src]

Total number of matching rows for this query.

§

There's one ReportRow for every unique combination of dimensions.

§
samplesReadCounts?: bigint[]
[src]

If the results are sampled, this returns the total number of samples read, one entry per date range. If the results are not sampled this field will not be defined. See developer guide for details.

§
samplingSpaceSizes?: bigint[]
[src]

If the results are sampled, this returns the total number of samples present, one entry per date range. If the results are not sampled this field will not be defined. See developer guide for details.

§

For each requested date range, for the set of all rows that match the query, every requested value format gets a total. The total for a value format is computed by first totaling the metrics mentioned in the value format and then evaluating the value format as a scalar expression. E.g., The "totals" for 3 / (ga:sessions + 2) we compute 3 / ((sum of all relevant ga:sessions) + 2). Totals are computed before pagination.