Compute Engine v1 API - Class MachineTypes.MachineTypesBase (3.2.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
Name Description
request AggregatedListMachineTypesRequest

The request received from the client.

context ServerCallContext

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

Returns
Type Description
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
Name Description
request GetMachineTypeRequest

The request received from the client.

context ServerCallContext

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

Returns
Type Description
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
Name Description
request ListMachineTypesRequest

The request received from the client.

context ServerCallContext

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

Returns
Type Description
TaskMachineTypeList

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