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.
Implements
IMessageMoveAssignmentRequest, IEquatableMoveAssignmentRequest, IDeepCloneableMoveAssignmentRequest, IBufferMessage, IMessageNamespace
Google.Cloud.BigQuery.Reservation.V1Assembly
Google.Cloud.BigQuery.Reservation.V1.dll
Constructors
MoveAssignmentRequest()
public MoveAssignmentRequest()
MoveAssignmentRequest(MoveAssignmentRequest)
public MoveAssignmentRequest(MoveAssignmentRequest other)
Parameter | |
---|---|
Name | Description |
other |
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 |
string |
AssignmentName
public AssignmentName AssignmentName { get; set; }
AssignmentName-typed view over the Name resource name property.
Property Value | |
---|---|
Type | Description |
AssignmentName |
DestinationId
public string DestinationId { get; set; }
The new reservation ID, e.g.:
projects/myotherproject/locations/US/reservations/team2-prod
Property Value | |
---|---|
Type | Description |
string |
DestinationIdAsReservationName
public ReservationName DestinationIdAsReservationName { get; set; }
ReservationName-typed view over the DestinationId resource name property.
Property Value | |
---|---|
Type | Description |
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 |
string |