BigQuery Reservation v1 API - Class MoveAssignmentRequest (2.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 > MoveAssignmentRequest

Namespace

GoogleGoogle.CloudGoogle.Cloud.BigQueryGoogle.Cloud.BigQuery.ReservationV1

Assembly

Google.Cloud.BigQuery.Reservation.V1.dll

Constructors

MoveAssignmentRequest()

public MoveAssignmentRequest()

MoveAssignmentRequest(MoveAssignmentRequest)

public MoveAssignmentRequest(MoveAssignmentRequest other)
Parameter
NameDescription
otherMoveAssignmentRequest

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
TypeDescription
string

AssignmentName

public AssignmentName AssignmentName { get; set; }

AssignmentName-typed view over the Name resource name property.

Property Value
TypeDescription
AssignmentName

DestinationId

public string DestinationId { get; set; }

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

Property Value
TypeDescription
string

DestinationIdAsReservationName

public ReservationName DestinationIdAsReservationName { get; set; }

ReservationName-typed view over the DestinationId resource name property.

Property Value
TypeDescription
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
TypeDescription
string