Class: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaSearchResponseSummary
- Inherits:
-
Object
- Object
- Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaSearchResponseSummary
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/discoveryengine_v1alpha/classes.rb,
lib/google/apis/discoveryengine_v1alpha/representations.rb,
lib/google/apis/discoveryengine_v1alpha/representations.rb
Overview
Summary of the top N search result specified by the summary spec.
Instance Attribute Summary collapse
-
#safety_attributes ⇒ Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaSearchResponseSummarySafetyAttributes
Safety Attribute categories and their associated confidence scores.
-
#summary_skipped_reasons ⇒ Array<String>
Additional summary-skipped reasons.
-
#summary_text ⇒ String
The summary content.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudDiscoveryengineV1alphaSearchResponseSummary
constructor
A new instance of GoogleCloudDiscoveryengineV1alphaSearchResponseSummary.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDiscoveryengineV1alphaSearchResponseSummary
Returns a new instance of GoogleCloudDiscoveryengineV1alphaSearchResponseSummary.
4464 4465 4466 |
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 4464 def initialize(**args) update!(**args) end |
Instance Attribute Details
#safety_attributes ⇒ Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaSearchResponseSummarySafetyAttributes
Safety Attribute categories and their associated confidence scores.
Corresponds to the JSON property safetyAttributes
4451 4452 4453 |
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 4451 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
4457 4458 4459 |
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 4457 def summary_skipped_reasons @summary_skipped_reasons end |
#summary_text ⇒ String
The summary content.
Corresponds to the JSON property summaryText
4462 4463 4464 |
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 4462 def summary_text @summary_text end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
4469 4470 4471 4472 4473 |
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 4469 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) end |