Compute Engine v1 API - Class AcceleratorTypesClientImpl (2.4.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(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
NameDescription
grpcClientAcceleratorTypes.AcceleratorTypesClient

The underlying gRPC client.

settingsAcceleratorTypesSettings

The base AcceleratorTypesSettings used within this client.

loggerILogger

Optional ILogger to use within this client.

Properties

GrpcClient

public override AcceleratorTypes.AcceleratorTypesClient GrpcClient { get; }

The underlying gRPC AcceleratorTypes client

Property Value
TypeDescription
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
NameDescription
requestAggregatedListAcceleratorTypesRequest

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<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
NameDescription
requestAggregatedListAcceleratorTypesRequest

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<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
NameDescription
requestGetAcceleratorTypeRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
AcceleratorType

The RPC response.

Overrides

GetAsync(GetAcceleratorTypeRequest, CallSettings)

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

Returns the specified accelerator type.

Parameters
NameDescription
requestGetAcceleratorTypeRequest

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<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
NameDescription
requestListAcceleratorTypesRequest

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<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
NameDescription
requestListAcceleratorTypesRequest

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<AcceleratorTypeList, AcceleratorType>

A pageable asynchronous sequence of AcceleratorType resources.

Overrides