# NetApp v1 API - Class CreateQuotaRuleRequest (1.16.0)

1.16.0 (latest) 1.15.0 1.14.0 1.13.0 1.12.0 1.11.0 1.10.0 1.9.0 1.8.0 1.7.0 1.6.0 1.5.0 1.4.0 1.3.0 1.2.0 1.1.0 1.0.0

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

Reference documentation and code samples for the NetApp v1 API class CreateQuotaRuleRequest.

CreateQuotaRuleRequest for creating a quota rule.

## Inheritance

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

## Implements

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

## Assembly

Google.Cloud.NetApp.V1.dll

## Constructors

### CreateQuotaRuleRequest()

    public CreateQuotaRuleRequest()

### CreateQuotaRuleRequest(CreateQuotaRuleRequest)

    public CreateQuotaRuleRequest(CreateQuotaRuleRequest other)

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

## Properties

### Parent

    public string Parent { get; set; }

Required. Parent value for CreateQuotaRuleRequest

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

### ParentAsVolumeName

    public VolumeName ParentAsVolumeName { get; set; }

[VolumeName](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.NetApp.V1/latest/Google.Cloud.NetApp.V1.VolumeName)-typed view over the [Parent](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.NetApp.V1/latest/Google.Cloud.NetApp.V1.CreateQuotaRuleRequest#Google_Cloud_NetApp_V1_CreateQuotaRuleRequest_Parent) resource name property.

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

### QuotaRule

    public QuotaRule QuotaRule { get; set; }

Required. Fields of the to be created quota rule.

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

### QuotaRuleId

    public string QuotaRuleId { get; set; }

Required. ID of the quota rule to create. Must be unique within the parent
resource. Must contain only letters, numbers, underscore and hyphen, with
the first character a letter or underscore, the last a letter or underscore
or a number, and a 63 character maximum.

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