public sealed class CreateQuotaPreferenceRequest : IMessage<CreateQuotaPreferenceRequest>, IEquatable<CreateQuotaPreferenceRequest>, IDeepCloneable<CreateQuotaPreferenceRequest>, IBufferMessage, IMessage
Reference documentation and code samples for the Cloud Quotas v1beta 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\u003e\u003ccode\u003eCreateQuotaPreferenceRequest\u003c/code\u003e is a sealed class within the Cloud Quotas v1beta API, specifically used for creating a QuotaPreference message.\u003c/p\u003e\n"],["\u003cp\u003eThis class implements several interfaces, including \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e, providing functionalities for message handling, comparison, cloning, and buffer management.\u003c/p\u003e\n"],["\u003cp\u003eIt has constructors to create new instances, either empty or by copying from another \u003ccode\u003eCreateQuotaPreferenceRequest\u003c/code\u003e object.\u003c/p\u003e\n"],["\u003cp\u003eKey properties include \u003ccode\u003eParent\u003c/code\u003e (a required string representing the parent resource), \u003ccode\u003eQuotaPreference\u003c/code\u003e (the required resource being created), \u003ccode\u003eQuotaPreferenceId\u003c/code\u003e (an optional unique identifier), and \u003ccode\u003eIgnoreSafetyChecks\u003c/code\u003e (for listing quota safety checks to be ignored).\u003c/p\u003e\n"],["\u003cp\u003eThe class interacts with other types like \u003ccode\u003eQuotaSafetyCheck\u003c/code\u003e, \u003ccode\u003eLocationName\u003c/code\u003e, and \u003ccode\u003eQuotaPreference\u003c/code\u003e, that are all defined within the same namespace \u003ccode\u003eGoogle.Cloud.CloudQuotas.V1Beta\u003c/code\u003e.\u003c/p\u003e\n"]]],[],null,["# Cloud Quotas v1beta API - Class CreateQuotaPreferenceRequest (1.0.0-beta02)\n\nVersion latestkeyboard_arrow_down\n\n- [1.0.0-beta02 (latest)](/dotnet/docs/reference/Google.Cloud.CloudQuotas.V1Beta/latest/Google.Cloud.CloudQuotas.V1Beta.CreateQuotaPreferenceRequest)\n- [1.0.0-beta01](/dotnet/docs/reference/Google.Cloud.CloudQuotas.V1Beta/1.0.0-beta01/Google.Cloud.CloudQuotas.V1Beta.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 v1beta 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.V1Beta/latest/Google.Cloud.CloudQuotas.V1Beta.CreateQuotaPreferenceRequest), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[CreateQuotaPreferenceRequest](/dotnet/docs/reference/Google.Cloud.CloudQuotas.V1Beta/latest/Google.Cloud.CloudQuotas.V1Beta.CreateQuotaPreferenceRequest), [IDeepCloneable](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.html)[CreateQuotaPreferenceRequest](/dotnet/docs/reference/Google.Cloud.CloudQuotas.V1Beta/latest/Google.Cloud.CloudQuotas.V1Beta.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.V1Beta](/dotnet/docs/reference/Google.Cloud.CloudQuotas.V1Beta/latest/Google.Cloud.CloudQuotas.V1Beta)\n\nAssembly\n--------\n\nGoogle.Cloud.CloudQuotas.V1Beta.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.V1Beta/latest/Google.Cloud.CloudQuotas.V1Beta.LocationName)-typed view over the [Parent](/dotnet/docs/reference/Google.Cloud.CloudQuotas.V1Beta/latest/Google.Cloud.CloudQuotas.V1Beta.CreateQuotaPreferenceRequest#Google_Cloud_CloudQuotas_V1Beta_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."]]