[BindServiceMethod(typeof(AcceleratorTypes), "BindService")]
public abstract class AcceleratorTypes.AcceleratorTypesBaseReference documentation and code samples for the Compute Engine v1 API class AcceleratorTypes.AcceleratorTypesBase.
Base 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. To prevent failure, Google recommends that you set the returnPartialSuccess parameter to true.
| Parameters | |
|---|---|
| Name | Description |
request |
AggregatedListAcceleratorTypesRequestThe request received from the client. |
context |
ServerCallContextThe context of the server-side call handler being invoked. |
| Returns | |
|---|---|
| Type | Description |
TaskAcceleratorTypeAggregatedList |
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 |
TaskAcceleratorType |
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 |
TaskAcceleratorTypeList |
The response to send back to the client (wrapped by a task). |