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

Compliance data for an OS policy resource.

Attributes

  • 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.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() ::
  %GoogleApi.OSConfig.V1.Model.OSPolicyAssignmentReportOSPolicyComplianceOSPolicyResourceCompliance{
    complianceState: String.t() | nil,
    complianceStateReason: String.t() | nil,
    configSteps:
      [
        GoogleApi.OSConfig.V1.Model.OSPolicyAssignmentReportOSPolicyComplianceOSPolicyResourceComplianceOSPolicyResourceConfigStep.t()
      ]
      | nil,
    execResourceOutput:
      GoogleApi.OSConfig.V1.Model.OSPolicyAssignmentReportOSPolicyComplianceOSPolicyResourceComplianceExecResourceOutput.t()
      | nil,
    osPolicyResourceId: String.t() | nil
  }

Functions

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

Unwrap a decoded JSON object into its complex fields.