Reference documentation and code samples for the BigQuery Reservation V1 API class Google::Cloud::Bigquery::Reservation::V1::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.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#assignment_id
def assignment_id() -> ::String
-
(::String) — The optional assignment ID. A new assignment name is generated if this
field is empty.
This field can contain only lowercase alphanumeric characters or dashes. Max length is 64 characters.
#assignment_id=
def assignment_id=(value) -> ::String
-
value (::String) — The optional assignment ID. A new assignment name is generated if this
field is empty.
This field can contain only lowercase alphanumeric characters or dashes. Max length is 64 characters.
-
(::String) — The optional assignment ID. A new assignment name is generated if this
field is empty.
This field can contain only lowercase alphanumeric characters or dashes. Max length is 64 characters.
#destination_id
def destination_id() -> ::String
-
(::String) — The new reservation ID, e.g.:
projects/myotherproject/locations/US/reservations/team2-prod
#destination_id=
def destination_id=(value) -> ::String
-
value (::String) — The new reservation ID, e.g.:
projects/myotherproject/locations/US/reservations/team2-prod
-
(::String) — The new reservation ID, e.g.:
projects/myotherproject/locations/US/reservations/team2-prod
#name
def name() -> ::String
-
(::String) — Required. The resource name of the assignment,
e.g.
projects/myproject/locations/US/reservations/team1-prod/assignments/123
#name=
def name=(value) -> ::String
-
value (::String) — Required. The resource name of the assignment,
e.g.
projects/myproject/locations/US/reservations/team1-prod/assignments/123
-
(::String) — Required. The resource name of the assignment,
e.g.
projects/myproject/locations/US/reservations/team1-prod/assignments/123