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

public class 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 > ClientBase<SpecialistPoolService.SpecialistPoolServiceClient> > 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
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(ClientBase.ClientBaseConfiguration)

protected SpecialistPoolServiceClient(ClientBase.ClientBaseConfiguration configuration)

Protected constructor to allow creation of configured clients.

Parameter
NameDescription
configurationClientBase.ClientBaseConfiguration

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
IAMPolicy.IAMPolicyClient

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
Locations.LocationsClient

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
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
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, Nullable<DateTime>, CancellationToken)

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

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.

deadlineNullable<DateTime>

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
AsyncUnaryCall<Operation>

The call object.

CreateSpecialistPoolAsync(CreateSpecialistPoolRequest, Metadata, Nullable<DateTime>, CancellationToken)

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

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.

deadlineNullable<DateTime>

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
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
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, Nullable<DateTime>, CancellationToken)

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

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.

deadlineNullable<DateTime>

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
AsyncUnaryCall<Operation>

The call object.

DeleteSpecialistPoolAsync(DeleteSpecialistPoolRequest, Metadata, Nullable<DateTime>, CancellationToken)

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

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.

deadlineNullable<DateTime>

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
AsyncUnaryCall<Operation>

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, Nullable<DateTime>, CancellationToken)

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

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.

deadlineNullable<DateTime>

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
AsyncUnaryCall<SpecialistPool>

The call object.

GetSpecialistPoolAsync(GetSpecialistPoolRequest, Metadata, Nullable<DateTime>, CancellationToken)

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

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.

deadlineNullable<DateTime>

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
AsyncUnaryCall<SpecialistPool>

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, Nullable<DateTime>, CancellationToken)

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

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.

deadlineNullable<DateTime>

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.

ListSpecialistPoolsAsync(ListSpecialistPoolsRequest, CallOptions)

public virtual AsyncUnaryCall<ListSpecialistPoolsResponse> ListSpecialistPoolsAsync(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
AsyncUnaryCall<ListSpecialistPoolsResponse>

The call object.

ListSpecialistPoolsAsync(ListSpecialistPoolsRequest, Metadata, Nullable<DateTime>, CancellationToken)

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

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.

deadlineNullable<DateTime>

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
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
NameDescription
configurationClientBase.ClientBaseConfiguration
Returns
TypeDescription
SpecialistPoolService.SpecialistPoolServiceClient
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
NameDescription
requestUpdateSpecialistPoolRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
Operation

The response received from the server.

UpdateSpecialistPool(UpdateSpecialistPoolRequest, Metadata, Nullable<DateTime>, CancellationToken)

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

Updates a SpecialistPool.

Parameters
NameDescription
requestUpdateSpecialistPoolRequest

The request to send to the server.

headersMetadata

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

deadlineNullable<DateTime>

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.

UpdateSpecialistPoolAsync(UpdateSpecialistPoolRequest, CallOptions)

public virtual AsyncUnaryCall<Operation> UpdateSpecialistPoolAsync(UpdateSpecialistPoolRequest request, CallOptions options)

Updates a SpecialistPool.

Parameters
NameDescription
requestUpdateSpecialistPoolRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCall<Operation>

The call object.

UpdateSpecialistPoolAsync(UpdateSpecialistPoolRequest, Metadata, Nullable<DateTime>, CancellationToken)

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

Updates a SpecialistPool.

Parameters
NameDescription
requestUpdateSpecialistPoolRequest

The request to send to the server.

headersMetadata

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

deadlineNullable<DateTime>

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
AsyncUnaryCall<Operation>

The call object.