Class EndpointService.EndpointServiceClient (1.6.0)

public class EndpointServiceClient : ClientBase<EndpointService.EndpointServiceClient>

Client for EndpointService

Inheritance

Object > ClientBase > ClientBase<EndpointService.EndpointServiceClient> > EndpointService.EndpointServiceClient

Namespace

Google.Cloud.AIPlatform.V1

Assembly

Google.Cloud.AIPlatform.V1.dll

Constructors

EndpointServiceClient()

protected EndpointServiceClient()

Protected parameterless constructor to allow creation of test doubles.

EndpointServiceClient(CallInvoker)

public EndpointServiceClient(CallInvoker callInvoker)

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

Parameter
NameDescription
callInvokerCallInvoker

The callInvoker to use to make remote calls.

EndpointServiceClient(ChannelBase)

public EndpointServiceClient(ChannelBase channel)

Creates a new client for EndpointService

Parameter
NameDescription
channelChannelBase

The channel to use to make remote calls.

EndpointServiceClient(ClientBase.ClientBaseConfiguration)

protected EndpointServiceClient(ClientBase.ClientBaseConfiguration configuration)

Protected constructor to allow creation of configured clients.

Parameter
NameDescription
configurationClientBase.ClientBaseConfiguration

The client configuration.

Methods

CreateEndpoint(CreateEndpointRequest, CallOptions)

public virtual Operation CreateEndpoint(CreateEndpointRequest request, CallOptions options)

Creates an Endpoint.

Parameters
NameDescription
requestCreateEndpointRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
Operation

The response received from the server.

CreateEndpoint(CreateEndpointRequest, Metadata, Nullable<DateTime>, CancellationToken)

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

Creates an Endpoint.

Parameters
NameDescription
requestCreateEndpointRequest

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.

CreateEndpointAsync(CreateEndpointRequest, CallOptions)

public virtual AsyncUnaryCall<Operation> CreateEndpointAsync(CreateEndpointRequest request, CallOptions options)

Creates an Endpoint.

Parameters
NameDescription
requestCreateEndpointRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCall<Operation>

The call object.

CreateEndpointAsync(CreateEndpointRequest, Metadata, Nullable<DateTime>, CancellationToken)

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

Creates an Endpoint.

Parameters
NameDescription
requestCreateEndpointRequest

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.

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.

DeleteEndpoint(DeleteEndpointRequest, CallOptions)

public virtual Operation DeleteEndpoint(DeleteEndpointRequest request, CallOptions options)

Deletes an Endpoint.

Parameters
NameDescription
requestDeleteEndpointRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
Operation

The response received from the server.

DeleteEndpoint(DeleteEndpointRequest, Metadata, Nullable<DateTime>, CancellationToken)

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

Deletes an Endpoint.

Parameters
NameDescription
requestDeleteEndpointRequest

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.

DeleteEndpointAsync(DeleteEndpointRequest, CallOptions)

public virtual AsyncUnaryCall<Operation> DeleteEndpointAsync(DeleteEndpointRequest request, CallOptions options)

Deletes an Endpoint.

Parameters
NameDescription
requestDeleteEndpointRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCall<Operation>

The call object.

DeleteEndpointAsync(DeleteEndpointRequest, Metadata, Nullable<DateTime>, CancellationToken)

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

Deletes an Endpoint.

Parameters
NameDescription
requestDeleteEndpointRequest

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.

DeployModel(DeployModelRequest, CallOptions)

public virtual Operation DeployModel(DeployModelRequest request, CallOptions options)

Deploys a Model into this Endpoint, creating a DeployedModel within it.

Parameters
NameDescription
requestDeployModelRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
Operation

The response received from the server.

DeployModel(DeployModelRequest, Metadata, Nullable<DateTime>, CancellationToken)

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

Deploys a Model into this Endpoint, creating a DeployedModel within it.

Parameters
NameDescription
requestDeployModelRequest

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.

DeployModelAsync(DeployModelRequest, CallOptions)

public virtual AsyncUnaryCall<Operation> DeployModelAsync(DeployModelRequest request, CallOptions options)

Deploys a Model into this Endpoint, creating a DeployedModel within it.

Parameters
NameDescription
requestDeployModelRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCall<Operation>

The call object.

DeployModelAsync(DeployModelRequest, Metadata, Nullable<DateTime>, CancellationToken)

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

Deploys a Model into this Endpoint, creating a DeployedModel within it.

Parameters
NameDescription
requestDeployModelRequest

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.

GetEndpoint(GetEndpointRequest, CallOptions)

public virtual Endpoint GetEndpoint(GetEndpointRequest request, CallOptions options)

Gets an Endpoint.

Parameters
NameDescription
requestGetEndpointRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
Endpoint

The response received from the server.

GetEndpoint(GetEndpointRequest, Metadata, Nullable<DateTime>, CancellationToken)

public virtual Endpoint GetEndpoint(GetEndpointRequest request, Metadata headers = null, DateTime? deadline = default(DateTime? ), CancellationToken cancellationToken = default(CancellationToken))

Gets an Endpoint.

Parameters
NameDescription
requestGetEndpointRequest

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
Endpoint

The response received from the server.

GetEndpointAsync(GetEndpointRequest, CallOptions)

public virtual AsyncUnaryCall<Endpoint> GetEndpointAsync(GetEndpointRequest request, CallOptions options)

Gets an Endpoint.

Parameters
NameDescription
requestGetEndpointRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCall<Endpoint>

The call object.

GetEndpointAsync(GetEndpointRequest, Metadata, Nullable<DateTime>, CancellationToken)

public virtual AsyncUnaryCall<Endpoint> GetEndpointAsync(GetEndpointRequest request, Metadata headers = null, DateTime? deadline = default(DateTime? ), CancellationToken cancellationToken = default(CancellationToken))

Gets an Endpoint.

Parameters
NameDescription
requestGetEndpointRequest

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<Endpoint>

The call object.

ListEndpoints(ListEndpointsRequest, CallOptions)

public virtual ListEndpointsResponse ListEndpoints(ListEndpointsRequest request, CallOptions options)

Lists Endpoints in a Location.

Parameters
NameDescription
requestListEndpointsRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
ListEndpointsResponse

The response received from the server.

ListEndpoints(ListEndpointsRequest, Metadata, Nullable<DateTime>, CancellationToken)

public virtual ListEndpointsResponse ListEndpoints(ListEndpointsRequest request, Metadata headers = null, DateTime? deadline = default(DateTime? ), CancellationToken cancellationToken = default(CancellationToken))

Lists Endpoints in a Location.

Parameters
NameDescription
requestListEndpointsRequest

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
ListEndpointsResponse

The response received from the server.

ListEndpointsAsync(ListEndpointsRequest, CallOptions)

public virtual AsyncUnaryCall<ListEndpointsResponse> ListEndpointsAsync(ListEndpointsRequest request, CallOptions options)

Lists Endpoints in a Location.

Parameters
NameDescription
requestListEndpointsRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCall<ListEndpointsResponse>

The call object.

ListEndpointsAsync(ListEndpointsRequest, Metadata, Nullable<DateTime>, CancellationToken)

public virtual AsyncUnaryCall<ListEndpointsResponse> ListEndpointsAsync(ListEndpointsRequest request, Metadata headers = null, DateTime? deadline = default(DateTime? ), CancellationToken cancellationToken = default(CancellationToken))

Lists Endpoints in a Location.

Parameters
NameDescription
requestListEndpointsRequest

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<ListEndpointsResponse>

The call object.

NewInstance(ClientBase.ClientBaseConfiguration)

protected override EndpointService.EndpointServiceClient NewInstance(ClientBase.ClientBaseConfiguration configuration)

Creates a new instance of client from given ClientBaseConfiguration.

Parameter
NameDescription
configurationClientBase.ClientBaseConfiguration
Returns
TypeDescription
EndpointService.EndpointServiceClient
Overrides
Grpc.Core.ClientBase<Google.Cloud.AIPlatform.V1.EndpointService.EndpointServiceClient>.NewInstance(Grpc.Core.ClientBase.ClientBaseConfiguration)

UndeployModel(UndeployModelRequest, CallOptions)

public virtual Operation UndeployModel(UndeployModelRequest request, CallOptions options)

Undeploys a Model from an Endpoint, removing a DeployedModel from it, and freeing all resources it's using.

Parameters
NameDescription
requestUndeployModelRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
Operation

The response received from the server.

UndeployModel(UndeployModelRequest, Metadata, Nullable<DateTime>, CancellationToken)

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

Undeploys a Model from an Endpoint, removing a DeployedModel from it, and freeing all resources it's using.

Parameters
NameDescription
requestUndeployModelRequest

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.

UndeployModelAsync(UndeployModelRequest, CallOptions)

public virtual AsyncUnaryCall<Operation> UndeployModelAsync(UndeployModelRequest request, CallOptions options)

Undeploys a Model from an Endpoint, removing a DeployedModel from it, and freeing all resources it's using.

Parameters
NameDescription
requestUndeployModelRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCall<Operation>

The call object.

UndeployModelAsync(UndeployModelRequest, Metadata, Nullable<DateTime>, CancellationToken)

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

Undeploys a Model from an Endpoint, removing a DeployedModel from it, and freeing all resources it's using.

Parameters
NameDescription
requestUndeployModelRequest

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.

UpdateEndpoint(UpdateEndpointRequest, CallOptions)

public virtual Endpoint UpdateEndpoint(UpdateEndpointRequest request, CallOptions options)

Updates an Endpoint.

Parameters
NameDescription
requestUpdateEndpointRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
Endpoint

The response received from the server.

UpdateEndpoint(UpdateEndpointRequest, Metadata, Nullable<DateTime>, CancellationToken)

public virtual Endpoint UpdateEndpoint(UpdateEndpointRequest request, Metadata headers = null, DateTime? deadline = default(DateTime? ), CancellationToken cancellationToken = default(CancellationToken))

Updates an Endpoint.

Parameters
NameDescription
requestUpdateEndpointRequest

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
Endpoint

The response received from the server.

UpdateEndpointAsync(UpdateEndpointRequest, CallOptions)

public virtual AsyncUnaryCall<Endpoint> UpdateEndpointAsync(UpdateEndpointRequest request, CallOptions options)

Updates an Endpoint.

Parameters
NameDescription
requestUpdateEndpointRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCall<Endpoint>

The call object.

UpdateEndpointAsync(UpdateEndpointRequest, Metadata, Nullable<DateTime>, CancellationToken)

public virtual AsyncUnaryCall<Endpoint> UpdateEndpointAsync(UpdateEndpointRequest request, Metadata headers = null, DateTime? deadline = default(DateTime? ), CancellationToken cancellationToken = default(CancellationToken))

Updates an Endpoint.

Parameters
NameDescription
requestUpdateEndpointRequest

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<Endpoint>

The call object.