Compute Engine v1 API - Class AcceleratorTypesClientImpl (2.16.0)

public sealed class AcceleratorTypesClientImpl : AcceleratorTypesClient

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

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(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 AcceleratorTypesAcceleratorTypesClient

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

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
PagedEnumerableAcceleratorTypeAggregatedListKeyValuePairstringAcceleratorTypesScopedList

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

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
PagedAsyncEnumerableAcceleratorTypeAggregatedListKeyValuePairstringAcceleratorTypesScopedList

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
TaskAcceleratorType

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
PagedEnumerableAcceleratorTypeListAcceleratorType

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
PagedAsyncEnumerableAcceleratorTypeListAcceleratorType

A pageable asynchronous sequence of AcceleratorType resources.

Overrides