public sealed class OSPolicyAssignmentReport : IMessage<OSPolicyAssignmentReport>, IEquatable<OSPolicyAssignmentReport>, IDeepCloneable<OSPolicyAssignmentReport>, IBufferMessage, IMessage
Reference documentation and code samples for the Google Cloud OS Config v1alpha API class OSPolicyAssignmentReport.
A report of the OS policy assignment status for a given instance.
Implements
IMessageOSPolicyAssignmentReport, IEquatableOSPolicyAssignmentReport, IDeepCloneableOSPolicyAssignmentReport, IBufferMessage, IMessageNamespace
Google.Cloud.OsConfig.V1AlphaAssembly
Google.Cloud.OsConfig.V1Alpha.dll
Constructors
OSPolicyAssignmentReport()
public OSPolicyAssignmentReport()
OSPolicyAssignmentReport(OSPolicyAssignmentReport)
public OSPolicyAssignmentReport(OSPolicyAssignmentReport other)
Parameter | |
---|---|
Name | Description |
other |
OSPolicyAssignmentReport |
Properties
Instance
public string Instance { get; set; }
The Compute Engine VM instance name.
Property Value | |
---|---|
Type | Description |
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 | |
---|---|
Type | Description |
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 | |
---|---|
Type | Description |
string |
OSPolicyAssignmentReportName
public OSPolicyAssignmentReportName OSPolicyAssignmentReportName { get; set; }
OSPolicyAssignmentReportName-typed view over the Name resource name property.
Property Value | |
---|---|
Type | Description |
OSPolicyAssignmentReportName |
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 | |
---|---|
Type | Description |
string |
OsPolicyAssignmentAsOSPolicyAssignmentName
public OSPolicyAssignmentName OsPolicyAssignmentAsOSPolicyAssignmentName { get; set; }
OSPolicyAssignmentName-typed view over the OsPolicyAssignment resource name property.
Property Value | |
---|---|
Type | Description |
OSPolicyAssignmentName |
OsPolicyCompliances
public RepeatedField<OSPolicyAssignmentReport.Types.OSPolicyCompliance> OsPolicyCompliances { get; }
Compliance data for each OSPolicy
that is applied to the VM.
Property Value | |
---|---|
Type | Description |
RepeatedFieldOSPolicyAssignmentReportTypesOSPolicyCompliance |
UpdateTime
public Timestamp UpdateTime { get; set; }
Timestamp for when the report was last generated.
Property Value | |
---|---|
Type | Description |
Timestamp |