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

NonComplianceDetailCondition

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

A compliance rule condition which is satisfied if there exists any matching NonComplianceDetail for the device. A NonComplianceDetail matches a NonComplianceDetailCondition if all the fields which are set within the NonComplianceDetailCondition match the corresponding NonComplianceDetail fields.

interface NonComplianceDetailCondition {
nonComplianceReason?:
| "NON_COMPLIANCE_REASON_UNSPECIFIED"
| "API_LEVEL"
| "MANAGEMENT_MODE"
| "USER_ACTION"
| "INVALID_VALUE"
| "APP_NOT_INSTALLED"
| "UNSUPPORTED"
| "APP_INSTALLED"
| "PENDING"
| "APP_INCOMPATIBLE"
| "APP_NOT_UPDATED"
| "DEVICE_INCOMPATIBLE";
packageName?: string;
settingName?: string;
}

§Properties

§
nonComplianceReason?: "NON_COMPLIANCE_REASON_UNSPECIFIED" | "API_LEVEL" | "MANAGEMENT_MODE" | "USER_ACTION" | "INVALID_VALUE" | "APP_NOT_INSTALLED" | "UNSUPPORTED" | "APP_INSTALLED" | "PENDING" | "APP_INCOMPATIBLE" | "APP_NOT_UPDATED" | "DEVICE_INCOMPATIBLE"
[src]

The reason the device is not in compliance with the setting. If not set, then this condition matches any reason.

§
packageName?: string
[src]

The package name of the app that's out of compliance. If not set, then this condition matches any package name.

§
settingName?: string
[src]

The name of the policy setting. This is the JSON field name of a top-level Policy field. If not set, then this condition matches any setting name.