Show / Hide Table of Contents

Class PolicyEnforcementRule

A rule that defines the actions to take if a device or work profile is not compliant with the policy specified in settingName. In the case of multiple matching or multiple triggered enforcement rules, a merge will occur with the most severe action being taken. However, all triggered rules are still kept track of: this includes initial trigger time and all associated non-compliance details. In the situation where the most severe enforcement rule is satisfied, the next most appropriate action is applied.

Inheritance
object
PolicyEnforcementRule
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 PolicyEnforcementRule : IDirectResponseSchema

Properties

BlockAction

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

Declaration
[JsonProperty("blockAction")]
public virtual BlockAction BlockAction { get; set; }
Property Value
Type Description
BlockAction

ETag

The ETag of the item.

Declaration
public virtual string ETag { get; set; }
Property Value
Type Description
string

SettingName

The top-level policy to enforce. For example, applications or passwordPolicies.

Declaration
[JsonProperty("settingName")]
public virtual string SettingName { get; set; }
Property Value
Type Description
string

WipeAction

An action to reset a company owned device or delete a work profile. Note: blockAction must also be specified.

Declaration
[JsonProperty("wipeAction")]
public virtual WipeAction WipeAction { get; set; }
Property Value
Type Description
WipeAction

Implements

IDirectResponseSchema
In this article
Back to top Generated by DocFX