public sealed class UpdateQuotaPreferenceRequest : IMessage<UpdateQuotaPreferenceRequest>, IEquatable<UpdateQuotaPreferenceRequest>, IDeepCloneable<UpdateQuotaPreferenceRequest>, IBufferMessage, IMessage
Reference documentation and code samples for the Cloud Quotas v1 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\u003eThe \u003ccode\u003eUpdateQuotaPreferenceRequest\u003c/code\u003e class is used to update a \u003ccode\u003eQuotaPreference\u003c/code\u003e within the Cloud Quotas v1 API.\u003c/p\u003e\n"],["\u003cp\u003eThis class inherits from \u003ccode\u003eobject\u003c/code\u003e and implements \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e interfaces, providing functionalities for message handling, comparison, cloning, and buffered operations.\u003c/p\u003e\n"],["\u003cp\u003eThe class has several properties, including \u003ccode\u003eAllowMissing\u003c/code\u003e, \u003ccode\u003eIgnoreSafetyChecks\u003c/code\u003e, \u003ccode\u003eQuotaPreference\u003c/code\u003e, \u003ccode\u003eUpdateMask\u003c/code\u003e, and \u003ccode\u003eValidateOnly\u003c/code\u003e, allowing for control over the update behavior, including the creation of a new preference if one is missing, ignoring safety checks, specifying the resource to update, defining the fields to be overwritten, and validating the request.\u003c/p\u003e\n"],["\u003cp\u003eThe two constructors available are to create an empty object, or to copy the values of another \u003ccode\u003eUpdateQuotaPreferenceRequest\u003c/code\u003e object.\u003c/p\u003e\n"],["\u003cp\u003eThe latest version available for this class is 1.1.0.\u003c/p\u003e\n"]]],[],null,["# Cloud Quotas v1 API - Class UpdateQuotaPreferenceRequest (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.UpdateQuotaPreferenceRequest)\n- [1.0.0-beta05](/dotnet/docs/reference/Google.Cloud.CloudQuotas.V1/1.0.0-beta05/Google.Cloud.CloudQuotas.V1.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 v1 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.V1/latest/Google.Cloud.CloudQuotas.V1.UpdateQuotaPreferenceRequest), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[UpdateQuotaPreferenceRequest](/dotnet/docs/reference/Google.Cloud.CloudQuotas.V1/latest/Google.Cloud.CloudQuotas.V1.UpdateQuotaPreferenceRequest), [IDeepCloneable](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.html)[UpdateQuotaPreferenceRequest](/dotnet/docs/reference/Google.Cloud.CloudQuotas.V1/latest/Google.Cloud.CloudQuotas.V1.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.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### 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."]]