View Source GoogleApi.AndroidManagement.V1.Model.PolicyEnforcementRule (google_api_android_management v0.48.2)

A rule that defines the actions to take if a device or work profile is not compliant with the policy specified in settingName. In the case of multiple matching or multiple triggered enforcement rules, a merge will occur with the most severe action being taken. However, all triggered rules are still kept track of: this includes initial trigger time and all associated non-compliance details. In the situation where the most severe enforcement rule is satisfied, the next most appropriate action is applied.

Attributes

  • blockAction (type: GoogleApi.AndroidManagement.V1.Model.BlockAction.t, default: nil) - An action to block access to apps and data on a company owned device or in a work profile. This action also triggers a user-facing notification with information (where possible) on how to correct the compliance issue. Note: wipeAction must also be specified.
  • settingName (type: String.t, default: nil) - The top-level policy to enforce. For example, applications or passwordPolicies.
  • wipeAction (type: GoogleApi.AndroidManagement.V1.Model.WipeAction.t, default: nil) - An action to reset a company owned device or delete a work profile. Note: blockAction must also be specified.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() :: %GoogleApi.AndroidManagement.V1.Model.PolicyEnforcementRule{
  blockAction: GoogleApi.AndroidManagement.V1.Model.BlockAction.t() | nil,
  settingName: String.t() | nil,
  wipeAction: GoogleApi.AndroidManagement.V1.Model.WipeAction.t() | nil
}

Functions

@spec decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.