- 3.23.0 (latest)
- 3.22.0
- 3.21.0
- 3.20.0
- 3.19.0
- 3.18.0
- 3.17.0
- 3.16.0
- 3.15.0
- 3.14.0
- 3.13.0
- 3.12.0
- 3.11.0
- 3.10.0
- 3.9.0
- 3.8.0
- 3.7.0
- 3.6.0
- 3.5.0
- 3.4.0
- 3.3.0
- 3.2.0
- 3.1.0
- 3.0.0
- 2.17.0
- 2.16.0
- 2.15.0
- 2.14.0
- 2.13.0
- 2.12.0
- 2.11.0
- 2.10.0
- 2.9.0
- 2.8.0
- 2.7.0
- 2.6.0
- 2.5.0
- 2.4.0
- 2.3.0
- 2.2.0
- 2.1.0
- 2.0.0
- 1.4.0
- 1.3.0
- 1.2.0
- 1.1.0
- 1.0.0
public class AcceleratorTypesClient : ClientBase<AcceleratorTypes.AcceleratorTypesClient>Client for AcceleratorTypes
Inheritance
Object > ClientBase > ClientBase<AcceleratorTypes.AcceleratorTypesClient> > AcceleratorTypes.AcceleratorTypesClientNamespace
Google.Cloud.Compute.V1Assembly
Google.Cloud.Compute.V1.dll
Constructors
AcceleratorTypesClient()
protected AcceleratorTypesClient()Protected parameterless constructor to allow creation of test doubles.
AcceleratorTypesClient(CallInvoker)
public AcceleratorTypesClient(CallInvoker callInvoker)Creates a new client for AcceleratorTypes that uses a custom CallInvoker.
| Parameter | |
|---|---|
| Name | Description |
callInvoker |
CallInvokerThe callInvoker to use to make remote calls. |
AcceleratorTypesClient(ChannelBase)
public AcceleratorTypesClient(ChannelBase channel)Creates a new client for AcceleratorTypes
| Parameter | |
|---|---|
| Name | Description |
channel |
ChannelBaseThe channel to use to make remote calls. |
AcceleratorTypesClient(ClientBase.ClientBaseConfiguration)
protected AcceleratorTypesClient(ClientBase.ClientBaseConfiguration configuration)Protected constructor to allow creation of configured clients.
| Parameter | |
|---|---|
| Name | Description |
configuration |
ClientBase.ClientBaseConfigurationThe client configuration. |
Methods
AggregatedList(AggregatedListAcceleratorTypesRequest, CallOptions)
public virtual AcceleratorTypeAggregatedList AggregatedList(AggregatedListAcceleratorTypesRequest request, CallOptions options)Retrieves an aggregated list of accelerator types.
| Parameters | |
|---|---|
| Name | Description |
request |
AggregatedListAcceleratorTypesRequestThe request to send to the server. |
options |
CallOptionsThe options for the call. |
| Returns | |
|---|---|
| Type | Description |
AcceleratorTypeAggregatedList |
The response received from the server. |
AggregatedList(AggregatedListAcceleratorTypesRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual AcceleratorTypeAggregatedList AggregatedList(AggregatedListAcceleratorTypesRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))Retrieves an aggregated list of accelerator types.
| Parameters | |
|---|---|
| Name | Description |
request |
AggregatedListAcceleratorTypesRequestThe request to send to the server. |
headers |
MetadataThe initial metadata to send with the call. This parameter is optional. |
deadline |
Nullable<DateTime>An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationTokenAn optional token for canceling the call. |
| Returns | |
|---|---|
| Type | Description |
AcceleratorTypeAggregatedList |
The response received from the server. |
AggregatedListAsync(AggregatedListAcceleratorTypesRequest, CallOptions)
public virtual AsyncUnaryCall<AcceleratorTypeAggregatedList> AggregatedListAsync(AggregatedListAcceleratorTypesRequest request, CallOptions options)Retrieves an aggregated list of accelerator types.
| Parameters | |
|---|---|
| Name | Description |
request |
AggregatedListAcceleratorTypesRequestThe request to send to the server. |
options |
CallOptionsThe options for the call. |
| Returns | |
|---|---|
| Type | Description |
AsyncUnaryCall<AcceleratorTypeAggregatedList> |
The call object. |
AggregatedListAsync(AggregatedListAcceleratorTypesRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual AsyncUnaryCall<AcceleratorTypeAggregatedList> AggregatedListAsync(AggregatedListAcceleratorTypesRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))Retrieves an aggregated list of accelerator types.
| Parameters | |
|---|---|
| Name | Description |
request |
AggregatedListAcceleratorTypesRequestThe request to send to the server. |
headers |
MetadataThe initial metadata to send with the call. This parameter is optional. |
deadline |
Nullable<DateTime>An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationTokenAn optional token for canceling the call. |
| Returns | |
|---|---|
| Type | Description |
AsyncUnaryCall<AcceleratorTypeAggregatedList> |
The call object. |
Get(GetAcceleratorTypeRequest, CallOptions)
public virtual AcceleratorType Get(GetAcceleratorTypeRequest request, CallOptions options)Returns the specified accelerator type.
| Parameters | |
|---|---|
| Name | Description |
request |
GetAcceleratorTypeRequestThe request to send to the server. |
options |
CallOptionsThe options for the call. |
| Returns | |
|---|---|
| Type | Description |
AcceleratorType |
The response received from the server. |
Get(GetAcceleratorTypeRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual AcceleratorType Get(GetAcceleratorTypeRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))Returns the specified accelerator type.
| Parameters | |
|---|---|
| Name | Description |
request |
GetAcceleratorTypeRequestThe request to send to the server. |
headers |
MetadataThe initial metadata to send with the call. This parameter is optional. |
deadline |
Nullable<DateTime>An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationTokenAn optional token for canceling the call. |
| Returns | |
|---|---|
| Type | Description |
AcceleratorType |
The response received from the server. |
GetAsync(GetAcceleratorTypeRequest, CallOptions)
public virtual AsyncUnaryCall<AcceleratorType> GetAsync(GetAcceleratorTypeRequest request, CallOptions options)Returns the specified accelerator type.
| Parameters | |
|---|---|
| Name | Description |
request |
GetAcceleratorTypeRequestThe request to send to the server. |
options |
CallOptionsThe options for the call. |
| Returns | |
|---|---|
| Type | Description |
AsyncUnaryCall<AcceleratorType> |
The call object. |
GetAsync(GetAcceleratorTypeRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual AsyncUnaryCall<AcceleratorType> GetAsync(GetAcceleratorTypeRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))Returns the specified accelerator type.
| Parameters | |
|---|---|
| Name | Description |
request |
GetAcceleratorTypeRequestThe request to send to the server. |
headers |
MetadataThe initial metadata to send with the call. This parameter is optional. |
deadline |
Nullable<DateTime>An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationTokenAn optional token for canceling the call. |
| Returns | |
|---|---|
| Type | Description |
AsyncUnaryCall<AcceleratorType> |
The call object. |
List(ListAcceleratorTypesRequest, CallOptions)
public virtual AcceleratorTypeList List(ListAcceleratorTypesRequest request, CallOptions options)Retrieves a list of accelerator types that are available to the specified project.
| Parameters | |
|---|---|
| Name | Description |
request |
ListAcceleratorTypesRequestThe request to send to the server. |
options |
CallOptionsThe options for the call. |
| Returns | |
|---|---|
| Type | Description |
AcceleratorTypeList |
The response received from the server. |
List(ListAcceleratorTypesRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual AcceleratorTypeList List(ListAcceleratorTypesRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))Retrieves a list of accelerator types that are available to the specified project.
| Parameters | |
|---|---|
| Name | Description |
request |
ListAcceleratorTypesRequestThe request to send to the server. |
headers |
MetadataThe initial metadata to send with the call. This parameter is optional. |
deadline |
Nullable<DateTime>An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationTokenAn optional token for canceling the call. |
| Returns | |
|---|---|
| Type | Description |
AcceleratorTypeList |
The response received from the server. |
ListAsync(ListAcceleratorTypesRequest, CallOptions)
public virtual AsyncUnaryCall<AcceleratorTypeList> ListAsync(ListAcceleratorTypesRequest request, CallOptions options)Retrieves a list of accelerator types that are available to the specified project.
| Parameters | |
|---|---|
| Name | Description |
request |
ListAcceleratorTypesRequestThe request to send to the server. |
options |
CallOptionsThe options for the call. |
| Returns | |
|---|---|
| Type | Description |
AsyncUnaryCall<AcceleratorTypeList> |
The call object. |
ListAsync(ListAcceleratorTypesRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual AsyncUnaryCall<AcceleratorTypeList> ListAsync(ListAcceleratorTypesRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))Retrieves a list of accelerator types that are available to the specified project.
| Parameters | |
|---|---|
| Name | Description |
request |
ListAcceleratorTypesRequestThe request to send to the server. |
headers |
MetadataThe initial metadata to send with the call. This parameter is optional. |
deadline |
Nullable<DateTime>An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationTokenAn optional token for canceling the call. |
| Returns | |
|---|---|
| Type | Description |
AsyncUnaryCall<AcceleratorTypeList> |
The call object. |
NewInstance(ClientBase.ClientBaseConfiguration)
protected override AcceleratorTypes.AcceleratorTypesClient NewInstance(ClientBase.ClientBaseConfiguration configuration)Creates a new instance of client from given ClientBaseConfiguration.
| Parameter | |
|---|---|
| Name | Description |
configuration |
ClientBase.ClientBaseConfiguration |
| Returns | |
|---|---|
| Type | Description |
AcceleratorTypes.AcceleratorTypesClient |
|