public class SpecialistPoolServiceClient : ClientBase<SpecialistPoolService.SpecialistPoolServiceClient>Client for SpecialistPoolService
Inheritance
Object > ClientBase > ClientBase<SpecialistPoolService.SpecialistPoolServiceClient> > SpecialistPoolService.SpecialistPoolServiceClientNamespace
Google.Cloud.AIPlatform.V1Assembly
Google.Cloud.AIPlatform.V1.dll
Constructors
SpecialistPoolServiceClient()
protected SpecialistPoolServiceClient()Protected parameterless constructor to allow creation of test doubles.
SpecialistPoolServiceClient(CallInvoker)
public SpecialistPoolServiceClient(CallInvoker callInvoker)Creates a new client for SpecialistPoolService that uses a custom CallInvoker.
| Parameter | |
|---|---|
| Name | Description |
callInvoker |
CallInvokerThe callInvoker to use to make remote calls. |
SpecialistPoolServiceClient(ChannelBase)
public SpecialistPoolServiceClient(ChannelBase channel)Creates a new client for SpecialistPoolService
| Parameter | |
|---|---|
| Name | Description |
channel |
ChannelBaseThe channel to use to make remote calls. |
SpecialistPoolServiceClient(ClientBase.ClientBaseConfiguration)
protected SpecialistPoolServiceClient(ClientBase.ClientBaseConfiguration configuration)Protected constructor to allow creation of configured clients.
| Parameter | |
|---|---|
| Name | Description |
configuration |
ClientBase.ClientBaseConfigurationThe client configuration. |
Methods
CreateOperationsClient()
public virtual Operations.OperationsClient CreateOperationsClient()Creates a new instance of Operations.OperationsClient using the same call invoker as this client.
| Returns | |
|---|---|
| Type | Description |
Operations.OperationsClient |
A new Operations client for the same target as this client. |
CreateSpecialistPool(CreateSpecialistPoolRequest, CallOptions)
public virtual Operation CreateSpecialistPool(CreateSpecialistPoolRequest request, CallOptions options)Creates a SpecialistPool.
| Parameters | |
|---|---|
| Name | Description |
request |
CreateSpecialistPoolRequestThe request to send to the server. |
options |
CallOptionsThe options for the call. |
| Returns | |
|---|---|
| Type | Description |
Operation |
The response received from the server. |
CreateSpecialistPool(CreateSpecialistPoolRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual Operation CreateSpecialistPool(CreateSpecialistPoolRequest request, Metadata headers = null, DateTime? deadline = default(DateTime? ), CancellationToken cancellationToken = default(CancellationToken))Creates a SpecialistPool.
| Parameters | |
|---|---|
| Name | Description |
request |
CreateSpecialistPoolRequestThe 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 |
Operation |
The response received from the server. |
CreateSpecialistPoolAsync(CreateSpecialistPoolRequest, CallOptions)
public virtual AsyncUnaryCall<Operation> CreateSpecialistPoolAsync(CreateSpecialistPoolRequest request, CallOptions options)Creates a SpecialistPool.
| Parameters | |
|---|---|
| Name | Description |
request |
CreateSpecialistPoolRequestThe request to send to the server. |
options |
CallOptionsThe options for the call. |
| Returns | |
|---|---|
| Type | Description |
AsyncUnaryCall<Operation> |
The call object. |
CreateSpecialistPoolAsync(CreateSpecialistPoolRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual AsyncUnaryCall<Operation> CreateSpecialistPoolAsync(CreateSpecialistPoolRequest request, Metadata headers = null, DateTime? deadline = default(DateTime? ), CancellationToken cancellationToken = default(CancellationToken))Creates a SpecialistPool.
| Parameters | |
|---|---|
| Name | Description |
request |
CreateSpecialistPoolRequestThe 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<Operation> |
The call object. |
DeleteSpecialistPool(DeleteSpecialistPoolRequest, CallOptions)
public virtual Operation DeleteSpecialistPool(DeleteSpecialistPoolRequest request, CallOptions options)Deletes a SpecialistPool as well as all Specialists in the pool.
| Parameters | |
|---|---|
| Name | Description |
request |
DeleteSpecialistPoolRequestThe request to send to the server. |
options |
CallOptionsThe options for the call. |
| Returns | |
|---|---|
| Type | Description |
Operation |
The response received from the server. |
DeleteSpecialistPool(DeleteSpecialistPoolRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual Operation DeleteSpecialistPool(DeleteSpecialistPoolRequest request, Metadata headers = null, DateTime? deadline = default(DateTime? ), CancellationToken cancellationToken = default(CancellationToken))Deletes a SpecialistPool as well as all Specialists in the pool.
| Parameters | |
|---|---|
| Name | Description |
request |
DeleteSpecialistPoolRequestThe 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 |
Operation |
The response received from the server. |
DeleteSpecialistPoolAsync(DeleteSpecialistPoolRequest, CallOptions)
public virtual AsyncUnaryCall<Operation> DeleteSpecialistPoolAsync(DeleteSpecialistPoolRequest request, CallOptions options)Deletes a SpecialistPool as well as all Specialists in the pool.
| Parameters | |
|---|---|
| Name | Description |
request |
DeleteSpecialistPoolRequestThe request to send to the server. |
options |
CallOptionsThe options for the call. |
| Returns | |
|---|---|
| Type | Description |
AsyncUnaryCall<Operation> |
The call object. |
DeleteSpecialistPoolAsync(DeleteSpecialistPoolRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual AsyncUnaryCall<Operation> DeleteSpecialistPoolAsync(DeleteSpecialistPoolRequest request, Metadata headers = null, DateTime? deadline = default(DateTime? ), CancellationToken cancellationToken = default(CancellationToken))Deletes a SpecialistPool as well as all Specialists in the pool.
| Parameters | |
|---|---|
| Name | Description |
request |
DeleteSpecialistPoolRequestThe 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<Operation> |
The call object. |
GetSpecialistPool(GetSpecialistPoolRequest, CallOptions)
public virtual SpecialistPool GetSpecialistPool(GetSpecialistPoolRequest request, CallOptions options)Gets a SpecialistPool.
| Parameters | |
|---|---|
| Name | Description |
request |
GetSpecialistPoolRequestThe request to send to the server. |
options |
CallOptionsThe options for the call. |
| Returns | |
|---|---|
| Type | Description |
SpecialistPool |
The response received from the server. |
GetSpecialistPool(GetSpecialistPoolRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual SpecialistPool GetSpecialistPool(GetSpecialistPoolRequest request, Metadata headers = null, DateTime? deadline = default(DateTime? ), CancellationToken cancellationToken = default(CancellationToken))Gets a SpecialistPool.
| Parameters | |
|---|---|
| Name | Description |
request |
GetSpecialistPoolRequestThe 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 |
SpecialistPool |
The response received from the server. |
GetSpecialistPoolAsync(GetSpecialistPoolRequest, CallOptions)
public virtual AsyncUnaryCall<SpecialistPool> GetSpecialistPoolAsync(GetSpecialistPoolRequest request, CallOptions options)Gets a SpecialistPool.
| Parameters | |
|---|---|
| Name | Description |
request |
GetSpecialistPoolRequestThe request to send to the server. |
options |
CallOptionsThe options for the call. |
| Returns | |
|---|---|
| Type | Description |
AsyncUnaryCall<SpecialistPool> |
The call object. |
GetSpecialistPoolAsync(GetSpecialistPoolRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual AsyncUnaryCall<SpecialistPool> GetSpecialistPoolAsync(GetSpecialistPoolRequest request, Metadata headers = null, DateTime? deadline = default(DateTime? ), CancellationToken cancellationToken = default(CancellationToken))Gets a SpecialistPool.
| Parameters | |
|---|---|
| Name | Description |
request |
GetSpecialistPoolRequestThe 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<SpecialistPool> |
The call object. |
ListSpecialistPools(ListSpecialistPoolsRequest, CallOptions)
public virtual ListSpecialistPoolsResponse ListSpecialistPools(ListSpecialistPoolsRequest request, CallOptions options)Lists SpecialistPools in a Location.
| Parameters | |
|---|---|
| Name | Description |
request |
ListSpecialistPoolsRequestThe request to send to the server. |
options |
CallOptionsThe options for the call. |
| Returns | |
|---|---|
| Type | Description |
ListSpecialistPoolsResponse |
The response received from the server. |
ListSpecialistPools(ListSpecialistPoolsRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual ListSpecialistPoolsResponse ListSpecialistPools(ListSpecialistPoolsRequest request, Metadata headers = null, DateTime? deadline = default(DateTime? ), CancellationToken cancellationToken = default(CancellationToken))Lists SpecialistPools in a Location.
| Parameters | |
|---|---|
| Name | Description |
request |
ListSpecialistPoolsRequestThe 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 |
ListSpecialistPoolsResponse |
The response received from the server. |
ListSpecialistPoolsAsync(ListSpecialistPoolsRequest, CallOptions)
public virtual AsyncUnaryCall<ListSpecialistPoolsResponse> ListSpecialistPoolsAsync(ListSpecialistPoolsRequest request, CallOptions options)Lists SpecialistPools in a Location.
| Parameters | |
|---|---|
| Name | Description |
request |
ListSpecialistPoolsRequestThe request to send to the server. |
options |
CallOptionsThe options for the call. |
| Returns | |
|---|---|
| Type | Description |
AsyncUnaryCall<ListSpecialistPoolsResponse> |
The call object. |
ListSpecialistPoolsAsync(ListSpecialistPoolsRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual AsyncUnaryCall<ListSpecialistPoolsResponse> ListSpecialistPoolsAsync(ListSpecialistPoolsRequest request, Metadata headers = null, DateTime? deadline = default(DateTime? ), CancellationToken cancellationToken = default(CancellationToken))Lists SpecialistPools in a Location.
| Parameters | |
|---|---|
| Name | Description |
request |
ListSpecialistPoolsRequestThe 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<ListSpecialistPoolsResponse> |
The call object. |
NewInstance(ClientBase.ClientBaseConfiguration)
protected override SpecialistPoolService.SpecialistPoolServiceClient NewInstance(ClientBase.ClientBaseConfiguration configuration)Creates a new instance of client from given ClientBaseConfiguration.
| Parameter | |
|---|---|
| Name | Description |
configuration |
ClientBase.ClientBaseConfiguration |
| Returns | |
|---|---|
| Type | Description |
SpecialistPoolService.SpecialistPoolServiceClient |
|
UpdateSpecialistPool(UpdateSpecialistPoolRequest, CallOptions)
public virtual Operation UpdateSpecialistPool(UpdateSpecialistPoolRequest request, CallOptions options)Updates a SpecialistPool.
| Parameters | |
|---|---|
| Name | Description |
request |
UpdateSpecialistPoolRequestThe request to send to the server. |
options |
CallOptionsThe options for the call. |
| Returns | |
|---|---|
| Type | Description |
Operation |
The response received from the server. |
UpdateSpecialistPool(UpdateSpecialistPoolRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual Operation UpdateSpecialistPool(UpdateSpecialistPoolRequest request, Metadata headers = null, DateTime? deadline = default(DateTime? ), CancellationToken cancellationToken = default(CancellationToken))Updates a SpecialistPool.
| Parameters | |
|---|---|
| Name | Description |
request |
UpdateSpecialistPoolRequestThe 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 |
Operation |
The response received from the server. |
UpdateSpecialistPoolAsync(UpdateSpecialistPoolRequest, CallOptions)
public virtual AsyncUnaryCall<Operation> UpdateSpecialistPoolAsync(UpdateSpecialistPoolRequest request, CallOptions options)Updates a SpecialistPool.
| Parameters | |
|---|---|
| Name | Description |
request |
UpdateSpecialistPoolRequestThe request to send to the server. |
options |
CallOptionsThe options for the call. |
| Returns | |
|---|---|
| Type | Description |
AsyncUnaryCall<Operation> |
The call object. |
UpdateSpecialistPoolAsync(UpdateSpecialistPoolRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual AsyncUnaryCall<Operation> UpdateSpecialistPoolAsync(UpdateSpecialistPoolRequest request, Metadata headers = null, DateTime? deadline = default(DateTime? ), CancellationToken cancellationToken = default(CancellationToken))Updates a SpecialistPool.
| Parameters | |
|---|---|
| Name | Description |
request |
UpdateSpecialistPoolRequestThe 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<Operation> |
The call object. |