[BindServiceMethod(typeof(MachineTypes), "BindService")]
public abstract class MachineTypesBaseBase class for server-side implementations of MachineTypes
Namespace
Google.Cloud.Compute.V1Assembly
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 | AggregatedListMachineTypesRequestThe request received from the client. | 
| context | ServerCallContextThe context of the server-side call handler being invoked. | 
| Returns | |
|---|---|
| Type | Description | 
| 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 | |
|---|---|
| Name | Description | 
| request | GetMachineTypeRequestThe request received from the client. | 
| context | ServerCallContextThe context of the server-side call handler being invoked. | 
| Returns | |
|---|---|
| Type | Description | 
| 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 | |
|---|---|
| Name | Description | 
| request | ListMachineTypesRequestThe request received from the client. | 
| context | ServerCallContextThe context of the server-side call handler being invoked. | 
| Returns | |
|---|---|
| Type | Description | 
| Task<MachineTypeList> | The response to send back to the client (wrapped by a task). |