Class NonComplianceDetail
Provides detail about non-compliance with a policy setting.
Implements
Inherited Members
Namespace: Google.Apis.AndroidManagement.v1.Data
Assembly: Google.Apis.AndroidManagement.v1.dll
Syntax
public class NonComplianceDetail : IDirectResponseSchema
Properties
CurrentValue
If the policy setting could not be applied, the current value of the setting on the device.
Declaration
[JsonProperty("currentValue")]
public virtual object CurrentValue { get; set; }
Property Value
Type | Description |
---|---|
object |
ETag
The ETag of the item.
Declaration
public virtual string ETag { get; set; }
Property Value
Type | Description |
---|---|
string |
FieldPath
For settings with nested fields, if a particular nested field is out of compliance, this specifies the full path to the offending field. The path is formatted in the same way the policy JSON field would be referenced in JavaScript, that is: 1) For object-typed fields, the field name is followed by a dot then by a subfield name. 2) For array-typed fields, the field name is followed by the array index enclosed in brackets. For example, to indicate a problem with the url field in the externalData field in the 3rd application, the path would be applications[2].externalData.url
Declaration
[JsonProperty("fieldPath")]
public virtual string FieldPath { get; set; }
Property Value
Type | Description |
---|---|
string |
InstallationFailureReason
If package_name is set and the non-compliance reason is APP_NOT_INSTALLED or APP_NOT_UPDATED, the detailed reason the app can't be installed or updated.
Declaration
[JsonProperty("installationFailureReason")]
public virtual string InstallationFailureReason { get; set; }
Property Value
Type | Description |
---|---|
string |
NonComplianceReason
The reason the device is not in compliance with the setting.
Declaration
[JsonProperty("nonComplianceReason")]
public virtual string NonComplianceReason { get; set; }
Property Value
Type | Description |
---|---|
string |
PackageName
The package name indicating which app is out of compliance, if applicable.
Declaration
[JsonProperty("packageName")]
public virtual string PackageName { get; set; }
Property Value
Type | Description |
---|---|
string |
SettingName
The name of the policy setting. This is the JSON field name of a top-level Policy field.
Declaration
[JsonProperty("settingName")]
public virtual string SettingName { get; set; }
Property Value
Type | Description |
---|---|
string |
SpecificNonComplianceContext
Additional context for specific_non_compliance_reason.
Declaration
[JsonProperty("specificNonComplianceContext")]
public virtual SpecificNonComplianceContext SpecificNonComplianceContext { get; set; }
Property Value
Type | Description |
---|---|
SpecificNonComplianceContext |
SpecificNonComplianceReason
The policy-specific reason the device is not in compliance with the setting.
Declaration
[JsonProperty("specificNonComplianceReason")]
public virtual string SpecificNonComplianceReason { get; set; }
Property Value
Type | Description |
---|---|
string |