Cloud AI Platform v1beta1 API - Class ExtensionExecutionService.ExtensionExecutionServiceClient (1.0.0-beta01)

public class ExtensionExecutionService.ExtensionExecutionServiceClient : ClientBase<ExtensionExecutionService.ExtensionExecutionServiceClient>

Reference documentation and code samples for the Cloud AI Platform v1beta1 API class ExtensionExecutionService.ExtensionExecutionServiceClient.

Client for ExtensionExecutionService

Inheritance

object > ClientBase > ClientBaseExtensionExecutionServiceExtensionExecutionServiceClient > ExtensionExecutionService.ExtensionExecutionServiceClient

Namespace

Google.Cloud.AIPlatform.V1Beta1

Assembly

Google.Cloud.AIPlatform.V1Beta1.dll

Constructors

ExtensionExecutionServiceClient()

protected ExtensionExecutionServiceClient()

Protected parameterless constructor to allow creation of test doubles.

ExtensionExecutionServiceClient(CallInvoker)

public ExtensionExecutionServiceClient(CallInvoker callInvoker)

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

Parameter
Name Description
callInvoker CallInvoker

The callInvoker to use to make remote calls.

ExtensionExecutionServiceClient(ChannelBase)

public ExtensionExecutionServiceClient(ChannelBase channel)

Creates a new client for ExtensionExecutionService

Parameter
Name Description
channel ChannelBase

The channel to use to make remote calls.

ExtensionExecutionServiceClient(ClientBaseConfiguration)

protected ExtensionExecutionServiceClient(ClientBase.ClientBaseConfiguration configuration)

Protected constructor to allow creation of configured clients.

Parameter
Name Description
configuration ClientBaseClientBaseConfiguration

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

ExecuteExtension(ExecuteExtensionRequest, CallOptions)

public virtual ExecuteExtensionResponse ExecuteExtension(ExecuteExtensionRequest request, CallOptions options)

Executes the request against a given extension.

Parameters
Name Description
request ExecuteExtensionRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
ExecuteExtensionResponse

The response received from the server.

ExecuteExtension(ExecuteExtensionRequest, Metadata, DateTime?, CancellationToken)

public virtual ExecuteExtensionResponse ExecuteExtension(ExecuteExtensionRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Executes the request against a given extension.

Parameters
Name Description
request ExecuteExtensionRequest

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
ExecuteExtensionResponse

The response received from the server.

ExecuteExtensionAsync(ExecuteExtensionRequest, CallOptions)

public virtual AsyncUnaryCall<ExecuteExtensionResponse> ExecuteExtensionAsync(ExecuteExtensionRequest request, CallOptions options)

Executes the request against a given extension.

Parameters
Name Description
request ExecuteExtensionRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
AsyncUnaryCallExecuteExtensionResponse

The call object.

ExecuteExtensionAsync(ExecuteExtensionRequest, Metadata, DateTime?, CancellationToken)

public virtual AsyncUnaryCall<ExecuteExtensionResponse> ExecuteExtensionAsync(ExecuteExtensionRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Executes the request against a given extension.

Parameters
Name Description
request ExecuteExtensionRequest

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
AsyncUnaryCallExecuteExtensionResponse

The call object.

NewInstance(ClientBaseConfiguration)

protected override ExtensionExecutionService.ExtensionExecutionServiceClient NewInstance(ClientBase.ClientBaseConfiguration configuration)

Creates a new instance of client from given ClientBaseConfiguration.

Parameter
Name Description
configuration ClientBaseClientBaseConfiguration
Returns
Type Description
ExtensionExecutionServiceExtensionExecutionServiceClient
Overrides
Grpc.Core.ClientBase<Google.Cloud.AIPlatform.V1Beta1.ExtensionExecutionService.ExtensionExecutionServiceClient>.NewInstance(Grpc.Core.ClientBase.ClientBaseConfiguration)

QueryExtension(QueryExtensionRequest, CallOptions)

public virtual QueryExtensionResponse QueryExtension(QueryExtensionRequest request, CallOptions options)

Queries an extension with a default controller.

Parameters
Name Description
request QueryExtensionRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
QueryExtensionResponse

The response received from the server.

QueryExtension(QueryExtensionRequest, Metadata, DateTime?, CancellationToken)

public virtual QueryExtensionResponse QueryExtension(QueryExtensionRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Queries an extension with a default controller.

Parameters
Name Description
request QueryExtensionRequest

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
QueryExtensionResponse

The response received from the server.

QueryExtensionAsync(QueryExtensionRequest, CallOptions)

public virtual AsyncUnaryCall<QueryExtensionResponse> QueryExtensionAsync(QueryExtensionRequest request, CallOptions options)

Queries an extension with a default controller.

Parameters
Name Description
request QueryExtensionRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
AsyncUnaryCallQueryExtensionResponse

The call object.

QueryExtensionAsync(QueryExtensionRequest, Metadata, DateTime?, CancellationToken)

public virtual AsyncUnaryCall<QueryExtensionResponse> QueryExtensionAsync(QueryExtensionRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Queries an extension with a default controller.

Parameters
Name Description
request QueryExtensionRequest

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
AsyncUnaryCallQueryExtensionResponse

The call object.