Only explicitly created assignments will be returned.
Example:
Organization organizationA contains two projects, project1 and project2.
Reservation res1 exists and was created previously.
assignments.create was used previously to define the following associations between entities and reservations: <organizationA, res1> and <project1, res1>
In this example, assignments.list will just return the above two assignments for reservation res1, and no expansion/merge will happen.
The wildcard "-" can be used for reservations in the request. In that case all assignments belongs to the specified project and location will be listed.
Note "-" cannot be used for projects nor locations.
HTTP request
GET https://bigqueryreservation.googleapis.com/v1/{parent=projects/*/locations/*/reservations/*}/assignments
[[["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 lists assignments explicitly created, excluding any implied or merged assignments, for a given reservation.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eparent\u003c/code\u003e path parameter is required and must specify a reservation, allowing for a wildcard "-" to list assignments across all reservations within a project and location.\u003c/p\u003e\n"],["\u003cp\u003eThe HTTP request uses the \u003ccode\u003eGET\u003c/code\u003e method with a URL that follows gRPC Transcoding syntax, targeting a specific resource hierarchy of projects, locations, and reservations.\u003c/p\u003e\n"],["\u003cp\u003eThe response body includes an array of \u003ccode\u003eassignments\u003c/code\u003e and a \u003ccode\u003enextPageToken\u003c/code\u003e for pagination, adhering to a specific JSON structure, all returned upon a successful query.\u003c/p\u003e\n"],["\u003cp\u003eThe request 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 authorization scopes.\u003c/p\u003e\n"]]],[],null,["# Method: projects.locations.reservations.assignments.list\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 - [JSON representation](#body.ListAssignmentsResponse.SCHEMA_REPRESENTATION)\n- [Authorization scopes](#body.aspect)\n- [Try it!](#try-it)\n\nLists assignments.\n\nOnly explicitly created assignments will be returned.\n\nExample:\n\n- Organization `organizationA` contains two projects, `project1` and `project2`.\n- Reservation `res1` exists and was created previously.\n- assignments.create was used previously to define the following associations between entities and reservations: `\u003corganizationA, res1\u003e` and `\u003cproject1, res1\u003e`\n\nIn this example, assignments.list will just return the above two assignments for reservation `res1`, and no expansion/merge will happen.\n\nThe wildcard \"-\" can be used for reservations in the request. In that case all assignments belongs to the specified project and location will be listed.\n\n**Note** \"-\" cannot be used for projects nor locations.\n\n### HTTP request\n\n`GET https://bigqueryreservation.googleapis.com/v1/{parent=projects/*/locations/*/reservations/*}/assignments`\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 must be empty.\n\n### Response body\n\nThe response for [ReservationService.ListAssignments](/bigquery/docs/reference/reservations/rest/v1/projects.locations.reservations.assignments/list#google.cloud.bigquery.reservation.v1.ReservationService.ListAssignments).\n\nIf successful, the response body contains data with the following structure:\n\n### Authorization scopes\n\nRequires one of the following OAuth scopes:\n\n- `https://www.googleapis.com/auth/bigquery`\n- `https://www.googleapis.com/auth/cloud-platform`\n\nFor more information, see the [Authentication Overview](/docs/authentication#authorization-gcp)."]]