Class: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaSearchResponseSummary
- Inherits:
-
Object
- Object
- Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaSearchResponseSummary
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/discoveryengine_v1beta/classes.rb,
lib/google/apis/discoveryengine_v1beta/representations.rb,
lib/google/apis/discoveryengine_v1beta/representations.rb
Overview
Summary of the top N search results specified by the summary spec.
Instance Attribute Summary collapse
-
#safety_attributes ⇒ Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaSearchResponseSummarySafetyAttributes
Safety Attribute categories and their associated confidence scores.
-
#summary_skipped_reasons ⇒ Array<String>
Additional summary-skipped reasons.
-
#summary_text ⇒ String
The summary content.
-
#summary_with_metadata ⇒ Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaSearchResponseSummarySummaryWithMetadata
Summary with metadata information.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudDiscoveryengineV1betaSearchResponseSummary
constructor
A new instance of GoogleCloudDiscoveryengineV1betaSearchResponseSummary.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDiscoveryengineV1betaSearchResponseSummary
Returns a new instance of GoogleCloudDiscoveryengineV1betaSearchResponseSummary.
12247 12248 12249 |
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 12247 def initialize(**args) update!(**args) end |
Instance Attribute Details
#safety_attributes ⇒ Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaSearchResponseSummarySafetyAttributes
Safety Attribute categories and their associated confidence scores.
Corresponds to the JSON property safetyAttributes
12229 12230 12231 |
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 12229 def safety_attributes @safety_attributes end |
#summary_skipped_reasons ⇒ Array<String>
Additional summary-skipped reasons. This provides the reason for ignored cases.
If nothing is skipped, this field is not set.
Corresponds to the JSON property summarySkippedReasons
12235 12236 12237 |
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 12235 def summary_skipped_reasons @summary_skipped_reasons end |
#summary_text ⇒ String
The summary content.
Corresponds to the JSON property summaryText
12240 12241 12242 |
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 12240 def summary_text @summary_text end |
#summary_with_metadata ⇒ Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaSearchResponseSummarySummaryWithMetadata
Summary with metadata information.
Corresponds to the JSON property summaryWithMetadata
12245 12246 12247 |
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 12245 def @summary_with_metadata end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
12252 12253 12254 12255 12256 12257 |
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 12252 def update!(**args) @safety_attributes = args[:safety_attributes] if args.key?(:safety_attributes) @summary_skipped_reasons = args[:summary_skipped_reasons] if args.key?(:summary_skipped_reasons) @summary_text = args[:summary_text] if args.key?(:summary_text) @summary_with_metadata = args[:summary_with_metadata] if args.key?(:summary_with_metadata) end |