Class InstanceOSPoliciesCompliance.Types.OSPolicyCompliance (2.0.0-alpha01)

[Obsolete]
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
NameDescription
otherInstanceOSPoliciesCompliance.Types.OSPolicyCompliance

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

[Obsolete]
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