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

A report of the OS policy assignment status for a given instance.

Attributes

  • instance (type: String.t, default: nil) - The Compute Engine VM instance name.
  • lastRunId (type: String.t, default: nil) - Unique identifier of the last attempted run to apply the OS policies associated with this assignment on the VM. This ID is logged by the OS Config agent while applying the OS policies associated with this assignment on the VM. NOTE: If the service is unable to successfully connect to the agent for this run, then this id will not be available in the agent logs.
  • name (type: String.t, default: nil) - The OSPolicyAssignmentReport API resource name. Format: projects/{project_number}/locations/{location}/instances/{instance_id}/osPolicyAssignments/{os_policy_assignment_id}/report
  • osPolicyAssignment (type: String.t, default: nil) - Reference to the OSPolicyAssignment API resource that the OSPolicy belongs to. Format: projects/{project_number}/locations/{location}/osPolicyAssignments/{os_policy_assignment_id@revision_id}
  • osPolicyCompliances (type: list(GoogleApi.OSConfig.V1.Model.OSPolicyAssignmentReportOSPolicyCompliance.t), default: nil) - Compliance data for each OSPolicy that is applied to the VM.
  • updateTime (type: DateTime.t, default: nil) - Timestamp for when the report was last generated.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() :: %GoogleApi.OSConfig.V1.Model.OSPolicyAssignmentReport{
  instance: String.t() | nil,
  lastRunId: String.t() | nil,
  name: String.t() | nil,
  osPolicyAssignment: String.t() | nil,
  osPolicyCompliances:
    [GoogleApi.OSConfig.V1.Model.OSPolicyAssignmentReportOSPolicyCompliance.t()]
    | nil,
  updateTime: DateTime.t() | nil
}

Functions

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

Unwrap a decoded JSON object into its complex fields.