Method: projects.locations.reservations.assignments.patch
Updates an existing assignment.
Only the priority
field can be updated.
HTTP request
PATCH https://bigqueryreservation.googleapis.com/v1/{assignment.name=projects/*/locations/*/reservations/*/assignments/*}
The URL uses gRPC Transcoding syntax.
Path parameters
Parameters |
assignment.name |
string
Output only. Name of the resource. E.g.: projects/myproject/locations/US/reservations/team1-prod/assignments/123 . The assignmentId must only contain lower case alphanumeric characters or dashes and the max length is 64 characters.
|
Query parameters
Parameters |
updateMask |
string (FieldMask format)
Standard field mask for the set of fields to be updated. This is a comma-separated list of fully qualified names of fields. Example: "user.displayName,photo" .
|
Request body
The request body contains an instance of Assignment
.
Response body
If successful, the response body contains an instance of Assignment
.
Authorization scopes
Requires one of the following OAuth scopes:
https://www.googleapis.com/auth/bigquery
https://www.googleapis.com/auth/cloud-platform
For more information, see the Authentication Overview.
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-07-02 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-07-02 UTC."],[[["\u003cp\u003eThis endpoint updates an existing assignment, allowing modifications only to the \u003ccode\u003epriority\u003c/code\u003e field.\u003c/p\u003e\n"],["\u003cp\u003eThe request uses a \u003ccode\u003ePATCH\u003c/code\u003e HTTP method with a URL structure defined by gRPC Transcoding syntax, targeting a specific assignment via its name.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eupdateMask\u003c/code\u003e query parameter dictates which fields are to be updated in a request, using a comma-separated list.\u003c/p\u003e\n"],["\u003cp\u003eBoth the request and response bodies utilize the \u003ccode\u003eAssignment\u003c/code\u003e resource structure, according to its definition.\u003c/p\u003e\n"],["\u003cp\u003eAuthorization 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 scopes.\u003c/p\u003e\n"]]],[],null,[]]