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 API allows updating the parameters of a single \u003ccode\u003eQuotaPreference\u003c/code\u003e, which can be modified regardless of its current approval state.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003ePATCH\u003c/code\u003e method is used for the HTTP request, targeting a specific \u003ccode\u003equotaPreference.name\u003c/code\u003e via a URL that follows gRPC Transcoding syntax.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eupdateMask\u003c/code\u003e query parameter is used to specify which fields of the \u003ccode\u003eQuotaPreference\u003c/code\u003e should be updated, or if omitted, all fields will be overwritten.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eallowMissing\u003c/code\u003e query parameter, if set to \u003ccode\u003etrue\u003c/code\u003e, allows for the creation of a new \u003ccode\u003eQuotaPreference\u003c/code\u003e if the specified one is not found.\u003c/p\u003e\n"],["\u003cp\u003eSuccessful requests return a \u003ccode\u003eQuotaPreference\u003c/code\u003e instance in the response body and 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"]]],[],null,["# Method: organizations.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=organizations/*/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)."]]