Class protos.google.cloud.aiplatform.v1.ReasoningEngineExecutionService (6.8.1)

Represents a ReasoningEngineExecutionService

Inheritance

$protobuf.rpc.Service > protos.google.cloud.aiplatform.v1.ReasoningEngineExecutionService

Package

@google-cloud/aiplatform

Constructors

(constructor)(rpcImpl, requestDelimited, responseDelimited)

constructor(rpcImpl: $protobuf.RPCImpl, requestDelimited?: boolean, responseDelimited?: boolean);

Constructs a new ReasoningEngineExecutionService service.

Parameters
Name Description
rpcImpl $protobuf.RPCImpl

RPC implementation

requestDelimited boolean

Whether requests are length-delimited

responseDelimited boolean

Whether responses are length-delimited

Methods

asyncQueryReasoningEngine(request, callback)

public asyncQueryReasoningEngine(request: google.cloud.aiplatform.v1.IAsyncQueryReasoningEngineRequest, callback: google.cloud.aiplatform.v1.ReasoningEngineExecutionService.AsyncQueryReasoningEngineCallback): void;

Calls AsyncQueryReasoningEngine.

Parameters
Name Description
request IAsyncQueryReasoningEngineRequest

AsyncQueryReasoningEngineRequest message or plain object

callback AsyncQueryReasoningEngineCallback

Node-style callback called with the error, if any, and Operation

Returns
Type Description
void

asyncQueryReasoningEngine(request)

public asyncQueryReasoningEngine(request: google.cloud.aiplatform.v1.IAsyncQueryReasoningEngineRequest): Promise<google.longrunning.Operation>;

Calls AsyncQueryReasoningEngine.

Parameter
Name Description
request IAsyncQueryReasoningEngineRequest

AsyncQueryReasoningEngineRequest message or plain object

Returns
Type Description
Promise<google.longrunning.Operation>

Promise

cancelAsyncQueryReasoningEngine(request, callback)

public cancelAsyncQueryReasoningEngine(request: google.cloud.aiplatform.v1.ICancelAsyncQueryReasoningEngineRequest, callback: google.cloud.aiplatform.v1.ReasoningEngineExecutionService.CancelAsyncQueryReasoningEngineCallback): void;

Calls CancelAsyncQueryReasoningEngine.

Parameters
Name Description
request ICancelAsyncQueryReasoningEngineRequest

CancelAsyncQueryReasoningEngineRequest message or plain object

callback CancelAsyncQueryReasoningEngineCallback

Node-style callback called with the error, if any, and CancelAsyncQueryReasoningEngineResponse

Returns
Type Description
void

cancelAsyncQueryReasoningEngine(request)

public cancelAsyncQueryReasoningEngine(request: google.cloud.aiplatform.v1.ICancelAsyncQueryReasoningEngineRequest): Promise<google.cloud.aiplatform.v1.CancelAsyncQueryReasoningEngineResponse>;

Calls CancelAsyncQueryReasoningEngine.

Parameter
Name Description
request ICancelAsyncQueryReasoningEngineRequest

CancelAsyncQueryReasoningEngineRequest message or plain object

Returns
Type Description
Promise<google.cloud.aiplatform.v1.CancelAsyncQueryReasoningEngineResponse>

Promise

create(rpcImpl, requestDelimited, responseDelimited)

public static create(rpcImpl: $protobuf.RPCImpl, requestDelimited?: boolean, responseDelimited?: boolean): ReasoningEngineExecutionService;

Creates new ReasoningEngineExecutionService service using the specified rpc implementation.

Parameters
Name Description
rpcImpl $protobuf.RPCImpl

RPC implementation

requestDelimited boolean

Whether requests are length-delimited

responseDelimited boolean

Whether responses are length-delimited

Returns
Type Description
ReasoningEngineExecutionService

RPC service. Useful where requests and/or responses are streamed.

queryReasoningEngine(request, callback)

public queryReasoningEngine(request: google.cloud.aiplatform.v1.IQueryReasoningEngineRequest, callback: google.cloud.aiplatform.v1.ReasoningEngineExecutionService.QueryReasoningEngineCallback): void;

Calls QueryReasoningEngine.

Parameters
Name Description
request IQueryReasoningEngineRequest

QueryReasoningEngineRequest message or plain object

callback QueryReasoningEngineCallback

Node-style callback called with the error, if any, and QueryReasoningEngineResponse

Returns
Type Description
void

queryReasoningEngine(request)

public queryReasoningEngine(request: google.cloud.aiplatform.v1.IQueryReasoningEngineRequest): Promise<google.cloud.aiplatform.v1.QueryReasoningEngineResponse>;

Calls QueryReasoningEngine.

Parameter
Name Description
request IQueryReasoningEngineRequest

QueryReasoningEngineRequest message or plain object

Returns
Type Description
Promise<google.cloud.aiplatform.v1.QueryReasoningEngineResponse>

Promise

streamQueryReasoningEngine(request, callback)

public streamQueryReasoningEngine(request: google.cloud.aiplatform.v1.IStreamQueryReasoningEngineRequest, callback: google.cloud.aiplatform.v1.ReasoningEngineExecutionService.StreamQueryReasoningEngineCallback): void;

Calls StreamQueryReasoningEngine.

Parameters
Name Description
request IStreamQueryReasoningEngineRequest

StreamQueryReasoningEngineRequest message or plain object

callback StreamQueryReasoningEngineCallback

Node-style callback called with the error, if any, and HttpBody

Returns
Type Description
void

streamQueryReasoningEngine(request)

public streamQueryReasoningEngine(request: google.cloud.aiplatform.v1.IStreamQueryReasoningEngineRequest): Promise<google.api.HttpBody>;

Calls StreamQueryReasoningEngine.

Parameter
Name Description
request IStreamQueryReasoningEngineRequest

StreamQueryReasoningEngineRequest message or plain object

Returns
Type Description
Promise<google.api.HttpBody>

Promise