Google Cloud Discovery Engine V1 Client - Class ConverseConversationResponse (1.3.1)

Reference documentation and code samples for the Google Cloud Discovery Engine V1 Client class ConverseConversationResponse.

Response message for ConversationalSearchService.ConverseConversation method.

Generated from protobuf message google.cloud.discoveryengine.v1.ConverseConversationResponse

Namespace

Google \ Cloud \ DiscoveryEngine \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ reply Reply

Answer to the current query.

↳ conversation Conversation

Updated conversation including the answer.

↳ search_results array<SearchResponse\SearchResult>

Search Results.

getReply

Answer to the current query.

Returns
Type Description
Reply|null

hasReply

clearReply

setReply

Answer to the current query.

Parameter
Name Description
var Reply
Returns
Type Description
$this

getConversation

Updated conversation including the answer.

Returns
Type Description
Conversation|null

hasConversation

clearConversation

setConversation

Updated conversation including the answer.

Parameter
Name Description
var Conversation
Returns
Type Description
$this

getSearchResults

Search Results.

Returns
Type Description
Google\Protobuf\Internal\RepeatedField

setSearchResults

Search Results.

Parameter
Name Description
var array<SearchResponse\SearchResult>
Returns
Type Description
$this