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

ApnPolicy

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

Access Point Name (APN) policy. Configuration for Access Point Names (APNs) which may override any other APNs on the device. See OVERRIDE_APNS_ENABLED and overrideApns for details.

interface ApnPolicy {
apnSettings?: ApnSetting[];
overrideApns?: "OVERRIDE_APNS_UNSPECIFIED" | "OVERRIDE_APNS_DISABLED" | "OVERRIDE_APNS_ENABLED";
}

§Properties

§
apnSettings?: ApnSetting[]
[src]

Optional. APN settings for override APNs. There must not be any conflict between any of APN settings provided, otherwise the policy will be rejected. Two ApnSettings are considered to conflict when all of the following fields match on both: numericOperatorId, apn, proxyAddress, proxyPort, mmsProxyAddress, mmsProxyPort, mmsc, mvnoType, protocol, roamingProtocol. If some of the APN settings result in non-compliance of INVALID_VALUE , they will be ignored. This can be set on fully managed devices on Android 10 and above. This can also be set on work profiles on Android 13 and above and only with ApnSetting's with ENTERPRISE APN type. A NonComplianceDetail with API_LEVEL is reported if the Android version is less than 10. A NonComplianceDetail with MANAGEMENT_MODE is reported for work profiles on Android versions less than 13.

§
overrideApns?: "OVERRIDE_APNS_UNSPECIFIED" | "OVERRIDE_APNS_DISABLED" | "OVERRIDE_APNS_ENABLED"
[src]

Optional. Whether override APNs are disabled or enabled. See DevicePolicyManager.setOverrideApnsEnabled (https://developer.android.com/reference/android/app/admin/DevicePolicyManager#setOverrideApnsEnabled) for more details.