[BindServiceMethod(typeof(RegionDiskTypes), "BindService")]
public abstract class RegionDiskTypes.RegionDiskTypesBaseReference documentation and code samples for the Compute Engine v1 API class RegionDiskTypes.RegionDiskTypesBase.
Base class for server-side implementations of RegionDiskTypes
Namespace
Google.Cloud.Compute.V1Assembly
Google.Cloud.Compute.V1.dll
Methods
Get(GetRegionDiskTypeRequest, ServerCallContext)
public virtual Task<DiskType> Get(GetRegionDiskTypeRequest request, ServerCallContext context)Returns the specified regional disk type.
| Parameters | |
|---|---|
| Name | Description |
request |
GetRegionDiskTypeRequestThe request received from the client. |
context |
ServerCallContextThe context of the server-side call handler being invoked. |
| Returns | |
|---|---|
| Type | Description |
TaskDiskType |
The response to send back to the client (wrapped by a task). |
List(ListRegionDiskTypesRequest, ServerCallContext)
public virtual Task<RegionDiskTypeList> List(ListRegionDiskTypesRequest request, ServerCallContext context)Retrieves a list of regional disk types available to the specified project.
| Parameters | |
|---|---|
| Name | Description |
request |
ListRegionDiskTypesRequestThe request received from the client. |
context |
ServerCallContextThe context of the server-side call handler being invoked. |
| Returns | |
|---|---|
| Type | Description |
TaskRegionDiskTypeList |
The response to send back to the client (wrapped by a task). |