Class protos.google.cloud.aiplatform.v1beta1.ReasoningEngineExecutionService (6.4.0)

Represents a ReasoningEngineExecutionService

Inheritance

$protobuf.rpc.Service > protos.google.cloud.aiplatform.v1beta1.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

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.v1beta1.IQueryReasoningEngineRequest, callback: google.cloud.aiplatform.v1beta1.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.v1beta1.IQueryReasoningEngineRequest): Promise<google.cloud.aiplatform.v1beta1.QueryReasoningEngineResponse>;

Calls QueryReasoningEngine.

Parameter
Name Description
request IQueryReasoningEngineRequest

QueryReasoningEngineRequest message or plain object

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

Promise

streamQueryReasoningEngine(request, callback)

public streamQueryReasoningEngine(request: google.cloud.aiplatform.v1beta1.IStreamQueryReasoningEngineRequest, callback: google.cloud.aiplatform.v1beta1.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.v1beta1.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