Reference documentation and code samples for the Google Cloud Discovery Engine V1beta Client class ConverseConversationResponse.
Response message for ConversationalSearchService.ConverseConversation method.
Generated from protobuf message google.cloud.discoveryengine.v1beta.ConverseConversationResponse
Namespace
Google \ Cloud \ DiscoveryEngine \ V1betaMethods
__construct
Constructor.
Parameters | |
---|---|
Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ reply |
Google\Cloud\DiscoveryEngine\V1beta\Reply
Answer to the current query. |
↳ conversation |
Google\Cloud\DiscoveryEngine\V1beta\Conversation
Updated conversation including the answer. |
↳ related_questions |
array
Suggested related questions. |
↳ search_results |
array<Google\Cloud\DiscoveryEngine\V1beta\SearchResponse\SearchResult>
Search Results. |
getReply
Answer to the current query.
Returns | |
---|---|
Type | Description |
Google\Cloud\DiscoveryEngine\V1beta\Reply|null |
hasReply
clearReply
setReply
Answer to the current query.
Parameter | |
---|---|
Name | Description |
var |
Google\Cloud\DiscoveryEngine\V1beta\Reply
|
Returns | |
---|---|
Type | Description |
$this |
getConversation
Updated conversation including the answer.
Returns | |
---|---|
Type | Description |
Google\Cloud\DiscoveryEngine\V1beta\Conversation|null |
hasConversation
clearConversation
setConversation
Updated conversation including the answer.
Parameter | |
---|---|
Name | Description |
var |
Google\Cloud\DiscoveryEngine\V1beta\Conversation
|
Returns | |
---|---|
Type | Description |
$this |
getRelatedQuestions
Suggested related questions.
Returns | |
---|---|
Type | Description |
Google\Protobuf\Internal\RepeatedField |
setRelatedQuestions
Suggested related questions.
Parameter | |
---|---|
Name | Description |
var |
string[]
|
Returns | |
---|---|
Type | Description |
$this |
getSearchResults
Search Results.
Returns | |
---|---|
Type | Description |
Google\Protobuf\Internal\RepeatedField |
setSearchResults
Search Results.
Parameter | |
---|---|
Name | Description |
var |
array<Google\Cloud\DiscoveryEngine\V1beta\SearchResponse\SearchResult>
|
Returns | |
---|---|
Type | Description |
$this |