# BigQuery Reservation v1 API - Class MoveAssignmentRequest (2.12.0)

2.12.0 (latest) 2.11.0 2.10.0 2.9.0 2.8.0 2.7.0 2.6.0 2.5.0 2.4.0 2.3.0 2.2.0 2.1.0 2.0.0 1.6.0 1.5.0 1.4.0 1.3.0 1.2.0

    public sealed class MoveAssignmentRequest : IMessage<MoveAssignmentRequest>, IEquatable<MoveAssignmentRequest>, IDeepCloneable<MoveAssignmentRequest>, IBufferMessage, IMessage

Reference documentation and code samples for the BigQuery Reservation v1 API class MoveAssignmentRequest.

The request for
\[ReservationService.MoveAssignment\]\[google.cloud.bigquery.reservation.v1.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.

## Inheritance

[object](https://learn.microsoft.com/dotnet/api/system.object) \> MoveAssignmentRequest

## Implements

[IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.html)[MoveAssignmentRequest](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.BigQuery.Reservation.V1/latest/Google.Cloud.BigQuery.Reservation.V1.MoveAssignmentRequest), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[MoveAssignmentRequest](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.BigQuery.Reservation.V1/latest/Google.Cloud.BigQuery.Reservation.V1.MoveAssignmentRequest), [IDeepCloneable](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.html)[MoveAssignmentRequest](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.BigQuery.Reservation.V1/latest/Google.Cloud.BigQuery.Reservation.V1.MoveAssignmentRequest), [IBufferMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IBufferMessage.html), [IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage.html)

## Inherited Members

[object.GetHashCode()](https://learn.microsoft.com/dotnet/api/system.object.gethashcode) [object.GetType()](https://learn.microsoft.com/dotnet/api/system.object.gettype) [object.ToString()](https://learn.microsoft.com/dotnet/api/system.object.tostring)

## Namespace

[Google.Cloud.BigQuery.Reservation.V1](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.BigQuery.Reservation.V1/latest/Google.Cloud.BigQuery.Reservation.V1)

## Assembly

Google.Cloud.BigQuery.Reservation.V1.dll

## Constructors

### MoveAssignmentRequest()

    public MoveAssignmentRequest()

### MoveAssignmentRequest(MoveAssignmentRequest)

    public MoveAssignmentRequest(MoveAssignmentRequest other)

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `other` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.BigQuery.Reservation.V1/latest/Google.Cloud.BigQuery.Reservation.V1.MoveAssignmentRequest` |

## Properties

### AssignmentId

    public string AssignmentId { get; set; }

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.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.string` |   |

### AssignmentName

    public AssignmentName AssignmentName { get; set; }

[AssignmentName](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.BigQuery.Reservation.V1/latest/Google.Cloud.BigQuery.Reservation.V1.AssignmentName)-typed view over the [Name](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.BigQuery.Reservation.V1/latest/Google.Cloud.BigQuery.Reservation.V1.MoveAssignmentRequest#Google_Cloud_BigQuery_Reservation_V1_MoveAssignmentRequest_Name) resource name property.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.BigQuery.Reservation.V1/latest/Google.Cloud.BigQuery.Reservation.V1.AssignmentName` |   |

### DestinationId

    public string DestinationId { get; set; }

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

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.string` |   |

### DestinationIdAsReservationName

    public ReservationName DestinationIdAsReservationName { get; set; }

[ReservationName](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.BigQuery.Reservation.V1/latest/Google.Cloud.BigQuery.Reservation.V1.ReservationName)-typed view over the [DestinationId](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.BigQuery.Reservation.V1/latest/Google.Cloud.BigQuery.Reservation.V1.MoveAssignmentRequest#Google_Cloud_BigQuery_Reservation_V1_MoveAssignmentRequest_DestinationId) resource name property.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.BigQuery.Reservation.V1/latest/Google.Cloud.BigQuery.Reservation.V1.ReservationName` |   |

### Name

    public string Name { get; set; }

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

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.string` |   |