Struct google_androidmanagement1::ApplicationPolicy[][src]

pub struct ApplicationPolicy {
    pub install_type: Option<String>,
    pub managed_configuration: Option<HashMap<String, String>>,
    pub lock_task_allowed: Option<bool>,
    pub package_name: Option<String>,
    pub permission_grants: Option<Vec<PermissionGrant>>,
    pub default_permission_policy: Option<String>,
}

Policy for an individual app.

This type is not used in any activity, and only used as part of another schema.

Fields

The type of installation to perform.

Managed configuration applied to the app. The format for the configuration is dictated by the ManagedProperty values supported by the app. Each field name in the managed configuration must match the key field of the ManagedProperty. The field value must be compatible with the type of the ManagedProperty:

typeJSON value
BOOLtrue or false
STRINGstring
INTEGERnumber
CHOICEstring
MULTISELECTarray of strings
HIDDENstring
BUNDLE_ARRAYarray of objects

Whether the application is allowed to lock itself in full-screen mode.

The package name of the app, e.g. com.google.android.youtube for the YouTube app.

Explicit permission grants or denials for the app. These values override the default_permission_policy.

The default policy for all permissions requested by the app. If specified, this overrides the policy-level default_permission_policy which applies to all apps.

Trait Implementations

impl Default for ApplicationPolicy
[src]

Returns the "default value" for a type. Read more

impl Clone for ApplicationPolicy
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for ApplicationPolicy
[src]

Formats the value using the given formatter. Read more

impl Part for ApplicationPolicy
[src]

Auto Trait Implementations