Cloud AI Platform v1 API - Class SpecialistPoolService.SpecialistPoolServiceClient (2.12.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

GoogleCloudGoogle.Cloud.AIPlatformV1

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

The callInvoker to use to make remote calls.

SpecialistPoolServiceClient(ChannelBase)

public SpecialistPoolServiceClient(ChannelBase channel)

Creates a new client for SpecialistPoolService

Parameter
NameDescription
channelChannelBase

The channel to use to make remote calls.

SpecialistPoolServiceClient(ClientBaseConfiguration)

protected SpecialistPoolServiceClient(ClientBase.ClientBaseConfiguration configuration)

Protected constructor to allow creation of configured clients.

Parameter
NameDescription
configurationClientBaseClientBaseConfiguration

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
TypeDescription
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
TypeDescription
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
TypeDescription
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
NameDescription
requestCreateSpecialistPoolRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
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
NameDescription
requestCreateSpecialistPoolRequest

The request to send to the server.

headersMetadata

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

deadlineDateTime

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

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
Operation

The response received from the server.

CreateSpecialistPoolAsync(CreateSpecialistPoolRequest, CallOptions)

public virtual AsyncUnaryCall<Operation> CreateSpecialistPoolAsync(CreateSpecialistPoolRequest request, CallOptions options)

Creates a SpecialistPool.

Parameters
NameDescription
requestCreateSpecialistPoolRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
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
NameDescription
requestCreateSpecialistPoolRequest

The request to send to the server.

headersMetadata

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

deadlineDateTime

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

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
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
NameDescription
requestDeleteSpecialistPoolRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
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
NameDescription
requestDeleteSpecialistPoolRequest

The request to send to the server.

headersMetadata

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

deadlineDateTime

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

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
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
NameDescription
requestDeleteSpecialistPoolRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
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
NameDescription
requestDeleteSpecialistPoolRequest

The request to send to the server.

headersMetadata

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

deadlineDateTime

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

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
AsyncUnaryCallOperation

The call object.

GetSpecialistPool(GetSpecialistPoolRequest, CallOptions)

public virtual SpecialistPool GetSpecialistPool(GetSpecialistPoolRequest request, CallOptions options)

Gets a SpecialistPool.

Parameters
NameDescription
requestGetSpecialistPoolRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
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
NameDescription
requestGetSpecialistPoolRequest

The request to send to the server.

headersMetadata

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

deadlineDateTime

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

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
SpecialistPool

The response received from the server.

GetSpecialistPoolAsync(GetSpecialistPoolRequest, CallOptions)

public virtual AsyncUnaryCall<SpecialistPool> GetSpecialistPoolAsync(GetSpecialistPoolRequest request, CallOptions options)

Gets a SpecialistPool.

Parameters
NameDescription
requestGetSpecialistPoolRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
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
NameDescription
requestGetSpecialistPoolRequest

The request to send to the server.

headersMetadata

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

deadlineDateTime

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

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
AsyncUnaryCallSpecialistPool

The call object.

ListSpecialistPools(ListSpecialistPoolsRequest, CallOptions)

public virtual ListSpecialistPoolsResponse ListSpecialistPools(ListSpecialistPoolsRequest request, CallOptions options)

Lists SpecialistPools in a Location.

Parameters
NameDescription
requestListSpecialistPoolsRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
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
NameDescription
requestListSpecialistPoolsRequest

The request to send to the server.

headersMetadata

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

deadlineDateTime

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

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
ListSpecialistPoolsResponse

The response received from the server.