public sealed class UpdateQuotaPreferenceRequest : IMessage<UpdateQuotaPreferenceRequest>, IEquatable<UpdateQuotaPreferenceRequest>, IDeepCloneable<UpdateQuotaPreferenceRequest>, IBufferMessage, IMessage
Reference documentation and code samples for the Cloud Quotas v1beta API class UpdateQuotaPreferenceRequest.
Optional. Field mask is used to specify the fields to be overwritten in the
QuotaPreference resource by the update.
The fields specified in the update_mask are relative to the resource, not
the full request. A field will be overwritten if it is in the mask. If the
user does not provide a mask then all fields will be overwritten.
Optional. If set to true, validate the request, but do not actually update.
Note that a request being valid does not mean that the request is
guaranteed to be fulfilled.
[[["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\u003eUpdateQuotaPreferenceRequest\u003c/code\u003e is a sealed class used to update a QuotaPreference within the Cloud Quotas v1beta API.\u003c/p\u003e\n"],["\u003cp\u003eThis class allows for optional settings such as \u003ccode\u003eAllowMissing\u003c/code\u003e, which will create a new quota preference if one is not found, ignoring the update mask.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eUpdateMask\u003c/code\u003e property allows users to specify which fields of the \u003ccode\u003eQuotaPreference\u003c/code\u003e resource should be updated, with all fields being overwritten if no mask is provided.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eValidateOnly\u003c/code\u003e property allows for request validation without performing an actual update to the quota.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eIgnoreSafetyChecks\u003c/code\u003e enables users to specify a list of quota safety checks that should be ignored during the update.\u003c/p\u003e\n"]]],[],null,["# Cloud Quotas v1beta API - Class UpdateQuotaPreferenceRequest (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.UpdateQuotaPreferenceRequest)\n- [1.0.0-beta01](/dotnet/docs/reference/Google.Cloud.CloudQuotas.V1Beta/1.0.0-beta01/Google.Cloud.CloudQuotas.V1Beta.UpdateQuotaPreferenceRequest) \n\n public sealed class UpdateQuotaPreferenceRequest : IMessage\u003cUpdateQuotaPreferenceRequest\u003e, IEquatable\u003cUpdateQuotaPreferenceRequest\u003e, IDeepCloneable\u003cUpdateQuotaPreferenceRequest\u003e, IBufferMessage, IMessage\n\nReference documentation and code samples for the Cloud Quotas v1beta API class UpdateQuotaPreferenceRequest.\n\nMessage for updating a QuotaPreference \n\nInheritance\n-----------\n\n[object](https://learn.microsoft.com/dotnet/api/system.object) \\\u003e UpdateQuotaPreferenceRequest \n\nImplements\n----------\n\n[IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.html)[UpdateQuotaPreferenceRequest](/dotnet/docs/reference/Google.Cloud.CloudQuotas.V1Beta/latest/Google.Cloud.CloudQuotas.V1Beta.UpdateQuotaPreferenceRequest), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[UpdateQuotaPreferenceRequest](/dotnet/docs/reference/Google.Cloud.CloudQuotas.V1Beta/latest/Google.Cloud.CloudQuotas.V1Beta.UpdateQuotaPreferenceRequest), [IDeepCloneable](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.html)[UpdateQuotaPreferenceRequest](/dotnet/docs/reference/Google.Cloud.CloudQuotas.V1Beta/latest/Google.Cloud.CloudQuotas.V1Beta.UpdateQuotaPreferenceRequest), [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### UpdateQuotaPreferenceRequest()\n\n public UpdateQuotaPreferenceRequest()\n\n### UpdateQuotaPreferenceRequest(UpdateQuotaPreferenceRequest)\n\n public UpdateQuotaPreferenceRequest(UpdateQuotaPreferenceRequest other)\n\nProperties\n----------\n\n### AllowMissing\n\n public bool AllowMissing { get; set; }\n\nOptional. If set to true, and the quota preference is not found, a new one\nwill be created. In this situation, `update_mask` is ignored.\n\n### IgnoreSafetyChecks\n\n public RepeatedField\u003cQuotaSafetyCheck\u003e IgnoreSafetyChecks { get; }\n\nThe list of quota safety checks to be ignored.\n\n### QuotaPreference\n\n public QuotaPreference QuotaPreference { get; set; }\n\nRequired. The resource being updated\n\n### UpdateMask\n\n public FieldMask UpdateMask { get; set; }\n\nOptional. Field mask is used to specify the fields to be overwritten in the\nQuotaPreference resource by the update.\nThe fields specified in the update_mask are relative to the resource, not\nthe full request. A field will be overwritten if it is in the mask. If the\nuser does not provide a mask then all fields will be overwritten.\n\n### ValidateOnly\n\n public bool ValidateOnly { get; set; }\n\nOptional. If set to true, validate the request, but do not actually update.\nNote that a request being valid does not mean that the request is\nguaranteed to be fulfilled."]]