Struct google_androidmanagement1::NonComplianceDetail[][src]

pub struct NonComplianceDetail {
    pub field_path: Option<String>,
    pub current_value: Option<String>,
    pub installation_failure_reason: Option<String>,
    pub setting_name: Option<String>,
    pub non_compliance_reason: Option<String>,
    pub package_name: Option<String>,
}

Provides detail about non-compliance with a policy setting.

This type is not used in any activity, and only used as part of another schema.

Fields

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

If the policy setting could not be applied, the current value of the setting on the device.

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.

The name of the policy setting. This is the JSON field name of a top-level Policy field.

The reason the device is not in compliance with the setting.

The package name indicating which app is out of compliance, if applicable.

Trait Implementations

impl Default for NonComplianceDetail
[src]

Returns the "default value" for a type. Read more

impl Clone for NonComplianceDetail
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for NonComplianceDetail
[src]

Formats the value using the given formatter. Read more

impl Part for NonComplianceDetail
[src]

Auto Trait Implementations