Class RegionDiskTypesClientImpl (2.0.0)

public sealed class RegionDiskTypesClientImpl : RegionDiskTypesClient

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(RegionDiskTypes.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
grpcClientRegionDiskTypes.RegionDiskTypesClient

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
RegionDiskTypes.RegionDiskTypesClient
Overrides

Methods

Get(GetRegionDiskTypeRequest, CallSettings)

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

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

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. Gets a list of available disk types by making a list() request.

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
Task<DiskType>

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
PagedEnumerable<RegionDiskTypeList, DiskType>

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
PagedAsyncEnumerable<RegionDiskTypeList, DiskType>

A pageable asynchronous sequence of DiskType resources.

Overrides