- HTTP request
- Path parameters
- Query parameters
- Request body
- Response body
- Authorization Scopes
- Try it!
Lists assignments. Only explicitly created assignments will be returned. E.g: organizationA contains project1 and project2. Reservation res1 exists. assignments.create was invoked previously and following assignments were created explicitly: <organizationA, res1> <project1, res1> Then this API will just return the above two assignments for reservation res1, and no expansion/merge will happen. 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/v1beta1/{parent=projects/*/locations/*/reservations/*}/assignments
The URL uses gRPC Transcoding syntax.
Path parameters
Parameters | |
---|---|
parent |
The parent resource name e.g.: projects/myproject/location/US/reservations/team1-prod Or: projects/myproject/location/US/reservations/- Authorization requires the following Google IAM permission on the specified resource
|
Query parameters
Parameters | |
---|---|
pageSize |
The maximum number of items to return. |
pageToken |
The nextPageToken value returned from a previous List request, if any. |
Request body
The request body must be empty.
Response body
If successful, the response body contains data with the following structure:
The response for ReservationService.ListAssignments
.
JSON representation | |
---|---|
{
"assignments": [
{
object ( |
Fields | |
---|---|
assignments[] |
List of assignments visible to the user. |
nextPageToken |
Token to retrieve the next page of results, or empty if there are no more results in the list. |
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.