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 endpoint updates the parameters of a single \u003ccode\u003eQuotaPreference\u003c/code\u003e, allowing modifications in any state, not just pending approval.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003ePATCH\u003c/code\u003e HTTP method is used to send the update request to the specified URL: \u003ccode\u003ehttps://cloudquotas.googleapis.com/v1beta/{quotaPreference.name=projects/*/locations/*/quotaPreferences/*}\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eupdateMask\u003c/code\u003e query parameter enables specifying which fields within the \u003ccode\u003eQuotaPreference\u003c/code\u003e resource should be overwritten during the update, with all fields overwritten if no mask is provided.\u003c/p\u003e\n"],["\u003cp\u003eThe request body must include a \u003ccode\u003eQuotaPreference\u003c/code\u003e instance, and a successful update will also return a \u003ccode\u003eQuotaPreference\u003c/code\u003e instance in the response body.\u003c/p\u003e\n"],["\u003cp\u003eThe update operation 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 on the \u003ccode\u003ename\u003c/code\u003e resource.\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/v1beta/{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/v1beta/folders.locations.quotaPreferences#QuotaPreference).\n\n### Response body\n\nIf successful, the response body contains an instance of [QuotaPreference](/docs/quotas/reference/rest/v1beta/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)."]]