GoogleApi.AndroidManagement.V1.Model.NonComplianceDetail (google_api_android_management v0.29.0) View Source

Provides detail about non-compliance with a policy setting.

Attributes

  • currentValue (type: any(), default: nil) - If the policy setting could not be applied, the current value of the setting on the device.
  • fieldPath (type: String.t, default: nil) - 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
  • installationFailureReason (type: String.t, default: nil) - 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.
  • nonComplianceReason (type: String.t, default: nil) - The reason the device is not in compliance with the setting.
  • packageName (type: String.t, default: nil) - The package name indicating which app is out of compliance, if applicable.
  • settingName (type: String.t, default: nil) - The name of the policy setting. This is the JSON field name of a top-level Policy field.

Link to this section Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Link to this section Types

Specs

t() :: %GoogleApi.AndroidManagement.V1.Model.NonComplianceDetail{
  currentValue: any(),
  fieldPath: String.t(),
  installationFailureReason: String.t(),
  nonComplianceReason: String.t(),
  packageName: String.t(),
  settingName: String.t()
}

Link to this section Functions

Specs

decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.