Google Cloud Ai Platform V1 Client - Class QueryReasoningEngineRequest (1.22.0)

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

Request message for ReasoningEngineExecutionService.Query .

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

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 query. It is optional and defaults to "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

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
Returns
Type
Description
$this

getClassMethod

Optional. Class method to be used for the query.

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

Returns
Type
Description
string

setClassMethod

Optional. Class method to be used for the query.

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

Parameter
Name
Description
var
string
Returns
Type
Description
$this
Design a Mobile Site
View Site in Mobile | Classic
Share by: