Compute Engine v1 API - Class DiskTypes.DiskTypesBase (2.15.0)

[BindServiceMethod(typeof(DiskTypes), "BindService")]
public abstract class DiskTypes.DiskTypesBase

Reference documentation and code samples for the Compute Engine v1 API class DiskTypes.DiskTypesBase.

Base class for server-side implementations of DiskTypes

Inheritance

object > DiskTypes.DiskTypesBase

Namespace

Google.Cloud.Compute.V1

Assembly

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. To prevent failure, Google recommends that you set the returnPartialSuccess parameter to true.

Parameters
Name Description
request AggregatedListDiskTypesRequest

The request received from the client.

context ServerCallContext

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

Returns
Type Description
TaskDiskTypeAggregatedList

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.

Parameters
Name Description
request GetDiskTypeRequest

The request received from the client.

context ServerCallContext

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

The request received from the client.

context ServerCallContext

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

Returns
Type Description
TaskDiskTypeList

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