Reference documentation and code samples for the Google Cloud Discovery Engine V1beta Client class Reply.
Defines a reply message to user.
Generated from protobuf message google.cloud.discoveryengine.v1beta.Reply
Namespace
Google \ Cloud \ DiscoveryEngine \ V1betaMethods
__construct
Constructor.
Parameters | |
---|---|
Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ reply |
string
DEPRECATED: use |
↳ references |
array<Google\Cloud\DiscoveryEngine\V1beta\Reply\Reference>
References in the reply. |
↳ summary |
Google\Cloud\DiscoveryEngine\V1beta\SearchResponse\Summary
Summary based on search results. |
getReply
DEPRECATED: use summary
instead.
Text reply.
Returns | |
---|---|
Type | Description |
string |
setReply
DEPRECATED: use summary
instead.
Text reply.
Parameter | |
---|---|
Name | Description |
var |
string
|
Returns | |
---|---|
Type | Description |
$this |
getReferences
References in the reply.
Returns | |
---|---|
Type | Description |
Google\Protobuf\Internal\RepeatedField |
setReferences
References in the reply.
Parameter | |
---|---|
Name | Description |
var |
array<Google\Cloud\DiscoveryEngine\V1beta\Reply\Reference>
|
Returns | |
---|---|
Type | Description |
$this |
getSummary
Summary based on search results.
Returns | |
---|---|
Type | Description |
Google\Cloud\DiscoveryEngine\V1beta\SearchResponse\Summary|null |
hasSummary
clearSummary
setSummary
Summary based on search results.
Parameter | |
---|---|
Name | Description |
var |
Google\Cloud\DiscoveryEngine\V1beta\SearchResponse\Summary
|
Returns | |
---|---|
Type | Description |
$this |