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

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

Defines a reply message to user.

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

Namespace

Google \ Cloud \ DiscoveryEngine \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ summary Google\Cloud\DiscoveryEngine\V1\SearchResponse\Summary

Summary based on search results.

getSummary

Summary based on search results.

Returns
Type Description
Google\Cloud\DiscoveryEngine\V1\SearchResponse\Summary|null

hasSummary

clearSummary

setSummary

Summary based on search results.

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