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

QueryDomainStatsRequest

import type { QueryDomainStatsRequest } from "https://googleapis.deno.dev/v1/gmailpostmastertools:v2.ts";

Request message for QueryDomainStats.

interface QueryDomainStatsRequest {
aggregationGranularity?: "AGGREGATION_GRANULARITY_UNSPECIFIED" | "DAILY" | "OVERALL";
metricDefinitions?: MetricDefinition[];
pageSize?: number;
pageToken?: string;
parent?: string;
timeQuery?: TimeQuery;
}

§Properties

§
aggregationGranularity?: "AGGREGATION_GRANULARITY_UNSPECIFIED" | "DAILY" | "OVERALL"
[src]

Optional. The granularity at which to aggregate the statistics. If unspecified, defaults to DAILY.

§
metricDefinitions?: MetricDefinition[]
[src]

Required. The specific metrics to query. You can define a custom name for each metric, which will be used in the response.

§
pageSize?: number
[src]

Optional. The maximum number of DomainStats resources to return in the response. The server may return fewer than this value. If unspecified, a default value of 10 will be used. The maximum value is 200.

§
pageToken?: string
[src]

Optional. The next_page_token value returned from a previous List request, if any. If the aggregation granularity is DAILY, the page token will be the encoded date + "/" + metric name. If the aggregation granularity is OVERALL, the page token will be the encoded metric name.

§
parent?: string
[src]

Required. The parent resource name where the stats are queried. Format: domains/{domain}

§
timeQuery?: TimeQuery
[src]

Required. The time range or specific dates for which to retrieve the metrics.