Compute Engine v1 API - Class FutureReservations.FutureReservationsBase (3.22.0)

[BindServiceMethod(typeof(FutureReservations), "BindService")]
public abstract class FutureReservations.FutureReservationsBase

Reference documentation and code samples for the Compute Engine v1 API class FutureReservations.FutureReservationsBase.

Base class for server-side implementations of FutureReservations

Inheritance

object > FutureReservations.FutureReservationsBase

Namespace

Google.Cloud.Compute.V1

Assembly

Google.Cloud.Compute.V1.dll

Methods

AggregatedList(AggregatedListFutureReservationsRequest, ServerCallContext)

public virtual Task<FutureReservationsAggregatedListResponse> AggregatedList(AggregatedListFutureReservationsRequest request, ServerCallContext context)

Retrieves an aggregated list of future reservations.

To prevent failure, it is recommended that you set the returnPartialSuccess parameter to true.

Parameters
Name Description
request AggregatedListFutureReservationsRequest

The request received from the client.

context ServerCallContext

The context of the server-side call handler being invoked.

Returns
Type Description
TaskFutureReservationsAggregatedListResponse

The response to send back to the client (wrapped by a task).

Cancel(CancelFutureReservationRequest, ServerCallContext)

public virtual Task<Operation> Cancel(CancelFutureReservationRequest request, ServerCallContext context)

Cancel the specified future reservation.

Parameters
Name Description
request CancelFutureReservationRequest

The request received from the client.

context ServerCallContext

The context of the server-side call handler being invoked.

Returns
Type Description
TaskOperation

The response to send back to the client (wrapped by a task).

Delete(DeleteFutureReservationRequest, ServerCallContext)

public virtual Task<Operation> Delete(DeleteFutureReservationRequest request, ServerCallContext context)

Deletes the specified future reservation.

Parameters
Name Description
request DeleteFutureReservationRequest

The request received from the client.

context ServerCallContext

The context of the server-side call handler being invoked.

Returns
Type Description
TaskOperation

The response to send back to the client (wrapped by a task).

Get(GetFutureReservationRequest, ServerCallContext)

public virtual Task<FutureReservation> Get(GetFutureReservationRequest request, ServerCallContext context)

Retrieves information about the specified future reservation.

Parameters
Name Description
request GetFutureReservationRequest

The request received from the client.

context ServerCallContext

The context of the server-side call handler being invoked.

Returns
Type Description
TaskFutureReservation

The response to send back to the client (wrapped by a task).

Insert(InsertFutureReservationRequest, ServerCallContext)

public virtual Task<Operation> Insert(InsertFutureReservationRequest request, ServerCallContext context)

Creates a new Future Reservation.

Parameters
Name Description
request InsertFutureReservationRequest

The request received from the client.

context ServerCallContext

The context of the server-side call handler being invoked.

Returns
Type Description
TaskOperation

The response to send back to the client (wrapped by a task).

List(ListFutureReservationsRequest, ServerCallContext)

public virtual Task<FutureReservationsListResponse> List(ListFutureReservationsRequest request, ServerCallContext context)

A list of all the future reservations that have been configured for the specified project in specified zone.

Parameters
Name Description
request ListFutureReservationsRequest

The request received from the client.

context ServerCallContext

The context of the server-side call handler being invoked.

Returns
Type Description
TaskFutureReservationsListResponse

The response to send back to the client (wrapped by a task).

Update(UpdateFutureReservationRequest, ServerCallContext)

public virtual Task<Operation> Update(UpdateFutureReservationRequest request, ServerCallContext context)

Updates the specified future reservation.

Parameters
Name Description
request UpdateFutureReservationRequest

The request received from the client.

context ServerCallContext

The context of the server-side call handler being invoked.

Returns
Type Description
TaskOperation

The response to send back to the client (wrapped by a task).