Cloud AI Platform v1 API - Class SpecialistPoolService.SpecialistPoolServiceClient (3.10.0)

public class SpecialistPoolService.SpecialistPoolServiceClient : ClientBase<SpecialistPoolService.SpecialistPoolServiceClient>

Reference documentation and code samples for the Cloud AI Platform v1 API class SpecialistPoolService.SpecialistPoolServiceClient.

Client for SpecialistPoolService

Inheritance

object > ClientBase > ClientBaseSpecialistPoolServiceSpecialistPoolServiceClient > SpecialistPoolService.SpecialistPoolServiceClient

Namespace

Google.Cloud.AIPlatform.V1

Assembly

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 CallInvoker

The callInvoker to use to make remote calls.

SpecialistPoolServiceClient(ChannelBase)

public SpecialistPoolServiceClient(ChannelBase channel)

Creates a new client for SpecialistPoolService

Parameter
Name Description
channel ChannelBase

The channel to use to make remote calls.

SpecialistPoolServiceClient(ClientBaseConfiguration)

protected SpecialistPoolServiceClient(ClientBase.ClientBaseConfiguration configuration)

Protected constructor to allow creation of configured clients.

Parameter
Name Description
configuration ClientBaseClientBaseConfiguration

The client configuration.

Methods

CreateIAMPolicyClient()

public virtual IAMPolicy.IAMPolicyClient CreateIAMPolicyClient()

Creates a new instance of IAMPolicy.IAMPolicyClient using the same call invoker as this client.

Returns
Type Description
IAMPolicyIAMPolicyClient

A new IAMPolicy.IAMPolicyClient for the same target as this client.

CreateLocationsClient()

public virtual Locations.LocationsClient CreateLocationsClient()

Creates a new instance of Locations.LocationsClient using the same call invoker as this client.

Returns
Type Description
LocationsLocationsClient

A new Locations.LocationsClient for the same target as this client.

CreateOperationsClient()

public virtual Operations.OperationsClient CreateOperationsClient()

Creates a new instance of Operations.OperationsClient using the same call invoker as this client.

Returns
Type Description
OperationsOperationsClient

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 CreateSpecialistPoolRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
Operation

The response received from the server.

CreateSpecialistPool(CreateSpecialistPoolRequest, Metadata, DateTime?, CancellationToken)

public virtual Operation CreateSpecialistPool(CreateSpecialistPoolRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Creates a SpecialistPool.

Parameters
Name Description
request CreateSpecialistPoolRequest

The request to send to the server.

headers Metadata

The initial metadata to send with the call. This parameter is optional.

deadline System.DateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationToken CancellationToken

An 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 CreateSpecialistPoolRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
AsyncUnaryCallOperation

The call object.

CreateSpecialistPoolAsync(CreateSpecialistPoolRequest, Metadata, DateTime?, CancellationToken)

public virtual AsyncUnaryCall<Operation> CreateSpecialistPoolAsync(CreateSpecialistPoolRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Creates a SpecialistPool.

Parameters
Name Description
request CreateSpecialistPoolRequest

The request to send to the server.

headers Metadata

The initial metadata to send with the call. This parameter is optional.

deadline System.DateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationToken CancellationToken

An optional token for canceling the call.

Returns
Type Description
AsyncUnaryCallOperation

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 DeleteSpecialistPoolRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
Operation

The response received from the server.

DeleteSpecialistPool(DeleteSpecialistPoolRequest, Metadata, DateTime?, CancellationToken)

public virtual Operation DeleteSpecialistPool(DeleteSpecialistPoolRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Deletes a SpecialistPool as well as all Specialists in the pool.

Parameters
Name Description
request DeleteSpecialistPoolRequest

The request to send to the server.

headers Metadata

The initial metadata to send with the call. This parameter is optional.

deadline System.DateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationToken CancellationToken

An 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 DeleteSpecialistPoolRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
AsyncUnaryCallOperation

The call object.

DeleteSpecialistPoolAsync(DeleteSpecialistPoolRequest, Metadata, DateTime?, CancellationToken)

public virtual AsyncUnaryCall<Operation> DeleteSpecialistPoolAsync(DeleteSpecialistPoolRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Deletes a SpecialistPool as well as all Specialists in the pool.

Parameters
Name Description
request DeleteSpecialistPoolRequest

The request to send to the server.

headers Metadata

The initial metadata to send with the call. This parameter is optional.

deadline System.DateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationToken CancellationToken

An optional token for canceling the call.

Returns
Type Description
AsyncUnaryCallOperation

The call object.

GetSpecialistPool(GetSpecialistPoolRequest, CallOptions)

public virtual SpecialistPool GetSpecialistPool(GetSpecialistPoolRequest request, CallOptions options)

Gets a SpecialistPool.

Parameters
Name Description
request GetSpecialistPoolRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
SpecialistPool

The response received from the server.

GetSpecialistPool(GetSpecialistPoolRequest, Metadata, DateTime?, CancellationToken)

public virtual SpecialistPool GetSpecialistPool(GetSpecialistPoolRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Gets a SpecialistPool.

Parameters
Name Description
request GetSpecialistPoolRequest

The request to send to the server.

headers Metadata

The initial metadata to send with the call. This parameter is optional.

deadline System.DateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationToken CancellationToken

An 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 GetSpecialistPoolRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
AsyncUnaryCallSpecialistPool

The call object.

GetSpecialistPoolAsync(GetSpecialistPoolRequest, Metadata, DateTime?, CancellationToken)

public virtual AsyncUnaryCall<SpecialistPool> GetSpecialistPoolAsync(GetSpecialistPoolRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Gets a SpecialistPool.

Parameters
Name Description
request GetSpecialistPoolRequest

The request to send to the server.

headers Metadata

The initial metadata to send with the call. This parameter is optional.

deadline System.DateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationToken CancellationToken

An optional token for canceling the call.

Returns
Type Description
AsyncUnaryCallSpecialistPool

The call object.

ListSpecialistPools(ListSpecialistPoolsRequest, CallOptions)

public virtual ListSpecialistPoolsResponse ListSpecialistPools(ListSpecialistPoolsRequest request, CallOptions options)

Lists SpecialistPools in a Location.

Parameters
Name Description
request ListSpecialistPoolsRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
ListSpecialistPoolsResponse

The response received from the server.

ListSpecialistPools(ListSpecialistPoolsRequest, Metadata, DateTime?, CancellationToken)

public virtual ListSpecialistPoolsResponse ListSpecialistPools(ListSpecialistPoolsRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Lists SpecialistPools in a Location.

Parameters
Name Description
request ListSpecialistPoolsRequest

The request to send to the server.

headers Metadata

The initial metadata to send with the call. This parameter is optional.

deadline System.DateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationToken CancellationToken

An 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 ListSpecialistPoolsRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
AsyncUnaryCallListSpecialistPoolsResponse

The call object.

ListSpecialistPoolsAsync(ListSpecialistPoolsRequest, Metadata, DateTime?, CancellationToken)

public virtual AsyncUnaryCall<ListSpecialistPoolsResponse> ListSpecialistPoolsAsync(ListSpecialistPoolsRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Lists SpecialistPools in a Location.

Parameters
Name Description
request ListSpecialistPoolsRequest

The request to send to the server.

headers Metadata

The initial metadata to send with the call. This parameter is optional.

deadline System.DateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationToken CancellationToken

An optional token for canceling the call.

Returns
Type Description
AsyncUnaryCallListSpecialistPoolsResponse

The call object.

NewInstance(ClientBaseConfiguration)

protected override SpecialistPoolService.SpecialistPoolServiceClient NewInstance(ClientBase.ClientBaseConfiguration configuration)

Creates a new instance of client from given ClientBaseConfiguration.

Parameter
Name Description
configuration ClientBaseClientBaseConfiguration
Returns
Type Description
SpecialistPoolServiceSpecialistPoolServiceClient
Overrides
Grpc.Core.ClientBase<Google.Cloud.AIPlatform.V1.SpecialistPoolService.SpecialistPoolServiceClient>.NewInstance(Grpc.Core.ClientBase.ClientBaseConfiguration)

UpdateSpecialistPool(UpdateSpecialistPoolRequest, CallOptions)

public virtual Operation UpdateSpecialistPool(UpdateSpecialistPoolRequest request, CallOptions options)

Updates a SpecialistPool.

Parameters
Name Description
request UpdateSpecialistPoolRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
Operation

The response received from the server.

UpdateSpecialistPool(UpdateSpecialistPoolRequest, Metadata, DateTime?, CancellationToken)

public virtual Operation UpdateSpecialistPool(UpdateSpecialistPoolRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Updates a SpecialistPool.

Parameters
Name Description
request UpdateSpecialistPoolRequest

The request to send to the server.

headers Metadata

The initial metadata to send with the call. This parameter is optional.

deadline System.DateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationToken CancellationToken

An 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 UpdateSpecialistPoolRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
AsyncUnaryCallOperation

The call object.

UpdateSpecialistPoolAsync(UpdateSpecialistPoolRequest, Metadata, DateTime?, CancellationToken)

public virtual AsyncUnaryCall<Operation> UpdateSpecialistPoolAsync(UpdateSpecialistPoolRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Updates a SpecialistPool.

Parameters
Name Description
request UpdateSpecialistPoolRequest

The request to send to the server.

headers Metadata

The initial metadata to send with the call. This parameter is optional.

deadline System.DateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationToken CancellationToken

An optional token for canceling the call.

Returns
Type Description
AsyncUnaryCallOperation

The call object.