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

OsConstraint

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

A restriction on the OS type and version of devices making requests.

interface OsConstraint {
minimumVersion?: string;
osType?:
| "OS_UNSPECIFIED"
| "DESKTOP_MAC"
| "DESKTOP_WINDOWS"
| "DESKTOP_LINUX"
| "DESKTOP_CHROME_OS"
| "ANDROID"
| "IOS";
requireVerifiedChromeOs?: boolean;
}

§Properties

§
minimumVersion?: string
[src]

The minimum allowed OS version. If not set, any version of this OS satisfies the constraint. Format: "major.minor.patch". Examples: "10.5.301", "9.2.1".

§
osType?: "OS_UNSPECIFIED" | "DESKTOP_MAC" | "DESKTOP_WINDOWS" | "DESKTOP_LINUX" | "DESKTOP_CHROME_OS" | "ANDROID" | "IOS"
[src]

Required. The allowed OS type.

§
requireVerifiedChromeOs?: boolean
[src]

Only allows requests from devices with a verified Chrome OS. Verifications includes requirements that the device is enterprise-managed, conformant to domain policies, and the caller has permission to call the API targeted by the request.