Class: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaSearchResponseSummary

Inherits:
Object
  • Object
show all
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 result specified by the summary spec.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDiscoveryengineV1betaSearchResponseSummary

Returns a new instance of GoogleCloudDiscoveryengineV1betaSearchResponseSummary.



3925
3926
3927
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 3925

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#summary_skipped_reasonsArray<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

Returns:

  • (Array<String>)


3918
3919
3920
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 3918

def summary_skipped_reasons
  @summary_skipped_reasons
end

#summary_textString

The summary content. Corresponds to the JSON property summaryText

Returns:

  • (String)


3923
3924
3925
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 3923

def summary_text
  @summary_text
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



3930
3931
3932
3933
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 3930

def update!(**args)
  @summary_skipped_reasons = args[:summary_skipped_reasons] if args.key?(:summary_skipped_reasons)
  @summary_text = args[:summary_text] if args.key?(:summary_text)
end