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

PersonalUsagePolicies

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

Policies controlling personal usage on a company-owned device with a work profile.

interface PersonalUsagePolicies {
accountTypesWithManagementDisabled?: string[];
cameraDisabled?: boolean;
maxDaysWithWorkOff?: number;
personalApplications?: PersonalApplicationPolicy[];
personalPlayStoreMode?:
| "PLAY_STORE_MODE_UNSPECIFIED"
| "BLACKLIST"
| "BLOCKLIST"
| "ALLOWLIST";
screenCaptureDisabled?: boolean;
}

§Properties

§
accountTypesWithManagementDisabled?: string[]
[src]

Account types that can't be managed by the user.

§
cameraDisabled?: boolean
[src]

If true, the camera is disabled on the personal profile.

§
maxDaysWithWorkOff?: number
[src]

Controls how long the work profile can stay off. The minimum duration must be at least 3 days. Other details are as follows: - If the duration is set to 0, the feature is turned off. - If the duration is set to a value smaller than the minimum duration, the feature returns an error. Note: If you want to avoid personal profiles being suspended during long periods of off-time, you can temporarily set a large value for this parameter.

§
personalApplications?: PersonalApplicationPolicy[]
[src]

Policy applied to applications in the personal profile.

§
personalPlayStoreMode?: "PLAY_STORE_MODE_UNSPECIFIED" | "BLACKLIST" | "BLOCKLIST" | "ALLOWLIST"
[src]

Used together with personalApplications to control how apps in the personal profile are allowed or blocked.

§
screenCaptureDisabled?: boolean
[src]

If true, screen capture is disabled for all users.