google_api_android_management v0.5.0 GoogleApi.AndroidManagement.V1.Model.ComplianceRule View Source

A rule declaring which mitigating actions to take when a device is not compliant with its policy. For every rule, there is always an implicit mitigating action to set policy_compliant to false for the Device resource, and display a message on the device indicating that the device is not compliant with its policy. Other mitigating actions may optionally be taken as well, depending on the field values in the rule.

Attributes

  • apiLevelCondition (ApiLevelCondition): A condition which is satisfied if the Android Framework API level on the device doesn't meet a minimum requirement. Defaults to: null.
  • disableApps (boolean()): If set to true, the rule includes a mitigating action to disable apps so that the device is effectively disabled, but app data is preserved. If the device is running an app in locked task mode, the app will be closed and a UI showing the reason for non-compliance will be displayed. Defaults to: null.
  • nonComplianceDetailCondition (NonComplianceDetailCondition): A condition which is satisfied if there exists any matching NonComplianceDetail for the device. Defaults to: null.
  • packageNamesToDisable ([String.t]): If set, the rule includes a mitigating action to disable apps specified in the list, but app data is preserved. Defaults to: null.

Link to this section Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Link to this section Types

Link to this type

t() View Source
t() :: %GoogleApi.AndroidManagement.V1.Model.ComplianceRule{
  apiLevelCondition: GoogleApi.AndroidManagement.V1.Model.ApiLevelCondition.t(),
  disableApps: any(),
  nonComplianceDetailCondition:
    GoogleApi.AndroidManagement.V1.Model.NonComplianceDetailCondition.t(),
  packageNamesToDisable: [any()]
}

Link to this section Functions

Link to this function

decode(value, options) View Source
decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.