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

Browser

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

Contains information about a browser that can be targeted by ads.

interface Browser {
browserVersionId?: bigint;
dartId?: bigint;
kind?: string;
majorVersion?: string;
minorVersion?: string;
name?: string;
}

§Properties

§
browserVersionId?: bigint
[src]

ID referring to this grouping of browser and version numbers. This is the ID used for targeting.

§
dartId?: bigint
[src]

DART ID of this browser. This is the ID used when generating reports.

§
kind?: string
[src]

Identifies what kind of resource this is. Value: the fixed string "dfareporting#browser".

§
majorVersion?: string
[src]

Major version number (leftmost number) of this browser. For example, for Chrome 5.0.376.86 beta, this field should be set to 5. An asterisk () may be used to target any version number, and a question mark (?) may be used to target cases where the version number cannot be identified. For example, Chrome . targets any version of Chrome: 1.2, 2.5, 3.5, and so on. Chrome 3. targets Chrome 3.1, 3.5, but not 4.0. Firefox ?.? targets cases where the ad server knows the browser is Firefox but can't tell which version it is.

§
minorVersion?: string
[src]

Minor version number (number after first dot on left) of this browser. For example, for Chrome 5.0.375.86 beta, this field should be set to 0. An asterisk () may be used to target any version number, and a question mark (?) may be used to target cases where the version number cannot be identified. For example, Chrome . targets any version of Chrome: 1.2, 2.5, 3.5, and so on. Chrome 3. targets Chrome 3.1, 3.5, but not 4.0. Firefox ?.? targets cases where the ad server knows the browser is Firefox but can't tell which version it is.

§
name?: string
[src]

Name of this browser.