Google Cloud OS Config v1alpha API - Class InstanceOSPoliciesCompliance.Types.OSPolicyCompliance (2.0.0-alpha04)

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

Reference documentation and code samples for the Google Cloud OS Config v1alpha API class InstanceOSPoliciesCompliance.Types.OSPolicyCompliance.

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(OSPolicyCompliance)

public OSPolicyCompliance(InstanceOSPoliciesCompliance.Types.OSPolicyCompliance other)
Parameter
Name Description
other InstanceOSPoliciesComplianceTypesOSPolicyCompliance

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
Type Description
string

OsPolicyId

public string OsPolicyId { get; set; }

The OS policy id

Property Value
Type Description
string

OsPolicyResourceCompliances

[Obsolete]
public RepeatedField<OSPolicyResourceCompliance> OsPolicyResourceCompliances { get; }

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

Property Value
Type Description
RepeatedFieldOSPolicyResourceCompliance

State

public OSPolicyComplianceState State { get; set; }

Compliance state of the OS policy.

Property Value
Type Description
OSPolicyComplianceState