Some or all of the information on this page might not apply to Trusted Cloud by S3NS.
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."],[[["This endpoint updates an existing assignment, allowing modifications only to the `priority` field."],["The request uses a `PATCH` HTTP method with a URL structure defined by gRPC Transcoding syntax, targeting a specific assignment via its name."],["The `updateMask` query parameter dictates which fields are to be updated in a request, using a comma-separated list."],["Both the request and response bodies utilize the `Assignment` resource structure, according to its definition."],["Authorization requires either the `https://www.googleapis.com/auth/bigquery` or `https://www.googleapis.com/auth/cloud-platform` OAuth scopes."]]],[]]