# Cloud Security Compliance v1 API - Class CloudControl (1.0.0-beta05)

1.0.0-beta05 (latest) 1.0.0-beta04

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

Reference documentation and code samples for the Cloud Security Compliance v1 API class CloudControl.

A cloud control is a set of rules and associated metadata that you can
use to define your organization's security or compliance intent.

## Inheritance

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

## Implements

[IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.html)[CloudControl](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.CloudSecurityCompliance.V1/latest/Google.Cloud.CloudSecurityCompliance.V1.CloudControl), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[CloudControl](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.CloudSecurityCompliance.V1/latest/Google.Cloud.CloudSecurityCompliance.V1.CloudControl), [IDeepCloneable](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.html)[CloudControl](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.CloudSecurityCompliance.V1/latest/Google.Cloud.CloudSecurityCompliance.V1.CloudControl), [IBufferMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IBufferMessage.html), [IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage.html)

## 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.CloudSecurityCompliance.V1](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.CloudSecurityCompliance.V1/latest/Google.Cloud.CloudSecurityCompliance.V1)

## Assembly

Google.Cloud.CloudSecurityCompliance.V1.dll

## Constructors

### CloudControl()

    public CloudControl()

### CloudControl(CloudControl)

    public CloudControl(CloudControl other)

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `other` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.CloudSecurityCompliance.V1/latest/Google.Cloud.CloudSecurityCompliance.V1.CloudControl` |

## Properties

### Categories

    public RepeatedField<CloudControlCategory> Categories { get; }

Optional. The categories for the cloud control.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.Collections.RepeatedField-1.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.CloudSecurityCompliance.V1/latest/Google.Cloud.CloudSecurityCompliance.V1.CloudControlCategory` |   |

### CloudControlName

    public CloudControlName CloudControlName { get; set; }

[CloudControlName](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.CloudSecurityCompliance.V1/latest/Google.Cloud.CloudSecurityCompliance.V1.CloudControlName)-typed view over the [Name](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.CloudSecurityCompliance.V1/latest/Google.Cloud.CloudSecurityCompliance.V1.CloudControl#Google_Cloud_CloudSecurityCompliance_V1_CloudControl_Name) resource name property.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.CloudSecurityCompliance.V1/latest/Google.Cloud.CloudSecurityCompliance.V1.CloudControlName` |   |

### CreateTime

    public Timestamp CreateTime { get; set; }

Output only. The time that the cloud control was last updated.
`create_time` is used because a new cloud control is created
whenever an existing cloud control is updated.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.WellKnownTypes.Timestamp.html` |   |

### Description

    public string Description { get; set; }

Optional. A description of the cloud control. The maximum length is 2000
characters.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.string` |   |

### DisplayName

    public string DisplayName { get; set; }

Optional. The friendly name of the cloud control. The maximum length is 200
characters.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.string` |   |

### FindingCategory

    public string FindingCategory { get; set; }

Optional. The finding category for the cloud control findings. The maximum
length is 255 characters.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.string` |   |

### MajorRevisionId

    public long MajorRevisionId { get; set; }

Output only. The major version of the cloud control, which is incremented
in ascending order.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.int64` |   |

### Name

    public string Name { get; set; }

Required. Identifier. The name of the cloud control, in either of the
formats:
`organizations/{organization}/locations/{location}/cloudControls/{cloud_control}`
or
`projects/{project}/locations/{location}/cloudControls/{cloud_control}`.

The only supported location is `global`.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.string` |   |

### ParameterSpec

    public RepeatedField<ParameterSpec> ParameterSpec { get; }

Optional. The parameter specifications for the cloud control.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.Collections.RepeatedField-1.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.CloudSecurityCompliance.V1/latest/Google.Cloud.CloudSecurityCompliance.V1.ParameterSpec` |   |

### RelatedFrameworks

    public RepeatedField<string> RelatedFrameworks { get; }

Output only. The frameworks that include this cloud control.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.Collections.RepeatedField-1.htmlhttps://learn.microsoft.com/dotnet/api/system.string` |   |

### RemediationSteps

    public string RemediationSteps { get; set; }

Optional. The remediation steps for the cloud control findings. The
maximum length is 400 characters.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.string` |   |

### Rules

    public RepeatedField<Rule> Rules { get; }

Optional. The rules that you can enforce to meet your security or
compliance intent.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.Collections.RepeatedField-1.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.CloudSecurityCompliance.V1/latest/Google.Cloud.CloudSecurityCompliance.V1.Rule` |   |

### Severity

    public Severity Severity { get; set; }

Optional. The severity of the findings that are generated by the cloud
control.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.CloudSecurityCompliance.V1/latest/Google.Cloud.CloudSecurityCompliance.V1.Severity` |   |

### SupportedCloudProviders

    public RepeatedField<CloudProvider> SupportedCloudProviders { get; }

Optional. The supported cloud providers.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.Collections.RepeatedField-1.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.CloudSecurityCompliance.V1/latest/Google.Cloud.CloudSecurityCompliance.V1.CloudProvider` |   |

### SupportedEnforcementModes

    public RepeatedField<EnforcementMode> SupportedEnforcementModes { get; }

Output only. The supported enforcement modes for the cloud control.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.Collections.RepeatedField-1.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.CloudSecurityCompliance.V1/latest/Google.Cloud.CloudSecurityCompliance.V1.EnforcementMode` |   |

### SupportedTargetResourceTypes

    public RepeatedField<TargetResourceType> SupportedTargetResourceTypes { get; }

Optional. The target resource types that are supported by the cloud
control.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.Collections.RepeatedField-1.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.CloudSecurityCompliance.V1/latest/Google.Cloud.CloudSecurityCompliance.V1.TargetResourceType` |   |