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

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.


  • 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.

Link to this section Summary


Unwrap a decoded JSON object into its complex fields.

Link to this section Types


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

Link to this section Functions


decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.