[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-28 UTC."],[],[],null,["# BigQuery Reservation V1 API - Class Google::Cloud::Bigquery::Reservation::V1::MoveAssignmentRequest (v1.6.0)\n\nVersion latestkeyboard_arrow_down\n\n- [1.6.0 (latest)](/ruby/docs/reference/google-cloud-bigquery-reservation-v1/latest/Google-Cloud-Bigquery-Reservation-V1-MoveAssignmentRequest)\n- [1.5.0](/ruby/docs/reference/google-cloud-bigquery-reservation-v1/1.5.0/Google-Cloud-Bigquery-Reservation-V1-MoveAssignmentRequest)\n- [1.4.1](/ruby/docs/reference/google-cloud-bigquery-reservation-v1/1.4.1/Google-Cloud-Bigquery-Reservation-V1-MoveAssignmentRequest)\n- [1.3.0](/ruby/docs/reference/google-cloud-bigquery-reservation-v1/1.3.0/Google-Cloud-Bigquery-Reservation-V1-MoveAssignmentRequest)\n- [1.2.0](/ruby/docs/reference/google-cloud-bigquery-reservation-v1/1.2.0/Google-Cloud-Bigquery-Reservation-V1-MoveAssignmentRequest)\n- [1.1.0](/ruby/docs/reference/google-cloud-bigquery-reservation-v1/1.1.0/Google-Cloud-Bigquery-Reservation-V1-MoveAssignmentRequest)\n- [1.0.1](/ruby/docs/reference/google-cloud-bigquery-reservation-v1/1.0.1/Google-Cloud-Bigquery-Reservation-V1-MoveAssignmentRequest)\n- [0.12.0](/ruby/docs/reference/google-cloud-bigquery-reservation-v1/0.12.0/Google-Cloud-Bigquery-Reservation-V1-MoveAssignmentRequest)\n- [0.11.2](/ruby/docs/reference/google-cloud-bigquery-reservation-v1/0.11.2/Google-Cloud-Bigquery-Reservation-V1-MoveAssignmentRequest)\n- [0.10.0](/ruby/docs/reference/google-cloud-bigquery-reservation-v1/0.10.0/Google-Cloud-Bigquery-Reservation-V1-MoveAssignmentRequest)\n- [0.9.0](/ruby/docs/reference/google-cloud-bigquery-reservation-v1/0.9.0/Google-Cloud-Bigquery-Reservation-V1-MoveAssignmentRequest)\n- [0.8.1](/ruby/docs/reference/google-cloud-bigquery-reservation-v1/0.8.1/Google-Cloud-Bigquery-Reservation-V1-MoveAssignmentRequest)\n- [0.7.0](/ruby/docs/reference/google-cloud-bigquery-reservation-v1/0.7.0/Google-Cloud-Bigquery-Reservation-V1-MoveAssignmentRequest)\n- [0.6.0](/ruby/docs/reference/google-cloud-bigquery-reservation-v1/0.6.0/Google-Cloud-Bigquery-Reservation-V1-MoveAssignmentRequest)\n- [0.5.0](/ruby/docs/reference/google-cloud-bigquery-reservation-v1/0.5.0/Google-Cloud-Bigquery-Reservation-V1-MoveAssignmentRequest)\n- [0.4.2](/ruby/docs/reference/google-cloud-bigquery-reservation-v1/0.4.2/Google-Cloud-Bigquery-Reservation-V1-MoveAssignmentRequest) \nReference documentation and code samples for the BigQuery Reservation V1 API class Google::Cloud::Bigquery::Reservation::V1::MoveAssignmentRequest.\n\nThe request for\n[ReservationService.MoveAssignment](/ruby/docs/reference/google-cloud-bigquery-reservation-v1/latest/Google-Cloud-Bigquery-Reservation-V1-ReservationService-Client#Google__Cloud__Bigquery__Reservation__V1__ReservationService__Client_move_assignment_instance_ \"Google::Cloud::Bigquery::Reservation::V1::ReservationService::Client#move_assignment (method)\").\n\n\n**Note**: \"bigquery.reservationAssignments.create\" permission is required on\nthe destination_id.\n\n\u003cbr /\u003e\n\n**Note**: \"bigquery.reservationAssignments.create\" and\n\"bigquery.reservationAssignments.delete\" permission are required on the\nrelated assignee. \n\nInherits\n--------\n\n- Object \n\nExtended By\n-----------\n\n- Google::Protobuf::MessageExts::ClassMethods \n\nIncludes\n--------\n\n- Google::Protobuf::MessageExts\n\nMethods\n-------\n\n### #assignment_id\n\n def assignment_id() -\u003e ::String\n\n**Returns**\n\n- (::String) --- The optional assignment ID. A new assignment name is generated if this field is empty.\n\n This field can contain only lowercase alphanumeric characters or dashes.\n Max length is 64 characters.\n\n### #assignment_id=\n\n def assignment_id=(value) -\u003e ::String\n\n**Parameter**\n\n- **value** (::String) --- The optional assignment ID. A new assignment name is generated if this field is empty.\n\n\n This field can contain only lowercase alphanumeric characters or dashes.\nMax length is 64 characters. \n**Returns**\n\n- (::String) --- The optional assignment ID. A new assignment name is generated if this field is empty.\n\n This field can contain only lowercase alphanumeric characters or dashes.\n Max length is 64 characters.\n\n### #destination_id\n\n def destination_id() -\u003e ::String\n\n**Returns**\n\n- (::String) --- The new reservation ID, e.g.: `projects/myotherproject/locations/US/reservations/team2-prod`\n\n### #destination_id=\n\n def destination_id=(value) -\u003e ::String\n\n**Parameter**\n\n- **value** (::String) --- The new reservation ID, e.g.: `projects/myotherproject/locations/US/reservations/team2-prod` \n**Returns**\n\n- (::String) --- The new reservation ID, e.g.: `projects/myotherproject/locations/US/reservations/team2-prod`\n\n### #name\n\n def name() -\u003e ::String\n\n**Returns**\n\n- (::String) --- Required. The resource name of the assignment, e.g. `projects/myproject/locations/US/reservations/team1-prod/assignments/123`\n\n### #name=\n\n def name=(value) -\u003e ::String\n\n**Parameter**\n\n- **value** (::String) --- Required. The resource name of the assignment, e.g. `projects/myproject/locations/US/reservations/team1-prod/assignments/123` \n**Returns**\n\n- (::String) --- Required. The resource name of the assignment, e.g. `projects/myproject/locations/US/reservations/team1-prod/assignments/123`"]]