[BindServiceMethod(typeof(ReservationSlots), "BindService")]
public abstract class ReservationSlots.ReservationSlotsBaseReference documentation and code samples for the Compute Engine v1 API class ReservationSlots.ReservationSlotsBase.
Base class for server-side implementations of ReservationSlots
Namespace
Google.Cloud.Compute.V1Assembly
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 |
GetReservationSlotRequestThe request received from the client. |
context |
ServerCallContextThe 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). |
GetVersion(GetVersionReservationSlotRequest, ServerCallContext)
public virtual Task<Operation> GetVersion(GetVersionReservationSlotRequest request, ServerCallContext context)Allows customers to get SBOM versions of a reservation slot.
| Parameters | |
|---|---|
| Name | Description |
request |
GetVersionReservationSlotRequestThe request received from the client. |
context |
ServerCallContextThe 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(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 |
ListReservationSlotsRequestThe request received from the client. |
context |
ServerCallContextThe 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 |
UpdateReservationSlotRequestThe request received from the client. |
context |
ServerCallContextThe 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). |