Cloud AI Platform v1beta1 API - Class DeploymentResourcePoolService.DeploymentResourcePoolServiceClient (1.0.0-beta05)

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

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

Client for DeploymentResourcePoolService

Inheritance

object > ClientBase > ClientBaseDeploymentResourcePoolServiceDeploymentResourcePoolServiceClient > DeploymentResourcePoolService.DeploymentResourcePoolServiceClient

Namespace

Google.Cloud.AIPlatform.V1Beta1

Assembly

Google.Cloud.AIPlatform.V1Beta1.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
Name Description
callInvoker CallInvoker

The callInvoker to use to make remote calls.

DeploymentResourcePoolServiceClient(ChannelBase)

public DeploymentResourcePoolServiceClient(ChannelBase channel)

Creates a new client for DeploymentResourcePoolService

Parameter
Name Description
channel ChannelBase

The channel to use to make remote calls.

DeploymentResourcePoolServiceClient(ClientBaseConfiguration)

protected DeploymentResourcePoolServiceClient(ClientBase.ClientBaseConfiguration configuration)

Protected constructor to allow creation of configured clients.

Parameter
Name Description
configuration ClientBaseClientBaseConfiguration

The client configuration.

Methods

CreateDeploymentResourcePool(CreateDeploymentResourcePoolRequest, CallOptions)

public virtual Operation CreateDeploymentResourcePool(CreateDeploymentResourcePoolRequest request, CallOptions options)

Create a DeploymentResourcePool.

Parameters
Name Description
request CreateDeploymentResourcePoolRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
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
Name Description
request CreateDeploymentResourcePoolRequest

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.

CreateDeploymentResourcePoolAsync(CreateDeploymentResourcePoolRequest, CallOptions)

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

Create a DeploymentResourcePool.

Parameters
Name Description
request CreateDeploymentResourcePoolRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
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
Name Description
request CreateDeploymentResourcePoolRequest

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.

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.

DeleteDeploymentResourcePool(DeleteDeploymentResourcePoolRequest, CallOptions)

public virtual Operation DeleteDeploymentResourcePool(DeleteDeploymentResourcePoolRequest request, CallOptions options)

Delete a DeploymentResourcePool.

Parameters
Name Description
request DeleteDeploymentResourcePoolRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
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
Name Description
request DeleteDeploymentResourcePoolRequest

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.

DeleteDeploymentResourcePoolAsync(DeleteDeploymentResourcePoolRequest, CallOptions)

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

Delete a DeploymentResourcePool.

Parameters
Name Description
request DeleteDeploymentResourcePoolRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
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
Name Description
request DeleteDeploymentResourcePoolRequest

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.

GetDeploymentResourcePool(GetDeploymentResourcePoolRequest, CallOptions)

public virtual DeploymentResourcePool GetDeploymentResourcePool(GetDeploymentResourcePoolRequest request, CallOptions options)

Get a DeploymentResourcePool.

Parameters
Name Description
request GetDeploymentResourcePoolRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
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
Name Description
request GetDeploymentResourcePoolRequest

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
DeploymentResourcePool

The response received from the server.

GetDeploymentResourcePoolAsync(GetDeploymentResourcePoolRequest, CallOptions)

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

Get a DeploymentResourcePool.

Parameters
Name Description
request GetDeploymentResourcePoolRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
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
Name Description
request GetDeploymentResourcePoolRequest

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
AsyncUnaryCallDeploymentResourcePool

The call object.

ListDeploymentResourcePools(ListDeploymentResourcePoolsRequest, CallOptions)

public virtual ListDeploymentResourcePoolsResponse ListDeploymentResourcePools(ListDeploymentResourcePoolsRequest request, CallOptions options)

List DeploymentResourcePools in a location.

Parameters
Name Description
request ListDeploymentResourcePoolsRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
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
Name Description
request ListDeploymentResourcePoolsRequest

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
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
Name Description
request ListDeploymentResourcePoolsRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
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
Name Description
request ListDeploymentResourcePoolsRequest

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
AsyncUnaryCallListDeploymentResourcePoolsResponse

The call object.

NewInstance(ClientBaseConfiguration)

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

Creates a new instance of client from given ClientBaseConfiguration.

Parameter
Name Description
configuration ClientBaseClientBaseConfiguration
Returns
Type Description
DeploymentResourcePoolServiceDeploymentResourcePoolServiceClient
Overrides
Grpc.Core.ClientBase<Google.Cloud.AIPlatform.V1Beta1.DeploymentResourcePoolService.DeploymentResourcePoolServiceClient>.NewInstance(Grpc.Core.ClientBase.ClientBaseConfiguration)

QueryDeployedModels(QueryDeployedModelsRequest, CallOptions)

public virtual QueryDeployedModelsResponse QueryDeployedModels(QueryDeployedModelsRequest request, CallOptions options)

List DeployedModels that have been deployed on this DeploymentResourcePool.

Parameters
Name Description
request QueryDeployedModelsRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
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
Name Description
request QueryDeployedModelsRequest

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
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
Name Description
request QueryDeployedModelsRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
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
Name Description
request QueryDeployedModelsRequest

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
AsyncUnaryCallQueryDeployedModelsResponse

The call object.

UpdateDeploymentResourcePool(UpdateDeploymentResourcePoolRequest, CallOptions)

public virtual Operation UpdateDeploymentResourcePool(UpdateDeploymentResourcePoolRequest request, CallOptions options)

Update a DeploymentResourcePool.

Parameters
Name Description
request UpdateDeploymentResourcePoolRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
Operation

The response received from the server.

UpdateDeploymentResourcePool(UpdateDeploymentResourcePoolRequest, Metadata, DateTime?, CancellationToken)

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

Update a DeploymentResourcePool.

Parameters
Name Description
request UpdateDeploymentResourcePoolRequest

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.

UpdateDeploymentResourcePoolAsync(UpdateDeploymentResourcePoolRequest, CallOptions)

public virtual AsyncUnaryCall<Operation> UpdateDeploymentResourcePoolAsync(UpdateDeploymentResourcePoolRequest request, CallOptions options)

Update a DeploymentResourcePool.

Parameters
Name Description
request UpdateDeploymentResourcePoolRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
AsyncUnaryCallOperation

The call object.

UpdateDeploymentResourcePoolAsync(UpdateDeploymentResourcePoolRequest, Metadata, DateTime?, CancellationToken)

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

Update a DeploymentResourcePool.

Parameters
Name Description
request UpdateDeploymentResourcePoolRequest

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.