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
Text reply. |
↳ references |
array<Google\Cloud\DiscoveryEngine\V1beta\Reply\Reference>
References in the reply. |
getReply
Text reply.
Returns | |
---|---|
Type | Description |
string |
setReply
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 |