Method: projects.locations.reservations.assignments.create

Returns google.rpc.Code.PERMISSION_DENIED if user does not have 'bigquery.admin' permissions on the project using the reservation and the project that owns this reservation. Returns google.rpc.Code.INVALID_ARGUMENT when location of the assignment does not match location of the reservation.

HTTP request

POST https://bigqueryreservation.googleapis.com/v1beta1/{parent=projects/*/locations/*/reservations/*}/assignments

The URL uses gRPC Transcoding syntax.

Path parameters

Parameters
parent

string

The parent resource name of the assignment E.g.: projects/myproject/location/US/reservations/team1-prod

Authorization requires the following Google IAM permission on the specified resource parent:

  • bigquery.reservationAssignments.create

Request body

The request body contains an instance of Assignment.

Response body

If successful, the response body contains a newly created 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.

Try it!

Σας βοήθησε αυτή η σελίδα; Πείτε μας τη γνώμη σας:

Αποστολή σχολίων σχετικά με…

Αυτή η σελίδα
Χρειάζεστε βοήθεια; Επισκεφτείτε τη σελίδα υποστήριξής μας.