[−][src]Struct google_androidmanagement1::ApplicationPolicy
Policy for an individual app.
This type is not used in any activity, and only used as part of another schema.
Fields
managed_configuration_template: Option<ManagedConfigurationTemplate>
The managed configurations template for the app, saved from the managed configurations iframe. This field is ignored if managed_configuration is set.
lock_task_allowed: Option<bool>
Whether the app is allowed to lock itself in full-screen mode. DEPRECATED. Use InstallType KIOSK or kioskCustomLauncherEnabled to to configure a dedicated device.
package_name: Option<String>
The package name of the app. For example, com.google.android.youtube for the YouTube app.
disabled: Option<bool>
Whether the app is disabled. When disabled, the app data is still preserved.
install_type: Option<String>
The type of installation to perform.
managed_configuration: Option<HashMap<String, String>>
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:
type | JSON value |
BOOL | true or false |
STRING | string |
INTEGER | number |
CHOICE | string |
MULTISELECT | array of strings |
HIDDEN | string |
BUNDLE_ARRAY | array of objects |
minimum_version_code: Option<i32>
The minimum version of the app that runs on the device. If set, the device attempts to update the app to at least this version code. If the app is not up-to-date, the device will contain a NonComplianceDetail with non_compliance_reason set to APP_NOT_UPDATED. The app must already be published to Google Play with a version code greater than or equal to this value. At most 20 apps may specify a minimum version code per policy.
accessible_track_ids: Option<Vec<String>>
List of the app’s track IDs that a device belonging to the enterprise can access. If the list contains multiple track IDs, devices receive the latest version among all accessible tracks. If the list contains no track IDs, devices only have access to the app’s production track. More details about each track are available in AppTrackInfo.
delegated_scopes: Option<Vec<String>>
The scopes delegated to the app from Android Device Policy.
permission_grants: Option<Vec<PermissionGrant>>
Explicit permission grants or denials for the app. These values override the default_permission_policy and permission_grants which apply to all apps.
default_permission_policy: Option<String>
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. It does not override the permission_grants which applies to all apps.
Trait Implementations
impl Clone for ApplicationPolicy
[src]
fn clone(&self) -> ApplicationPolicy
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Debug for ApplicationPolicy
[src]
impl Default for ApplicationPolicy
[src]
fn default() -> ApplicationPolicy
[src]
impl<'de> Deserialize<'de> for ApplicationPolicy
[src]
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]
__D: Deserializer<'de>,
impl Part for ApplicationPolicy
[src]
impl Serialize for ApplicationPolicy
[src]
Auto Trait Implementations
impl RefUnwindSafe for ApplicationPolicy
impl Send for ApplicationPolicy
impl Sync for ApplicationPolicy
impl Unpin for ApplicationPolicy
impl UnwindSafe for ApplicationPolicy
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> DeserializeOwned for T where
T: for<'de> Deserialize<'de>,
[src]
T: for<'de> Deserialize<'de>,
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> Typeable for T where
T: Any,
T: Any,