Compute Engine v1 API - Class ReservationSlots.ReservationSlotsBase (3.25.0)

[BindServiceMethod(typeof(ReservationSlots), "BindService")]
public abstract class ReservationSlots.ReservationSlotsBase

Reference documentation and code samples for the Compute Engine v1 API class ReservationSlots.ReservationSlotsBase.

Base class for server-side implementations of ReservationSlots

Inheritance

object > ReservationSlots.ReservationSlotsBase

Namespace

Google.Cloud.Compute.V1

Assembly

Google.Cloud.Compute.V1.dll

Methods

Get(GetReservationSlotRequest, ServerCallContext)

public virtual Task<ReservationSlotsGetResponse> Get(GetReservationSlotRequest request, ServerCallContext context)

Retrieves information about the specified reservation slot.

Parameters
Name Description
request GetReservationSlotRequest

The request received from the client.

context ServerCallContext

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

Returns
Type Description
TaskReservationSlotsGetResponse

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

List(ListReservationSlotsRequest, ServerCallContext)

public virtual Task<ReservationSlotsListResponse> List(ListReservationSlotsRequest request, ServerCallContext context)

Retrieves a list of reservation slots under a single reservation.

Parameters
Name Description
request ListReservationSlotsRequest

The request received from the client.

context ServerCallContext

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

Returns
Type Description
TaskReservationSlotsListResponse

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

Update(UpdateReservationSlotRequest, ServerCallContext)

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

Update a reservation slot in the specified sub-block.

Parameters
Name Description
request UpdateReservationSlotRequest

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).