Class AcceleratorTypesClientImpl (2.0.0)

public sealed class AcceleratorTypesClientImpl : AcceleratorTypesClient

AcceleratorTypes client wrapper implementation, for convenient use.

Inheritance

Object > AcceleratorTypesClient > AcceleratorTypesClientImpl

Namespace

Google.Cloud.Compute.V1

Assembly

Google.Cloud.Compute.V1.dll

Remarks

Services

The AcceleratorTypes API.

Constructors

AcceleratorTypesClientImpl(AcceleratorTypes.AcceleratorTypesClient, AcceleratorTypesSettings, ILogger)

public AcceleratorTypesClientImpl(AcceleratorTypes.AcceleratorTypesClient grpcClient, AcceleratorTypesSettings settings, ILogger logger)

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

Parameters
Name Description
grpcClient AcceleratorTypes.AcceleratorTypesClient

The underlying gRPC client.

settings AcceleratorTypesSettings

The base AcceleratorTypesSettings used within this client.

logger ILogger

Optional ILogger to use within this client.

Properties

GrpcClient

public override AcceleratorTypes.AcceleratorTypesClient GrpcClient { get; }

The underlying gRPC AcceleratorTypes client

Property Value
Type Description
AcceleratorTypes.AcceleratorTypesClient
Overrides

Methods

AggregatedList(AggregatedListAcceleratorTypesRequest, CallSettings)

public override PagedEnumerable<AcceleratorTypeAggregatedList, KeyValuePair<string, AcceleratorTypesScopedList>> AggregatedList(AggregatedListAcceleratorTypesRequest request, CallSettings callSettings = null)

Retrieves an aggregated list of accelerator types.

Parameters
Name Description
request AggregatedListAcceleratorTypesRequest

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

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
PagedEnumerable<AcceleratorTypeAggregatedList, KeyValuePair<String, AcceleratorTypesScopedList>>

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

Overrides

AggregatedListAsync(AggregatedListAcceleratorTypesRequest, CallSettings)

public override PagedAsyncEnumerable<AcceleratorTypeAggregatedList, KeyValuePair<string, AcceleratorTypesScopedList>> AggregatedListAsync(AggregatedListAcceleratorTypesRequest request, CallSettings callSettings = null)

Retrieves an aggregated list of accelerator types.

Parameters
Name Description
request AggregatedListAcceleratorTypesRequest

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

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
PagedAsyncEnumerable<AcceleratorTypeAggregatedList, KeyValuePair<String, AcceleratorTypesScopedList>>

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

Overrides

Get(GetAcceleratorTypeRequest, CallSettings)

public override AcceleratorType Get(GetAcceleratorTypeRequest request, CallSettings callSettings = null)

Returns the specified accelerator type.

Parameters
Name Description
request GetAcceleratorTypeRequest

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

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
AcceleratorType

The RPC response.

Overrides

GetAsync(GetAcceleratorTypeRequest, CallSettings)

public override Task<AcceleratorType> GetAsync(GetAcceleratorTypeRequest request, CallSettings callSettings = null)

Returns the specified accelerator type.

Parameters
Name Description
request GetAcceleratorTypeRequest

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

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
Task<AcceleratorType>

A Task containing the RPC response.

Overrides

List(ListAcceleratorTypesRequest, CallSettings)

public override PagedEnumerable<AcceleratorTypeList, AcceleratorType> List(ListAcceleratorTypesRequest request, CallSettings callSettings = null)

Retrieves a list of accelerator types that are available to the specified project.

Parameters
Name Description
request ListAcceleratorTypesRequest

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

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
PagedEnumerable<AcceleratorTypeList, AcceleratorType>

A pageable sequence of AcceleratorType resources.

Overrides

ListAsync(ListAcceleratorTypesRequest, CallSettings)

public override PagedAsyncEnumerable<AcceleratorTypeList, AcceleratorType> ListAsync(ListAcceleratorTypesRequest request, CallSettings callSettings = null)

Retrieves a list of accelerator types that are available to the specified project.

Parameters
Name Description
request ListAcceleratorTypesRequest

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

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
PagedAsyncEnumerable<AcceleratorTypeList, AcceleratorType>

A pageable asynchronous sequence of AcceleratorType resources.

Overrides