Google Cloud Discovery Engine V1 Client - Class Reply (1.7.0)

Reference documentation and code samples for the Google Cloud Discovery Engine V1 Client class Reply.

One part of the multi-part response of the assist call.

Generated from protobuf message google.cloud.discoveryengine.v1.AssistAnswer.Reply

Namespace

Google \ Cloud \ DiscoveryEngine \ V1 \ AssistAnswer

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ grounded_content Google\Cloud\DiscoveryEngine\V1\AssistantGroundedContent

Possibly grounded response text or media from the assistant.

getGroundedContent

Possibly grounded response text or media from the assistant.

Returns
Type Description
Google\Cloud\DiscoveryEngine\V1\AssistantGroundedContent|null

hasGroundedContent

setGroundedContent

Possibly grounded response text or media from the assistant.

Parameter
Name Description
var Google\Cloud\DiscoveryEngine\V1\AssistantGroundedContent
Returns
Type Description
$this

getReply

Returns
Type Description
string