Compute Engine v1 API - Class MachineTypes.MachineTypesBase (2.14.0)

[BindServiceMethod(typeof(MachineTypes), "BindService")]
public abstract class MachineTypes.MachineTypesBase

Reference documentation and code samples for the Compute Engine v1 API class MachineTypes.MachineTypesBase.

Base class for server-side implementations of MachineTypes

Inheritance

object > MachineTypes.MachineTypesBase

Namespace

Google.Cloud.Compute.V1

Assembly

Google.Cloud.Compute.V1.dll

Methods

AggregatedList(AggregatedListMachineTypesRequest, ServerCallContext)

public virtual Task<MachineTypeAggregatedList> AggregatedList(AggregatedListMachineTypesRequest request, ServerCallContext context)

Retrieves an aggregated list of machine types. To prevent failure, Google recommends that you set the returnPartialSuccess parameter to true.

Parameters
NameDescription
requestAggregatedListMachineTypesRequest

The request received from the client.

contextServerCallContext

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

Returns
TypeDescription
TaskMachineTypeAggregatedList

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

Get(GetMachineTypeRequest, ServerCallContext)

public virtual Task<MachineType> Get(GetMachineTypeRequest request, ServerCallContext context)

Returns the specified machine type.

Parameters
NameDescription
requestGetMachineTypeRequest

The request received from the client.

contextServerCallContext

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

Returns
TypeDescription
TaskMachineType

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

List(ListMachineTypesRequest, ServerCallContext)

public virtual Task<MachineTypeList> List(ListMachineTypesRequest request, ServerCallContext context)

Retrieves a list of machine types available to the specified project.

Parameters
NameDescription
requestListMachineTypesRequest

The request received from the client.

contextServerCallContext

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

Returns
TypeDescription
TaskMachineTypeList

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