Class RegionDiskTypes.RegionDiskTypesBase (2.0.0)

[BindServiceMethod(typeof(RegionDiskTypes), "BindService")]
public abstract class RegionDiskTypesBase

Base class for server-side implementations of RegionDiskTypes

Inheritance

Object > RegionDiskTypes.RegionDiskTypesBase

Namespace

Google.Cloud.Compute.V1

Assembly

Google.Cloud.Compute.V1.dll

Methods

Get(GetRegionDiskTypeRequest, ServerCallContext)

public virtual Task<DiskType> Get(GetRegionDiskTypeRequest request, ServerCallContext context)

Returns the specified regional disk type. Gets a list of available disk types by making a list() request.

Parameters
Name Description
request GetRegionDiskTypeRequest

The request received from the client.

context ServerCallContext

The 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(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 ListRegionDiskTypesRequest

The request received from the client.

context ServerCallContext

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

Returns
Type Description
Task<RegionDiskTypeList>

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