Reference documentation and code samples for the Google Cloud Discovery Engine V1 Client class Summary.
Summary of the top N search results specified by the summary spec.
Generated from protobuf message google.cloud.discoveryengine.v1.SearchResponse.Summary
Namespace
Google \ Cloud \ DiscoveryEngine \ V1 \ SearchResponseMethods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ summary_text
string
The summary content.
↳ summary_skipped_reasons
array
Additional summary-skipped reasons. This provides the reason for ignored cases. If nothing is skipped, this field is not set.
↳ safety_attributes
Summary\SafetyAttributes
A collection of Safety Attribute categories and their associated confidence scores.
↳ summary_with_metadata
getSummaryText
The summary content.
string
setSummaryText
The summary content.
var
string
$this
getSummarySkippedReasons
Additional summary-skipped reasons. This provides the reason for ignored cases. If nothing is skipped, this field is not set.
setSummarySkippedReasons
Additional summary-skipped reasons. This provides the reason for ignored cases. If nothing is skipped, this field is not set.
var
int[]
$this
getSafetyAttributes
A collection of Safety Attribute categories and their associated confidence scores.
hasSafetyAttributes
clearSafetyAttributes
setSafetyAttributes
A collection of Safety Attribute categories and their associated confidence scores.
$this
getSummaryWithMetadata
Summary with metadata information.
hasSummaryWithMetadata
clearSummaryWithMetadata
setSummaryWithMetadata
Summary with metadata information.
$this