[BindServiceMethod(typeof(AcceleratorTypes), "BindService")]
public abstract class AcceleratorTypesBaseBase class for server-side implementations of AcceleratorTypes
Namespace
Google.Cloud.Compute.V1Assembly
Google.Cloud.Compute.V1.dll
Methods
AggregatedList(AggregatedListAcceleratorTypesRequest, ServerCallContext)
public virtual Task<AcceleratorTypeAggregatedList> AggregatedList(AggregatedListAcceleratorTypesRequest request, ServerCallContext context)Retrieves an aggregated list of accelerator types.
| Parameters | |
|---|---|
| Name | Description |
request |
AggregatedListAcceleratorTypesRequestThe request received from the client. |
context |
ServerCallContextThe context of the server-side call handler being invoked. |
| Returns | |
|---|---|
| Type | Description |
Task<AcceleratorTypeAggregatedList> |
The response to send back to the client (wrapped by a task). |
Get(GetAcceleratorTypeRequest, ServerCallContext)
public virtual Task<AcceleratorType> Get(GetAcceleratorTypeRequest request, ServerCallContext context)Returns the specified accelerator type.
| Parameters | |
|---|---|
| Name | Description |
request |
GetAcceleratorTypeRequestThe request received from the client. |
context |
ServerCallContextThe context of the server-side call handler being invoked. |
| Returns | |
|---|---|
| Type | Description |
Task<AcceleratorType> |
The response to send back to the client (wrapped by a task). |
List(ListAcceleratorTypesRequest, ServerCallContext)
public virtual Task<AcceleratorTypeList> List(ListAcceleratorTypesRequest request, ServerCallContext context)Retrieves a list of accelerator types that are available to the specified project.
| Parameters | |
|---|---|
| Name | Description |
request |
ListAcceleratorTypesRequestThe request received from the client. |
context |
ServerCallContextThe context of the server-side call handler being invoked. |
| Returns | |
|---|---|
| Type | Description |
Task<AcceleratorTypeList> |
The response to send back to the client (wrapped by a task). |