Class: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaSearchResponseGuidedSearchResult
- Inherits:
-
Object
- Object
- Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaSearchResponseGuidedSearchResult
- 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
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::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaSearchResponseGuidedSearchResultRefinementAttribute>
A list of ranked refinement attributes.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudDiscoveryengineV1alphaSearchResponseGuidedSearchResult
constructor
A new instance of GoogleCloudDiscoveryengineV1alphaSearchResponseGuidedSearchResult.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDiscoveryengineV1alphaSearchResponseGuidedSearchResult
Returns a new instance of GoogleCloudDiscoveryengineV1alphaSearchResponseGuidedSearchResult.
6036 6037 6038 |
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 6036 def initialize(**args) update!(**args) end |
Instance Attribute Details
#follow_up_questions ⇒ Array<String>
Suggested follow-up questions.
Corresponds to the JSON property followUpQuestions
6029 6030 6031 |
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 6029 def follow_up_questions @follow_up_questions end |
#refinement_attributes ⇒ Array<Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaSearchResponseGuidedSearchResultRefinementAttribute>
A list of ranked refinement attributes.
Corresponds to the JSON property refinementAttributes
6034 6035 6036 |
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 6034 def refinement_attributes @refinement_attributes end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
6041 6042 6043 6044 |
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 6041 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 |