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

1.0.0-beta05 (latest) 1.0.0-beta04

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

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

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

## Inheritance

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

## Implements

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

### CalculateEffectiveCmEnrollmentRequest()

    public CalculateEffectiveCmEnrollmentRequest()

### CalculateEffectiveCmEnrollmentRequest(CalculateEffectiveCmEnrollmentRequest)

    public CalculateEffectiveCmEnrollmentRequest(CalculateEffectiveCmEnrollmentRequest other)

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

## Properties

### CmEnrollmentName

    public CmEnrollmentName CmEnrollmentName { get; set; }

[CmEnrollmentName](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.CloudSecurityCompliance.V1/latest/Google.Cloud.CloudSecurityCompliance.V1.CmEnrollmentName)-typed view over the [Name](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.CloudSecurityCompliance.V1/latest/Google.Cloud.CloudSecurityCompliance.V1.CalculateEffectiveCmEnrollmentRequest#Google_Cloud_CloudSecurityCompliance_V1_CalculateEffectiveCmEnrollmentRequest_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.CmEnrollmentName` |   |

### Name

    public string Name { get; set; }

Required. The name of the Compliance Manager enrollment to calculate.

Supported formats are the following:

- `organizations/{organization_id}/locations/{location}/cmEnrollment`
- `folders/{folder_id}/locations/{location}/cmEnrollment`
- `projects/{project_id}/locations/{location}/cmEnrollment`

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