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

1.0.0-beta05 (latest) 1.0.0-beta04

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

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

The request message for \[GetCloudControl\]\[\].

## Inheritance

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

## Implements

[IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.html)[GetCloudControlRequest](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.CloudSecurityCompliance.V1/latest/Google.Cloud.CloudSecurityCompliance.V1.GetCloudControlRequest), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[GetCloudControlRequest](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.CloudSecurityCompliance.V1/latest/Google.Cloud.CloudSecurityCompliance.V1.GetCloudControlRequest), [IDeepCloneable](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.html)[GetCloudControlRequest](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.CloudSecurityCompliance.V1/latest/Google.Cloud.CloudSecurityCompliance.V1.GetCloudControlRequest), [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

### GetCloudControlRequest()

    public GetCloudControlRequest()

### GetCloudControlRequest(GetCloudControlRequest)

    public GetCloudControlRequest(GetCloudControlRequest other)

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

## Properties

### 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.GetCloudControlRequest#Google_Cloud_CloudSecurityCompliance_V1_GetCloudControlRequest_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` |   |

### MajorRevisionId

    public long MajorRevisionId { get; set; }

Optional. The major version of the cloud control to retrieve. If not
specified, the most recently updated `revision_id` is retrieved.

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

### Name

    public string Name { get; set; }

Required. The name of the cloud control to retrieve, in one of the
following 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` |   |