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

QueryHistoryRequest

import type { QueryHistoryRequest } from "https://googleapis.deno.dev/v1/chromeuxreport:v1.ts";

Request payload sent by a physical web client. This request includes all necessary context to load a particular user experience history record.

interface QueryHistoryRequest {
formFactor?:
| "ALL_FORM_FACTORS"
| "PHONE"
| "DESKTOP"
| "TABLET";
metrics?: string[];
origin?: string;
url?: string;
}

§Properties

§
formFactor?: "ALL_FORM_FACTORS" | "PHONE" | "DESKTOP" | "TABLET"
[src]

The form factor is a query dimension that specifies the device class that the record's data should belong to. Note: If no form factor is specified, then a special record with aggregated data over all form factors will be returned.

§
metrics?: string[]
[src]

The metrics that should be included in the response. If none are specified then any metrics found will be returned. Allowed values: ["first_contentful_paint", "first_input_delay", "largest_contentful_paint", "cumulative_layout_shift", "experimental_time_to_first_byte", "experimental_interaction_to_next_paint"]

§
origin?: string
[src]

The url pattern "origin" refers to a url pattern that is the origin of a website. Examples: "https://example.com", "https://cloud.google.com"

§
url?: string
[src]

The url pattern "url" refers to a url pattern that is any arbitrary url. Examples: "https://example.com/", "https://cloud.google.com/why-google-cloud/"