Google Cloud Discovery Engine V1beta Client - Class Reply (0.6.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

Text reply.

↳ references array<Google\Cloud\DiscoveryEngine\V1beta\Reply\Reference>

References in the reply.

getReply

Text reply.

Returns
TypeDescription
string

setReply

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