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

UsageLog

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

Controls types of device activity logs collected from the device and reported via Pub/Sub notification (https://developers.google.com/android/management/notifications).

interface UsageLog {
enabledLogTypes?: "LOG_TYPE_UNSPECIFIED" | "SECURITY_LOGS" | "NETWORK_ACTIVITY_LOGS"[];
uploadOnCellularAllowed?: "LOG_TYPE_UNSPECIFIED" | "SECURITY_LOGS" | "NETWORK_ACTIVITY_LOGS"[];
}

§Properties

§
enabledLogTypes?: "LOG_TYPE_UNSPECIFIED" | "SECURITY_LOGS" | "NETWORK_ACTIVITY_LOGS"[]
[src]

Specifies which log types are enabled. Note that users will receive on-device messaging when usage logging is enabled.

§
uploadOnCellularAllowed?: "LOG_TYPE_UNSPECIFIED" | "SECURITY_LOGS" | "NETWORK_ACTIVITY_LOGS"[]
[src]

Specifies which of the enabled log types can be uploaded over mobile data. By default logs are queued for upload when the device connects to WiFi.