1.6.0 (latest) 1.5.0 1.4.0 1.3.0 1.2.0 1.1.0 1.0.0

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

Reference documentation and code samples for the Security Command Center v2 API class Compliance.

Contains compliance information about a security standard indicating unmet
recommendations.

## Inheritance

[object](https://learn.microsoft.com/dotnet/api/system.object) \> Compliance

## Implements

[IMessage](https://docs.cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.md.txt)[Compliance](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.SecurityCenter.V2/latest/Google.Cloud.SecurityCenter.V2.Compliance.md.txt), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[Compliance](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.SecurityCenter.V2/latest/Google.Cloud.SecurityCenter.V2.Compliance.md.txt), [IDeepCloneable](https://docs.cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.md.txt)[Compliance](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.SecurityCenter.V2/latest/Google.Cloud.SecurityCenter.V2.Compliance.md.txt), [IBufferMessage](https://docs.cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IBufferMessage.md.txt), [IMessage](https://docs.cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage.md.txt)

## Inherited Members

[object.GetHashCode()](https://learn.microsoft.com/dotnet/api/system.object.gethashcode) [object.GetType()](https://learn.microsoft.com/dotnet/api/system.object.gettype) [object.ToString()](https://learn.microsoft.com/dotnet/api/system.object.tostring)

## Namespace

[Google.Cloud.SecurityCenter.V2](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.SecurityCenter.V2/latest/Google.Cloud.SecurityCenter.V2.md.txt)

## Assembly

Google.Cloud.SecurityCenter.V2.dll

## Constructors

### Compliance()

    public Compliance()

### Compliance(Compliance)

    public Compliance(Compliance other)

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `other` | `Compliance` |

## Properties

### Ids

    public RepeatedField<string> Ids { get; }

Policies within the standard or benchmark, for example, A.12.4.1

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `RepeatedFieldstring` |   |

### Standard

    public string Standard { get; set; }

Industry-wide compliance standards or benchmarks, such as CIS, PCI, and
OWASP.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `string` |   |

### Version

    public string Version { get; set; }

Version of the standard or benchmark, for example, 1.1

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `string` |   |