1.3.0 (latest) 1.2.0 1.1.0 1.0.0-beta05

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

Reference documentation and code samples for the Cloud Quotas v1 API class CreateQuotaPreferenceRequest.

Message for creating a QuotaPreference

## Inheritance

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

## Implements

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

## Assembly

Google.Cloud.CloudQuotas.V1.dll

## Constructors

### CreateQuotaPreferenceRequest()

    public CreateQuotaPreferenceRequest()

### CreateQuotaPreferenceRequest(CreateQuotaPreferenceRequest)

    public CreateQuotaPreferenceRequest(CreateQuotaPreferenceRequest other)

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

## Properties

### IgnoreSafetyChecks

    public RepeatedField<QuotaSafetyCheck> IgnoreSafetyChecks { get; }

The list of quota safety checks to be ignored.

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

### Parent

    public string Parent { get; set; }

Required. Identifier. Value for parent.

Example:
`projects/123/locations/global`

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

### ParentAsLocationName

    public LocationName ParentAsLocationName { get; set; }

[LocationName](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.CloudQuotas.V1/latest/Google.Cloud.CloudQuotas.V1.LocationName.md.txt)-typed view over the [Parent](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.CloudQuotas.V1/latest/Google.Cloud.CloudQuotas.V1.CreateQuotaPreferenceRequest.md.txt#Google_Cloud_CloudQuotas_V1_CreateQuotaPreferenceRequest_Parent) resource name property.

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

### QuotaPreference

    public QuotaPreference QuotaPreference { get; set; }

Required. The resource being created

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

### QuotaPreferenceId

    public string QuotaPreferenceId { get; set; }

Optional. Id of the requesting object, must be unique under its parent.
If client does not set this field, the service will generate one.

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