Required except in the CREATE requests. The resource name of the quota preference. The path that follows/locationsmust be/global. For example:projects/123/locations/global/quotaPreferences/my-config-for-us-east1
Optional. Field mask is used to specify the fields to be overwritten in the QuotaPreference resource by the update. The fields specified in the updateMask 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.
This is a comma-separated list of fully qualified names of fields. Example:"user.displayName,photo".
allowMissing
boolean
Optional. If set to true, and the quota preference is not found, a new one will be created. In this situation,updateMaskis ignored.
validateOnly
boolean
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"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-05-14 UTC."],[[["\u003cp\u003eThis API allows updating the parameters of a single \u003ccode\u003eQuotaPreference\u003c/code\u003e, modifying configurations regardless of their approval status.\u003c/p\u003e\n"],["\u003cp\u003eThe HTTP request utilizes a \u003ccode\u003ePATCH\u003c/code\u003e method with a specific URL structure defined by gRPC Transcoding to identify the \u003ccode\u003eQuotaPreference\u003c/code\u003e to be updated.\u003c/p\u003e\n"],["\u003cp\u003eRequired Path parameters include the \u003ccode\u003equotaPreference.name\u003c/code\u003e which is used to specify the resource being updated.\u003c/p\u003e\n"],["\u003cp\u003eOptional Query parameters, such as \u003ccode\u003eupdateMask\u003c/code\u003e, \u003ccode\u003eallowMissing\u003c/code\u003e, \u003ccode\u003evalidateOnly\u003c/code\u003e, and \u003ccode\u003eignoreSafetyChecks[]\u003c/code\u003e, provide control over the update process, like only updating certain fields, creating a new QuotaPreference if one doesn't exist, only validating the request without updating it, and ignoring certain quota safety checks respectively.\u003c/p\u003e\n"],["\u003cp\u003eSuccessful requests return a \u003ccode\u003eQuotaPreference\u003c/code\u003e instance and require OAuth scope \u003ccode\u003ehttps://www.googleapis.com/auth/cloud-platform\u003c/code\u003e and IAM permission \u003ccode\u003ecloudquotas.quotas.update\u003c/code\u003e on the targeted resource.\u003c/p\u003e\n"]]],[],null,["# Method: folders.locations.quotaPreferences.patch\n\n- [HTTP request](#body.HTTP_TEMPLATE)\n- [Path parameters](#body.PATH_PARAMETERS)\n- [Query parameters](#body.QUERY_PARAMETERS)\n- [Request body](#body.request_body)\n- [Response body](#body.response_body)\n- [Authorization scopes](#body.aspect)\n- [IAM Permissions](#body.aspect_1)\n- [Try it!](#try-it)\n\nUpdates the parameters of a single QuotaPreference. It can updates the config in any states, not just the ones pending approval.\n\n### HTTP request\n\n`PATCH https://cloudquotas.googleapis.com/v1/{quotaPreference.name=folders/*/locations/*/quotaPreferences/*}`\n\nThe URL uses [gRPC Transcoding](https://google.aip.dev/127) syntax.\n\n### Path parameters\n\n### Query parameters\n\n### Request body\n\nThe request body contains an instance of [QuotaPreference](/docs/quotas/reference/rest/v1/folders.locations.quotaPreferences#QuotaPreference).\n\n### Response body\n\nIf successful, the response body contains an instance of [QuotaPreference](/docs/quotas/reference/rest/v1/folders.locations.quotaPreferences#QuotaPreference).\n\n### Authorization scopes\n\nRequires the following OAuth scope:\n\n- `https://www.googleapis.com/auth/cloud-platform`\n\nFor more information, see the [Authentication Overview](/docs/authentication#authorization-gcp).\n\n### IAM Permissions\n\nRequires the following [IAM](https://cloud.google.com/iam/docs) permission on the `name` resource:\n\n- `cloudquotas.quotas.update`\n\nFor more information, see the [IAM documentation](https://cloud.google.com/iam/docs)."]]