Compute Engine v1 API - Class RegionDiskTypesClientImpl (2.15.0)

public sealed class RegionDiskTypesClientImpl : RegionDiskTypesClient

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

RegionDiskTypes client wrapper implementation, for convenient use.

Inheritance

object > RegionDiskTypesClient > RegionDiskTypesClientImpl

Namespace

Google.Cloud.Compute.V1

Assembly

Google.Cloud.Compute.V1.dll

Remarks

The RegionDiskTypes API.

Constructors

RegionDiskTypesClientImpl(RegionDiskTypesClient, RegionDiskTypesSettings, ILogger)

public RegionDiskTypesClientImpl(RegionDiskTypes.RegionDiskTypesClient grpcClient, RegionDiskTypesSettings settings, ILogger logger)

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

Parameters
NameDescription
grpcClientRegionDiskTypesRegionDiskTypesClient

The underlying gRPC client.

settingsRegionDiskTypesSettings

The base RegionDiskTypesSettings used within this client.

loggerILogger

Optional ILogger to use within this client.

Properties

GrpcClient

public override RegionDiskTypes.RegionDiskTypesClient GrpcClient { get; }

The underlying gRPC RegionDiskTypes client

Property Value
TypeDescription
RegionDiskTypesRegionDiskTypesClient
Overrides

Methods

Get(GetRegionDiskTypeRequest, CallSettings)

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

Returns the specified regional disk type.

Parameters
NameDescription
requestGetRegionDiskTypeRequest

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(GetRegionDiskTypeRequest, CallSettings)

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

Returns the specified regional disk type.

Parameters
NameDescription
requestGetRegionDiskTypeRequest

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(ListRegionDiskTypesRequest, CallSettings)

public override PagedEnumerable<RegionDiskTypeList, DiskType> List(ListRegionDiskTypesRequest request, CallSettings callSettings = null)

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

Parameters
NameDescription
requestListRegionDiskTypesRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
PagedEnumerableRegionDiskTypeListDiskType

A pageable sequence of DiskType resources.

Overrides

ListAsync(ListRegionDiskTypesRequest, CallSettings)

public override PagedAsyncEnumerable<RegionDiskTypeList, DiskType> ListAsync(ListRegionDiskTypesRequest request, CallSettings callSettings = null)

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

Parameters
NameDescription
requestListRegionDiskTypesRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
PagedAsyncEnumerableRegionDiskTypeListDiskType

A pageable asynchronous sequence of DiskType resources.

Overrides