Google Cloud Ai Platform V1 Client - Class StreamQueryReasoningEngineRequest (1.15.0)

Reference documentation and code samples for the Google Cloud Ai Platform V1 Client class StreamQueryReasoningEngineRequest.

Request message for ReasoningEngineExecutionService.StreamQuery.

Generated from protobuf message google.cloud.aiplatform.v1.StreamQueryReasoningEngineRequest

Namespace

Google \ Cloud \ AIPlatform \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ name string

Required. The name of the ReasoningEngine resource to use. Format: projects/{project}/locations/{location}/reasoningEngines/{reasoning_engine}

↳ input Google\Protobuf\Struct

Optional. Input content provided by users in JSON object format. Examples include text query, function calling parameters, media bytes, etc.

↳ class_method string

Optional. Class method to be used for the stream query. It is optional and defaults to "stream_query" if unspecified.

getName

Required. The name of the ReasoningEngine resource to use.

Format: projects/{project}/locations/{location}/reasoningEngines/{reasoning_engine}

Returns
Type Description
string

setName

Required. The name of the ReasoningEngine resource to use.

Format: projects/{project}/locations/{location}/reasoningEngines/{reasoning_engine}

Parameter
Name Description
var string
Returns
Type Description
$this

getInput

Optional. Input content provided by users in JSON object format. Examples include text query, function calling parameters, media bytes, etc.

Returns
Type Description
Google\Protobuf\Struct|null

hasInput

clearInput

setInput

Optional. Input content provided by users in JSON object format. Examples include text query, function calling parameters, media bytes, etc.

Parameter
Name Description
var Google\Protobuf\Struct
Returns
Type Description
$this

getClassMethod

Optional. Class method to be used for the stream query.

It is optional and defaults to "stream_query" if unspecified.

Returns
Type Description
string

setClassMethod

Optional. Class method to be used for the stream query.

It is optional and defaults to "stream_query" if unspecified.

Parameter
Name Description
var string
Returns
Type Description
$this