Compute Engine v1 API - Class DiskTypesClientImpl (2.11.0)

public sealed class DiskTypesClientImpl : DiskTypesClient

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

DiskTypes client wrapper implementation, for convenient use.

Inheritance

object > DiskTypesClient > DiskTypesClientImpl

Namespace

Google.Cloud.Compute.V1

Assembly

Google.Cloud.Compute.V1.dll

Remarks

The DiskTypes API.

Constructors

DiskTypesClientImpl(DiskTypesClient, DiskTypesSettings, ILogger)

public DiskTypesClientImpl(DiskTypes.DiskTypesClient grpcClient, DiskTypesSettings settings, ILogger logger)

Constructs a client wrapper for the DiskTypes service, with the specified gRPC client and settings.

Parameters
NameDescription
grpcClientDiskTypesDiskTypesClient

The underlying gRPC client.

settingsDiskTypesSettings

The base DiskTypesSettings used within this client.

loggerILogger

Optional ILogger to use within this client.

Properties

GrpcClient

public override DiskTypes.DiskTypesClient GrpcClient { get; }

The underlying gRPC DiskTypes client

Property Value
TypeDescription
DiskTypesDiskTypesClient
Overrides

Methods

AggregatedList(AggregatedListDiskTypesRequest, CallSettings)

public override PagedEnumerable<DiskTypeAggregatedList, KeyValuePair<string, DiskTypesScopedList>> AggregatedList(AggregatedListDiskTypesRequest request, CallSettings callSettings = null)

Retrieves an aggregated list of disk types.

Parameters
NameDescription
requestAggregatedListDiskTypesRequest

The request object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
PagedEnumerableDiskTypeAggregatedListKeyValuePairstringDiskTypesScopedList

A pageable sequence of KeyValuePair<TKey, TValue> resources.

Overrides

AggregatedListAsync(AggregatedListDiskTypesRequest, CallSettings)

public override PagedAsyncEnumerable<DiskTypeAggregatedList, KeyValuePair<string, DiskTypesScopedList>> AggregatedListAsync(AggregatedListDiskTypesRequest request, CallSettings callSettings = null)

Retrieves an aggregated list of disk types.

Parameters
NameDescription
requestAggregatedListDiskTypesRequest

The request object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
PagedAsyncEnumerableDiskTypeAggregatedListKeyValuePairstringDiskTypesScopedList

A pageable asynchronous sequence of KeyValuePair<TKey, TValue> resources.

Overrides

Get(GetDiskTypeRequest, CallSettings)

public override DiskType Get(GetDiskTypeRequest request, CallSettings callSettings = null)

Returns the specified disk type.

Parameters
NameDescription
requestGetDiskTypeRequest

The request object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
DiskType

The RPC response.

Overrides

GetAsync(GetDiskTypeRequest, CallSettings)

public override Task<DiskType> GetAsync(GetDiskTypeRequest request, CallSettings callSettings = null)

Returns the specified disk type.

Parameters
NameDescription
requestGetDiskTypeRequest

The request object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
TaskDiskType

A Task containing the RPC response.

Overrides

List(ListDiskTypesRequest, CallSettings)

public override PagedEnumerable<DiskTypeList, DiskType> List(ListDiskTypesRequest request, CallSettings callSettings = null)

Retrieves a list of disk types available to the specified project.

Parameters
NameDescription
requestListDiskTypesRequest

The request object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
PagedEnumerableDiskTypeListDiskType

A pageable sequence of DiskType resources.

Overrides

ListAsync(ListDiskTypesRequest, CallSettings)

public override PagedAsyncEnumerable<DiskTypeList, DiskType> ListAsync(ListDiskTypesRequest request, CallSettings callSettings = null)

Retrieves a list of disk types available to the specified project.

Parameters
NameDescription
requestListDiskTypesRequest

The request object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
PagedAsyncEnumerableDiskTypeListDiskType

A pageable asynchronous sequence of DiskType resources.

Overrides