[BindServiceMethod(typeof(DiskTypes), "BindService")]
public abstract class DiskTypesBaseBase class for server-side implementations of DiskTypes
Namespace
Google.Cloud.Compute.V1Assembly
Google.Cloud.Compute.V1.dll
Methods
AggregatedList(AggregatedListDiskTypesRequest, ServerCallContext)
public virtual Task<DiskTypeAggregatedList> AggregatedList(AggregatedListDiskTypesRequest request, ServerCallContext context)Retrieves an aggregated list of disk types.
| Parameters | |
|---|---|
| Name | Description |
request |
AggregatedListDiskTypesRequestThe request received from the client. |
context |
ServerCallContextThe context of the server-side call handler being invoked. |
| Returns | |
|---|---|
| Type | Description |
Task<DiskTypeAggregatedList> |
The response to send back to the client (wrapped by a task). |
Get(GetDiskTypeRequest, ServerCallContext)
public virtual Task<DiskType> Get(GetDiskTypeRequest request, ServerCallContext context)Returns the specified disk type. Gets a list of available disk types by making a list() request.
| Parameters | |
|---|---|
| Name | Description |
request |
GetDiskTypeRequestThe request received from the client. |
context |
ServerCallContextThe context of the server-side call handler being invoked. |
| Returns | |
|---|---|
| Type | Description |
Task<DiskType> |
The response to send back to the client (wrapped by a task). |
List(ListDiskTypesRequest, ServerCallContext)
public virtual Task<DiskTypeList> List(ListDiskTypesRequest request, ServerCallContext context)Retrieves a list of disk types available to the specified project.
| Parameters | |
|---|---|
| Name | Description |
request |
ListDiskTypesRequestThe request received from the client. |
context |
ServerCallContextThe context of the server-side call handler being invoked. |
| Returns | |
|---|---|
| Type | Description |
Task<DiskTypeList> |
The response to send back to the client (wrapped by a task). |