Cloud AI Platform v1 API - Class DeploymentResourcePoolService.DeploymentResourcePoolServiceClient (2.26.0)

public class DeploymentResourcePoolService.DeploymentResourcePoolServiceClient : ClientBase<DeploymentResourcePoolService.DeploymentResourcePoolServiceClient>

Reference documentation and code samples for the Cloud AI Platform v1 API class DeploymentResourcePoolService.DeploymentResourcePoolServiceClient.

Client for DeploymentResourcePoolService

Inheritance

object > ClientBase > ClientBaseDeploymentResourcePoolServiceDeploymentResourcePoolServiceClient > DeploymentResourcePoolService.DeploymentResourcePoolServiceClient

Namespace

Google.Cloud.AIPlatform.V1

Assembly

Google.Cloud.AIPlatform.V1.dll

Constructors

DeploymentResourcePoolServiceClient()

protected DeploymentResourcePoolServiceClient()

Protected parameterless constructor to allow creation of test doubles.

DeploymentResourcePoolServiceClient(CallInvoker)

public DeploymentResourcePoolServiceClient(CallInvoker callInvoker)

Creates a new client for DeploymentResourcePoolService that uses a custom CallInvoker.

Parameter
NameDescription
callInvokerCallInvoker

The callInvoker to use to make remote calls.

DeploymentResourcePoolServiceClient(ChannelBase)

public DeploymentResourcePoolServiceClient(ChannelBase channel)

Creates a new client for DeploymentResourcePoolService

Parameter
NameDescription
channelChannelBase

The channel to use to make remote calls.

DeploymentResourcePoolServiceClient(ClientBaseConfiguration)

protected DeploymentResourcePoolServiceClient(ClientBase.ClientBaseConfiguration configuration)

Protected constructor to allow creation of configured clients.

Parameter
NameDescription
configurationClientBaseClientBaseConfiguration

The client configuration.

Methods

CreateDeploymentResourcePool(CreateDeploymentResourcePoolRequest, CallOptions)

public virtual Operation CreateDeploymentResourcePool(CreateDeploymentResourcePoolRequest request, CallOptions options)

Create a DeploymentResourcePool.

Parameters
NameDescription
requestCreateDeploymentResourcePoolRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
Operation

The response received from the server.

CreateDeploymentResourcePool(CreateDeploymentResourcePoolRequest, Metadata, DateTime?, CancellationToken)

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

Create a DeploymentResourcePool.

Parameters
NameDescription
requestCreateDeploymentResourcePoolRequest

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.

CreateDeploymentResourcePoolAsync(CreateDeploymentResourcePoolRequest, CallOptions)

public virtual AsyncUnaryCall<Operation> CreateDeploymentResourcePoolAsync(CreateDeploymentResourcePoolRequest request, CallOptions options)

Create a DeploymentResourcePool.

Parameters
NameDescription
requestCreateDeploymentResourcePoolRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCallOperation

The call object.

CreateDeploymentResourcePoolAsync(CreateDeploymentResourcePoolRequest, Metadata, DateTime?, CancellationToken)

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

Create a DeploymentResourcePool.

Parameters
NameDescription
requestCreateDeploymentResourcePoolRequest

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.

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.

DeleteDeploymentResourcePool(DeleteDeploymentResourcePoolRequest, CallOptions)

public virtual Operation DeleteDeploymentResourcePool(DeleteDeploymentResourcePoolRequest request, CallOptions options)

Delete a DeploymentResourcePool.

Parameters
NameDescription
requestDeleteDeploymentResourcePoolRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
Operation

The response received from the server.

DeleteDeploymentResourcePool(DeleteDeploymentResourcePoolRequest, Metadata, DateTime?, CancellationToken)

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

Delete a DeploymentResourcePool.

Parameters
NameDescription
requestDeleteDeploymentResourcePoolRequest

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.

DeleteDeploymentResourcePoolAsync(DeleteDeploymentResourcePoolRequest, CallOptions)

public virtual AsyncUnaryCall<Operation> DeleteDeploymentResourcePoolAsync(DeleteDeploymentResourcePoolRequest request, CallOptions options)

Delete a DeploymentResourcePool.

Parameters
NameDescription
requestDeleteDeploymentResourcePoolRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCallOperation

The call object.

DeleteDeploymentResourcePoolAsync(DeleteDeploymentResourcePoolRequest, Metadata, DateTime?, CancellationToken)

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

Delete a DeploymentResourcePool.

Parameters
NameDescription
requestDeleteDeploymentResourcePoolRequest

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.

GetDeploymentResourcePool(GetDeploymentResourcePoolRequest, CallOptions)

public virtual DeploymentResourcePool GetDeploymentResourcePool(GetDeploymentResourcePoolRequest request, CallOptions options)

Get a DeploymentResourcePool.

Parameters
NameDescription
requestGetDeploymentResourcePoolRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
DeploymentResourcePool

The response received from the server.

GetDeploymentResourcePool(GetDeploymentResourcePoolRequest, Metadata, DateTime?, CancellationToken)

public virtual DeploymentResourcePool GetDeploymentResourcePool(GetDeploymentResourcePoolRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Get a DeploymentResourcePool.

Parameters
NameDescription
requestGetDeploymentResourcePoolRequest

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
DeploymentResourcePool

The response received from the server.

GetDeploymentResourcePoolAsync(GetDeploymentResourcePoolRequest, CallOptions)

public virtual AsyncUnaryCall<DeploymentResourcePool> GetDeploymentResourcePoolAsync(GetDeploymentResourcePoolRequest request, CallOptions options)

Get a DeploymentResourcePool.

Parameters
NameDescription
requestGetDeploymentResourcePoolRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCallDeploymentResourcePool

The call object.

GetDeploymentResourcePoolAsync(GetDeploymentResourcePoolRequest, Metadata, DateTime?, CancellationToken)

public virtual AsyncUnaryCall<DeploymentResourcePool> GetDeploymentResourcePoolAsync(GetDeploymentResourcePoolRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Get a DeploymentResourcePool.

Parameters
NameDescription
requestGetDeploymentResourcePoolRequest

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
AsyncUnaryCallDeploymentResourcePool

The call object.

ListDeploymentResourcePools(ListDeploymentResourcePoolsRequest, CallOptions)

public virtual ListDeploymentResourcePoolsResponse ListDeploymentResourcePools(ListDeploymentResourcePoolsRequest request, CallOptions options)

List DeploymentResourcePools in a location.

Parameters
NameDescription
requestListDeploymentResourcePoolsRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
ListDeploymentResourcePoolsResponse

The response received from the server.

ListDeploymentResourcePools(ListDeploymentResourcePoolsRequest, Metadata, DateTime?, CancellationToken)

public virtual ListDeploymentResourcePoolsResponse ListDeploymentResourcePools(ListDeploymentResourcePoolsRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

List DeploymentResourcePools in a location.

Parameters
NameDescription
requestListDeploymentResourcePoolsRequest

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
ListDeploymentResourcePoolsResponse

The response received from the server.

ListDeploymentResourcePoolsAsync(ListDeploymentResourcePoolsRequest, CallOptions)

public virtual AsyncUnaryCall<ListDeploymentResourcePoolsResponse> ListDeploymentResourcePoolsAsync(ListDeploymentResourcePoolsRequest request, CallOptions options)

List DeploymentResourcePools in a location.

Parameters
NameDescription
requestListDeploymentResourcePoolsRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCallListDeploymentResourcePoolsResponse

The call object.

ListDeploymentResourcePoolsAsync(ListDeploymentResourcePoolsRequest, Metadata, DateTime?, CancellationToken)

public virtual AsyncUnaryCall<ListDeploymentResourcePoolsResponse> ListDeploymentResourcePoolsAsync(ListDeploymentResourcePoolsRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

List DeploymentResourcePools in a location.

Parameters
NameDescription
requestListDeploymentResourcePoolsRequest

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
AsyncUnaryCallListDeploymentResourcePoolsResponse

The call object.

NewInstance(ClientBaseConfiguration)

protected override DeploymentResourcePoolService.DeploymentResourcePoolServiceClient NewInstance(ClientBase.ClientBaseConfiguration configuration)

Creates a new instance of client from given ClientBaseConfiguration.

Parameter
NameDescription
configurationClientBaseClientBaseConfiguration
Returns
TypeDescription
DeploymentResourcePoolServiceDeploymentResourcePoolServiceClient
Overrides

QueryDeployedModels(QueryDeployedModelsRequest, CallOptions)

public virtual QueryDeployedModelsResponse QueryDeployedModels(QueryDeployedModelsRequest request, CallOptions options)

List DeployedModels that have been deployed on this DeploymentResourcePool.

Parameters
NameDescription
requestQueryDeployedModelsRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
QueryDeployedModelsResponse

The response received from the server.

QueryDeployedModels(QueryDeployedModelsRequest, Metadata, DateTime?, CancellationToken)

public virtual QueryDeployedModelsResponse QueryDeployedModels(QueryDeployedModelsRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

List DeployedModels that have been deployed on this DeploymentResourcePool.

Parameters
NameDescription
requestQueryDeployedModelsRequest

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
QueryDeployedModelsResponse

The response received from the server.

QueryDeployedModelsAsync(QueryDeployedModelsRequest, CallOptions)

public virtual AsyncUnaryCall<QueryDeployedModelsResponse> QueryDeployedModelsAsync(QueryDeployedModelsRequest request, CallOptions options)

List DeployedModels that have been deployed on this DeploymentResourcePool.

Parameters
NameDescription
requestQueryDeployedModelsRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCallQueryDeployedModelsResponse

The call object.

QueryDeployedModelsAsync(QueryDeployedModelsRequest, Metadata, DateTime?, CancellationToken)

public virtual AsyncUnaryCall<QueryDeployedModelsResponse> QueryDeployedModelsAsync(QueryDeployedModelsRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

List DeployedModels that have been deployed on this DeploymentResourcePool.

Parameters
NameDescription
requestQueryDeployedModelsRequest

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
AsyncUnaryCallQueryDeployedModelsResponse

The call object.