View Source GoogleApi.AndroidManagement.V1.Model.BlockAction (google_api_android_management v0.48.0)

An action to block access to apps and data on a fully managed device or in a work profile. This action also triggers a device or work profile to displays a user-facing notification with information (where possible) on how to correct the compliance issue. Note: wipeAction must also be specified.

Attributes

  • blockAfterDays (type: integer(), default: nil) - Number of days the policy is non-compliant before the device or work profile is blocked. To block access immediately, set to 0. blockAfterDays must be less than wipeAfterDays.
  • blockScope (type: String.t, default: nil) - Specifies the scope of this BlockAction. Only applicable to devices that are company-owned.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() :: %GoogleApi.AndroidManagement.V1.Model.BlockAction{
  blockAfterDays: integer() | nil,
  blockScope: String.t() | nil
}

Functions

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

Unwrap a decoded JSON object into its complex fields.