View Source GoogleApi.OSConfig.V1.Model.OSPolicyAssignmentReportOSPolicyComplianceOSPolicyResourceCompliance (google_api_os_config v0.20.0)

Compliance data for an OS policy resource.


  • complianceState (type: String.t, default: nil) - The compliance state of the resource.
  • complianceStateReason (type: String.t, default: nil) - A reason for the resource to be in the given compliance state. This field is always populated when compliance_state is UNKNOWN. The following values are supported when compliance_state == UNKNOWN execution-errors: Errors were encountered by the agent while executing the resource and the compliance state couldn't be determined. execution-skipped-by-agent: Resource execution was skipped by the agent because errors were encountered while executing prior resources in the OS policy. * os-policy-execution-attempt-failed: The execution of the OS policy containing this resource failed and the compliance state couldn't be determined.
  • configSteps (type: list(GoogleApi.OSConfig.V1.Model.OSPolicyAssignmentReportOSPolicyComplianceOSPolicyResourceComplianceOSPolicyResourceConfigStep.t), default: nil) - Ordered list of configuration completed by the agent for the OS policy resource.
  • execResourceOutput (type: GoogleApi.OSConfig.V1.Model.OSPolicyAssignmentReportOSPolicyComplianceOSPolicyResourceComplianceExecResourceOutput.t, default: nil) - ExecResource specific output.
  • osPolicyResourceId (type: String.t, default: nil) - The ID of the OS policy resource.

Link to this section Summary


Unwrap a decoded JSON object into its complex fields.

Link to this section Types


t() ::
    complianceState: String.t() | nil,
    complianceStateReason: String.t() | nil,
      | nil,
      | nil,
    osPolicyResourceId: String.t() | nil

Link to this section Functions


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

Unwrap a decoded JSON object into its complex fields.