Show / Hide Table of Contents

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.

Inheritance
object
BlockAction
Implements
IDirectResponseSchema
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
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

Implements

IDirectResponseSchema
In this article
Back to top Generated by DocFX