Class InstanceOSPoliciesCompliance.Types.OSPolicyCompliance

public sealed class OSPolicyCompliance : IMessage<InstanceOSPoliciesCompliance.Types.OSPolicyCompliance>, IEquatable<InstanceOSPoliciesCompliance.Types.OSPolicyCompliance>, IDeepCloneable<InstanceOSPoliciesCompliance.Types.OSPolicyCompliance>, IBufferMessage, IMessage

Compliance data for an OS policy

Inheritance

Object > InstanceOSPoliciesCompliance.Types.OSPolicyCompliance

Namespace

Google.Cloud.OsConfig.V1Alpha

Assembly

Google.Cloud.OsConfig.V1Alpha.dll

Constructors

OSPolicyCompliance()

public OSPolicyCompliance()

OSPolicyCompliance(InstanceOSPoliciesCompliance.Types.OSPolicyCompliance)

public OSPolicyCompliance(InstanceOSPoliciesCompliance.Types.OSPolicyCompliance other)
Parameter
TypeNameDescription
InstanceOSPoliciesCompliance.Types.OSPolicyComplianceother

Properties

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

OsPolicyId

public string OsPolicyId { get; set; }

The OS policy id

Property Value
TypeDescription
String

OsPolicyResourceCompliances

public RepeatedField<OSPolicyResourceCompliance> OsPolicyResourceCompliances { get; }

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

Property Value
TypeDescription
RepeatedField<OSPolicyResourceCompliance>

State

public OSPolicyComplianceState State { get; set; }

Compliance state of the OS policy.

Property Value
TypeDescription
OSPolicyComplianceState