Discovery Engine V1 API - Class Google::Cloud::DiscoveryEngine::V1::SearchResponse::Summary (v1.0.1)

Reference documentation and code samples for the Discovery Engine V1 API class Google::Cloud::DiscoveryEngine::V1::SearchResponse::Summary.

Summary of the top N search results specified by the summary spec.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#safety_attributes

def safety_attributes() -> ::Google::Cloud::DiscoveryEngine::V1::SearchResponse::Summary::SafetyAttributes
Returns

#safety_attributes=

def safety_attributes=(value) -> ::Google::Cloud::DiscoveryEngine::V1::SearchResponse::Summary::SafetyAttributes
Parameter
Returns

#summary_skipped_reasons

def summary_skipped_reasons() -> ::Array<::Google::Cloud::DiscoveryEngine::V1::SearchResponse::Summary::SummarySkippedReason>
Returns

#summary_skipped_reasons=

def summary_skipped_reasons=(value) -> ::Array<::Google::Cloud::DiscoveryEngine::V1::SearchResponse::Summary::SummarySkippedReason>
Parameter
Returns

#summary_text

def summary_text() -> ::String
Returns
  • (::String) — The summary content.

#summary_text=

def summary_text=(value) -> ::String
Parameter
  • value (::String) — The summary content.
Returns
  • (::String) — The summary content.

#summary_with_metadata

def summary_with_metadata() -> ::Google::Cloud::DiscoveryEngine::V1::SearchResponse::Summary::SummaryWithMetadata

#summary_with_metadata=

def summary_with_metadata=(value) -> ::Google::Cloud::DiscoveryEngine::V1::SearchResponse::Summary::SummaryWithMetadata
Parameter