GoogleApi.AndroidManagement.V1.Model.BlockAction (google_api_android_management v0.29.0) 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.

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.

Link to this section Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Link to this section Types

Specs

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

Link to this section Functions

Specs

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

Unwrap a decoded JSON object into its complex fields.