Class: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaSearchResponseGuidedSearchResult
- Inherits:
-
Object
- Object
- Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaSearchResponseGuidedSearchResult
- 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
Guided search result. The guided search helps user to refine the search results and narrow down to the real needs from a broaded search results.
Instance Attribute Summary collapse
-
#follow_up_questions ⇒ Array<String>
Suggested follow-up questions.
-
#refinement_attributes ⇒ Array<Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaSearchResponseGuidedSearchResultRefinementAttribute>
A list of ranked refinement attributes.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudDiscoveryengineV1betaSearchResponseGuidedSearchResult
constructor
A new instance of GoogleCloudDiscoveryengineV1betaSearchResponseGuidedSearchResult.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDiscoveryengineV1betaSearchResponseGuidedSearchResult
Returns a new instance of GoogleCloudDiscoveryengineV1betaSearchResponseGuidedSearchResult.
10269 10270 10271 |
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 10269 def initialize(**args) update!(**args) end |
Instance Attribute Details
#follow_up_questions ⇒ Array<String>
Suggested follow-up questions.
Corresponds to the JSON property followUpQuestions
10262 10263 10264 |
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 10262 def follow_up_questions @follow_up_questions end |
#refinement_attributes ⇒ Array<Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaSearchResponseGuidedSearchResultRefinementAttribute>
A list of ranked refinement attributes.
Corresponds to the JSON property refinementAttributes
10267 10268 10269 |
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 10267 def refinement_attributes @refinement_attributes end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
10274 10275 10276 10277 |
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 10274 def update!(**args) @follow_up_questions = args[:follow_up_questions] if args.key?(:follow_up_questions) @refinement_attributes = args[:refinement_attributes] if args.key?(:refinement_attributes) end |