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 | |
---|---|
Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ name |
string
Required. The resource name of the assignment, e.g. |
↳ destination_id |
string
The new reservation ID, e.g.: |
getName
Required. The resource name of the assignment, e.g.
projects/myproject/locations/US/reservations/team1-prod/assignments/123
Returns | |
---|---|
Type | Description |
string |
setName
Required. The resource name of the assignment, e.g.
projects/myproject/locations/US/reservations/team1-prod/assignments/123
Parameter | |
---|---|
Name | Description |
var |
string
|
Returns | |
---|---|
Type | Description |
$this |
getDestinationId
The new reservation ID, e.g.:
projects/myotherproject/locations/US/reservations/team2-prod
Returns | |
---|---|
Type | Description |
string |
setDestinationId
The new reservation ID, e.g.:
projects/myotherproject/locations/US/reservations/team2-prod
Parameter | |
---|---|
Name | Description |
var |
string
|
Returns | |
---|---|
Type | Description |
$this |