Required except in the CREATE requests. The resource name of the quota preference. The path that follows /locations must 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, updateMask is 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 page details how to update the parameters of a single QuotaPreference, allowing modifications regardless of its current approval state.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003ePATCH\u003c/code\u003e method is used with a specific URL structure that follows gRPC Transcoding syntax, targeting a particular QuotaPreference resource by its name.\u003c/p\u003e\n"],["\u003cp\u003eQuery parameters such as \u003ccode\u003eupdateMask\u003c/code\u003e, \u003ccode\u003eallowMissing\u003c/code\u003e, \u003ccode\u003evalidateOnly\u003c/code\u003e, and \u003ccode\u003eignoreSafetyChecks[]\u003c/code\u003e allow for detailed control over the update process, including partial updates and validation without execution.\u003c/p\u003e\n"],["\u003cp\u003eThe request and response bodies both use the \u003ccode\u003eQuotaPreference\u003c/code\u003e resource, which requires the OAuth scope \u003ccode\u003ehttps://www.googleapis.com/auth/cloud-platform\u003c/code\u003e and the IAM permission \u003ccode\u003ecloudquotas.quotas.update\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eUsers can find the exact specification on how the quota preference should be updated in the request body, and the result is returned in the response body.\u003c/p\u003e\n"]]],[],null,["# Method: projects.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=projects/*/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)."]]