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