Class ProjectsResource.LocationsResource.ReservationsResource.AssignmentsResource.MoveRequest
Moves an assignment under a new reservation. This differs from removing an existing assignment and recreating a new one by providing a transactional change that ensures an assignee always has an associated reservation.
Inheritance
ProjectsResource.LocationsResource.ReservationsResource.AssignmentsResource.MoveRequest
Inherited Members
Namespace: Google.Apis.BigQueryReservation.v1
Assembly: Google.Apis.BigQueryReservation.v1.dll
Syntax
public class ProjectsResource.LocationsResource.ReservationsResource.AssignmentsResource.MoveRequest : BigQueryReservationBaseServiceRequest<Assignment>, IClientServiceRequest<Assignment>, IClientServiceRequest
Constructors
MoveRequest(IClientService, MoveAssignmentRequest, string)
Constructs a new Move request.
Declaration
public MoveRequest(IClientService service, MoveAssignmentRequest body, string name)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service | |
MoveAssignmentRequest | body | |
string | name |
Properties
HttpMethod
Gets the HTTP method.
Declaration
public override string HttpMethod { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
MethodName
Gets the method name.
Declaration
public override string MethodName { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
Name
Required. The resource name of the assignment, e.g.
projects/myproject/locations/US/reservations/team1-prod/assignments/123
Declaration
[RequestParameter("name", RequestParameterType.Path)]
public virtual string Name { get; }
Property Value
Type | Description |
---|---|
string |
RestPath
Gets the REST path.
Declaration
public override string RestPath { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
Methods
GetBody()
Returns the body of the request.
Declaration
protected override object GetBody()
Returns
Type | Description |
---|---|
object |
Overrides
InitParameters()
Initializes Move parameter list.
Declaration
protected override void InitParameters()