Class MachineTypes.MachineTypesBase (1.3.0)

[BindServiceMethod(typeof(MachineTypes), "BindService")]
public abstract class 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.

Parameters
NameDescription
requestAggregatedListMachineTypesRequest

The request received from the client.

contextServerCallContext

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

Returns
TypeDescription
Task<MachineTypeAggregatedList>

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. Gets a list of available machine types by making a list() request.

Parameters
NameDescription
requestGetMachineTypeRequest

The request received from the client.

contextServerCallContext

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

Returns
TypeDescription
Task<MachineType>

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
Task<MachineTypeList>

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