Google BigQuery Reservation V1 Client - Class MoveAssignmentRequest (1.0.3)

Reference documentation and code samples for the Google BigQuery Reservation V1 Client class MoveAssignmentRequest.

The request for ReservationService.MoveAssignment.

Note: "bigquery.reservationAssignments.create" permission is required on the destination_id. Note: "bigquery.reservationAssignments.create" and "bigquery.reservationAssignments.delete" permission are required on the related assignee.

Generated from protobuf message google.cloud.bigquery.reservation.v1.MoveAssignmentRequest

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ name string

Required. The resource name of the assignment, e.g. projects/myproject/locations/US/reservations/team1-prod/assignments/123

↳ destination_id string

The new reservation ID, e.g.: projects/myotherproject/locations/US/reservations/team2-prod

getName

Required. The resource name of the assignment, e.g.

projects/myproject/locations/US/reservations/team1-prod/assignments/123

Returns
TypeDescription
string

setName

Required. The resource name of the assignment, e.g.

projects/myproject/locations/US/reservations/team1-prod/assignments/123

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getDestinationId

The new reservation ID, e.g.: projects/myotherproject/locations/US/reservations/team2-prod

Returns
TypeDescription
string

setDestinationId

The new reservation ID, e.g.: projects/myotherproject/locations/US/reservations/team2-prod

Parameter
NameDescription
var string
Returns
TypeDescription
$this