Class BlockAction
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.
Implements
Inherited Members
Namespace: Google.Apis.AndroidManagement.v1.Data
Assembly: Google.Apis.AndroidManagement.v1.dll
Syntax
public class BlockAction : IDirectResponseSchema
Properties
BlockAfterDays
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.
Declaration
[JsonProperty("blockAfterDays")]
public virtual int? BlockAfterDays { get; set; }
Property Value
Type | Description |
---|---|
int? |
BlockScope
Specifies the scope of this BlockAction. Only applicable to devices that are company-owned.
Declaration
[JsonProperty("blockScope")]
public virtual string BlockScope { get; set; }
Property Value
Type | Description |
---|---|
string |
ETag
The ETag of the item.
Declaration
public virtual string ETag { get; set; }
Property Value
Type | Description |
---|---|
string |