Google Cloud Discovery Engine V1beta Client - Class Reply (0.8.0)

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 \ V1beta

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ reply string

DEPRECATED: use summary instead. Text reply.

↳ 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
TypeDescription
string

setReply

DEPRECATED: use summary instead.

Text reply.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getReferences

References in the reply.

Returns
TypeDescription
Google\Protobuf\Internal\RepeatedField

setReferences

References in the reply.

Parameter
NameDescription
var array<Google\Cloud\DiscoveryEngine\V1beta\Reply\Reference>
Returns
TypeDescription
$this

getSummary

Summary based on search results.

Returns
TypeDescription
Google\Cloud\DiscoveryEngine\V1beta\SearchResponse\Summary|null

hasSummary

clearSummary

setSummary

Summary based on search results.

Parameter
NameDescription
var Google\Cloud\DiscoveryEngine\V1beta\SearchResponse\Summary
Returns
TypeDescription
$this