Class OSPolicyAssignmentReport (1.0.0-alpha04)

public sealed class OSPolicyAssignmentReport : IMessage<OSPolicyAssignmentReport>, IEquatable<OSPolicyAssignmentReport>, IDeepCloneable<OSPolicyAssignmentReport>, IBufferMessage, IMessage

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

Inheritance

Object > OSPolicyAssignmentReport

Namespace

Google.Cloud.OsConfig.V1Alpha

Assembly

Google.Cloud.OsConfig.V1Alpha.dll

Constructors

OSPolicyAssignmentReport()

public OSPolicyAssignmentReport()

OSPolicyAssignmentReport(OSPolicyAssignmentReport)

public OSPolicyAssignmentReport(OSPolicyAssignmentReport other)
Parameter
NameDescription
otherOSPolicyAssignmentReport

Properties

Instance

public string Instance { get; set; }

The Compute Engine VM instance name.

Property Value
TypeDescription
String

LastRunId

public string LastRunId { get; set; }

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.

Property Value
TypeDescription
String

Name

public string Name { get; set; }

The OSPolicyAssignmentReport API resource name.

Format: projects/{project_number}/locations/{location}/instances/{instance_id}/osPolicyAssignments/{os_policy_assignment_id}/report

Property Value
TypeDescription
String

OsPolicyAssignment

public string OsPolicyAssignment { get; set; }

Reference to the OSPolicyAssignment API resource that the OSPolicy belongs to.

Format: projects/{project_number}/locations/{location}/osPolicyAssignments/{os_policy_assignment_id@revision_id}

Property Value
TypeDescription
String

OsPolicyAssignmentAsOSPolicyAssignmentName

public OSPolicyAssignmentName OsPolicyAssignmentAsOSPolicyAssignmentName { get; set; }

OSPolicyAssignmentName-typed view over the OsPolicyAssignment resource name property.

Property Value
TypeDescription
OSPolicyAssignmentName

OSPolicyAssignmentReportName

public OSPolicyAssignmentReportName OSPolicyAssignmentReportName { get; set; }

OSPolicyAssignmentReportName-typed view over the Name resource name property.

Property Value
TypeDescription
OSPolicyAssignmentReportName

OsPolicyCompliances

public RepeatedField<OSPolicyAssignmentReport.Types.OSPolicyCompliance> OsPolicyCompliances { get; }

Compliance data for each OSPolicy that is applied to the VM.

Property Value
TypeDescription
RepeatedField<OSPolicyAssignmentReport.Types.OSPolicyCompliance>

UpdateTime

public Timestamp UpdateTime { get; set; }

Timestamp for when the report was last generated.

Property Value
TypeDescription
Timestamp