Compute Engine v1 API - Class AcceleratorTypes.AcceleratorTypesBase (2.11.0)

[BindServiceMethod(typeof(AcceleratorTypes), "BindService")]
public abstract class AcceleratorTypes.AcceleratorTypesBase

Reference documentation and code samples for the Compute Engine v1 API class AcceleratorTypes.AcceleratorTypesBase.

Base class for server-side implementations of AcceleratorTypes

Inheritance

object > AcceleratorTypes.AcceleratorTypesBase

Namespace

Google.Cloud.Compute.V1

Assembly

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
NameDescription
requestAggregatedListAcceleratorTypesRequest

The request received from the client.

contextServerCallContext

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

Returns
TypeDescription
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
NameDescription
requestGetAcceleratorTypeRequest

The request received from the client.

contextServerCallContext

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

Returns
TypeDescription
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
NameDescription
requestListAcceleratorTypesRequest

The request received from the client.

contextServerCallContext

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

Returns
TypeDescription
TaskAcceleratorTypeList

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