Compute Engine v1 API - Class AcceleratorTypes.AcceleratorTypesBase (2.15.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. To prevent failure, Google recommends that you set the returnPartialSuccess parameter to true.

Parameters
Name Description
request AggregatedListAcceleratorTypesRequest

The request received from the client.

context ServerCallContext

The 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 GetAcceleratorTypeRequest

The request received from the client.

context ServerCallContext

The 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 ListAcceleratorTypesRequest

The request received from the client.

context ServerCallContext

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