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.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-07 UTC."],[[["\u003cp\u003eThis documentation details the \u003ccode\u003eCreateQuotaPreferenceRequest\u003c/code\u003e class, which is used to send a request to create a new \u003ccode\u003eQuotaPreference\u003c/code\u003e in the Cloud Quotas v1 API.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eCreateQuotaPreferenceRequest\u003c/code\u003e class implements interfaces like \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e, and inherits from the base \u003ccode\u003eobject\u003c/code\u003e class.\u003c/p\u003e\n"],["\u003cp\u003eIt provides constructors for creating new instances and contains properties like \u003ccode\u003eParent\u003c/code\u003e (required location for the new preference), \u003ccode\u003eQuotaPreference\u003c/code\u003e (the resource being created), and \u003ccode\u003eQuotaPreferenceId\u003c/code\u003e (optional unique ID).\u003c/p\u003e\n"],["\u003cp\u003eThe class includes a property named \u003ccode\u003eIgnoreSafetyChecks\u003c/code\u003e that holds a list of \u003ccode\u003eQuotaSafetyCheck\u003c/code\u003e that should be ignored.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eParentAsLocationName\u003c/code\u003e is a property of type \u003ccode\u003eLocationName\u003c/code\u003e that provides a typed view over the \u003ccode\u003eParent\u003c/code\u003e property.\u003c/p\u003e\n"]]],[],null,["# Cloud Quotas v1 API - Class CreateQuotaPreferenceRequest (1.1.0)\n\nVersion latestkeyboard_arrow_down\n\n- [1.1.0 (latest)](/dotnet/docs/reference/Google.Cloud.CloudQuotas.V1/latest/Google.Cloud.CloudQuotas.V1.CreateQuotaPreferenceRequest)\n- [1.0.0-beta05](/dotnet/docs/reference/Google.Cloud.CloudQuotas.V1/1.0.0-beta05/Google.Cloud.CloudQuotas.V1.CreateQuotaPreferenceRequest) \n\n public sealed class CreateQuotaPreferenceRequest : IMessage\u003cCreateQuotaPreferenceRequest\u003e, IEquatable\u003cCreateQuotaPreferenceRequest\u003e, IDeepCloneable\u003cCreateQuotaPreferenceRequest\u003e, IBufferMessage, IMessage\n\nReference documentation and code samples for the Cloud Quotas v1 API class CreateQuotaPreferenceRequest.\n\nMessage for creating a QuotaPreference \n\nInheritance\n-----------\n\n[object](https://learn.microsoft.com/dotnet/api/system.object) \\\u003e CreateQuotaPreferenceRequest \n\nImplements\n----------\n\n[IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.html)[CreateQuotaPreferenceRequest](/dotnet/docs/reference/Google.Cloud.CloudQuotas.V1/latest/Google.Cloud.CloudQuotas.V1.CreateQuotaPreferenceRequest), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[CreateQuotaPreferenceRequest](/dotnet/docs/reference/Google.Cloud.CloudQuotas.V1/latest/Google.Cloud.CloudQuotas.V1.CreateQuotaPreferenceRequest), [IDeepCloneable](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.html)[CreateQuotaPreferenceRequest](/dotnet/docs/reference/Google.Cloud.CloudQuotas.V1/latest/Google.Cloud.CloudQuotas.V1.CreateQuotaPreferenceRequest), [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) \n\nInherited Members\n-----------------\n\n[object.GetHashCode()](https://learn.microsoft.com/dotnet/api/system.object.gethashcode) \n[object.GetType()](https://learn.microsoft.com/dotnet/api/system.object.gettype) \n[object.ToString()](https://learn.microsoft.com/dotnet/api/system.object.tostring)\n\nNamespace\n---------\n\n[Google.Cloud.CloudQuotas.V1](/dotnet/docs/reference/Google.Cloud.CloudQuotas.V1/latest/Google.Cloud.CloudQuotas.V1)\n\nAssembly\n--------\n\nGoogle.Cloud.CloudQuotas.V1.dll\n\nConstructors\n------------\n\n### CreateQuotaPreferenceRequest()\n\n public CreateQuotaPreferenceRequest()\n\n### CreateQuotaPreferenceRequest(CreateQuotaPreferenceRequest)\n\n public CreateQuotaPreferenceRequest(CreateQuotaPreferenceRequest other)\n\nProperties\n----------\n\n### IgnoreSafetyChecks\n\n public RepeatedField\u003cQuotaSafetyCheck\u003e IgnoreSafetyChecks { get; }\n\nThe list of quota safety checks to be ignored.\n\n### Parent\n\n public string Parent { get; set; }\n\nRequired. Value for parent.\n\nExample:\n`projects/123/locations/global`\n\n### ParentAsLocationName\n\n public LocationName ParentAsLocationName { get; set; }\n\n[LocationName](/dotnet/docs/reference/Google.Cloud.CloudQuotas.V1/latest/Google.Cloud.CloudQuotas.V1.LocationName)-typed view over the [Parent](/dotnet/docs/reference/Google.Cloud.CloudQuotas.V1/latest/Google.Cloud.CloudQuotas.V1.CreateQuotaPreferenceRequest#Google_Cloud_CloudQuotas_V1_CreateQuotaPreferenceRequest_Parent) resource name property.\n\n### QuotaPreference\n\n public QuotaPreference QuotaPreference { get; set; }\n\nRequired. The resource being created\n\n### QuotaPreferenceId\n\n public string QuotaPreferenceId { get; set; }\n\nOptional. Id of the requesting object, must be unique under its parent.\nIf client does not set this field, the service will generate one."]]