Plan can only be changed to a plan of a longer commitment period. Attempting to change to a plan with shorter commitment period will fail with the error code google.rpc.Code.FAILED_PRECONDITION.
Output only. The resource name of the capacity commitment, e.g., projects/myproject/locations/US/capacityCommitments/123 The commitment_id must only contain lower case alphanumeric characters or dashes. It must start with a letter and must not end with a dash. Its maximum length is 64 characters.
[[["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-07-02 UTC."],[[["\u003cp\u003eThis endpoint updates an existing capacity commitment, allowing changes to the \u003ccode\u003eplan\u003c/code\u003e and \u003ccode\u003erenewalPlan\u003c/code\u003e fields.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eplan\u003c/code\u003e can only be updated to a plan with a longer commitment period, and attempts to switch to a shorter period will result in a \u003ccode\u003egoogle.rpc.Code.FAILED_PRECONDITION\u003c/code\u003e error.\u003c/p\u003e\n"],["\u003cp\u003eThe HTTP request uses the \u003ccode\u003ePATCH\u003c/code\u003e method and requires a capacity commitment name in the URL, structured as \u003ccode\u003eprojects/*/locations/*/capacityCommitments/*\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe update operation uses the \u003ccode\u003eupdateMask\u003c/code\u003e query parameter to specify the fields to be updated, as a comma-separated list.\u003c/p\u003e\n"],["\u003cp\u003eSuccessful updates return an instance of \u003ccode\u003eCapacityCommitment\u003c/code\u003e in the response body, and requires either the \u003ccode\u003ehttps://www.googleapis.com/auth/bigquery\u003c/code\u003e or \u003ccode\u003ehttps://www.googleapis.com/auth/cloud-platform\u003c/code\u003e OAuth scope.\u003c/p\u003e\n"]]],[],null,[]]