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

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.
  • specificNonComplianceContext (type: GoogleApi.AndroidManagement.V1.Model.SpecificNonComplianceContext.t, default: nil) - Additional context for specific_non_compliance_reason.
  • specificNonComplianceReason (type: String.t, default: nil) - The policy-specific reason the device is not in compliance with the setting.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() :: %GoogleApi.AndroidManagement.V1.Model.NonComplianceDetail{
  currentValue: any() | nil,
  fieldPath: String.t() | nil,
  installationFailureReason: String.t() | nil,
  nonComplianceReason: String.t() | nil,
  packageName: String.t() | nil,
  settingName: String.t() | nil,
  specificNonComplianceContext:
    GoogleApi.AndroidManagement.V1.Model.SpecificNonComplianceContext.t() | nil,
  specificNonComplianceReason: String.t() | nil
}

Functions

@spec decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.