Class: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaAdvancedCompleteQueryResponse
- Inherits:
-
Object
- Object
- Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaAdvancedCompleteQueryResponse
- 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
Response message for CompletionService.AdvancedCompleteQuery method.
Instance Attribute Summary collapse
-
#content_suggestions ⇒ Array<Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaAdvancedCompleteQueryResponseContentSuggestion>
Results of the matched content suggestions.
-
#people_suggestions ⇒ Array<Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaAdvancedCompleteQueryResponsePersonSuggestion>
Results of the matched people suggestions.
-
#query_suggestions ⇒ Array<Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaAdvancedCompleteQueryResponseQuerySuggestion>
Results of the matched query suggestions.
-
#recent_search_suggestions ⇒ Array<Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaAdvancedCompleteQueryResponseRecentSearchSuggestion>
Results of the matched "recent search" suggestions.
-
#tail_match_triggered ⇒ Boolean
(also: #tail_match_triggered?)
True if the returned suggestions are all tail suggestions.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudDiscoveryengineV1alphaAdvancedCompleteQueryResponse
constructor
A new instance of GoogleCloudDiscoveryengineV1alphaAdvancedCompleteQueryResponse.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDiscoveryengineV1alphaAdvancedCompleteQueryResponse
Returns a new instance of GoogleCloudDiscoveryengineV1alphaAdvancedCompleteQueryResponse.
3964 3965 3966 |
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 3964 def initialize(**args) update!(**args) end |
Instance Attribute Details
#content_suggestions ⇒ Array<Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaAdvancedCompleteQueryResponseContentSuggestion>
Results of the matched content suggestions. The result list is ordered and the
first result is the top suggestion.
Corresponds to the JSON property contentSuggestions
3936 3937 3938 |
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 3936 def content_suggestions @content_suggestions end |
#people_suggestions ⇒ Array<Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaAdvancedCompleteQueryResponsePersonSuggestion>
Results of the matched people suggestions. The result list is ordered and the
first result is the top suggestion.
Corresponds to the JSON property peopleSuggestions
3942 3943 3944 |
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 3942 def people_suggestions @people_suggestions end |
#query_suggestions ⇒ Array<Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaAdvancedCompleteQueryResponseQuerySuggestion>
Results of the matched query suggestions. The result list is ordered and the
first result is a top suggestion.
Corresponds to the JSON property querySuggestions
3948 3949 3950 |
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 3948 def query_suggestions @query_suggestions end |
#recent_search_suggestions ⇒ Array<Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaAdvancedCompleteQueryResponseRecentSearchSuggestion>
Results of the matched "recent search" suggestions. The result list is ordered
and the first result is the top suggestion.
Corresponds to the JSON property recentSearchSuggestions
3954 3955 3956 |
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 3954 def recent_search_suggestions @recent_search_suggestions end |
#tail_match_triggered ⇒ Boolean Also known as: tail_match_triggered?
True if the returned suggestions are all tail suggestions. For tail matching
to be triggered, include_tail_suggestions in the request must be true and
there must be no suggestions that match the full query.
Corresponds to the JSON property tailMatchTriggered
3961 3962 3963 |
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 3961 def tail_match_triggered @tail_match_triggered end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
3969 3970 3971 3972 3973 3974 3975 |
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 3969 def update!(**args) @content_suggestions = args[:content_suggestions] if args.key?(:content_suggestions) @people_suggestions = args[:people_suggestions] if args.key?(:people_suggestions) @query_suggestions = args[:query_suggestions] if args.key?(:query_suggestions) @recent_search_suggestions = args[:recent_search_suggestions] if args.key?(:recent_search_suggestions) @tail_match_triggered = args[:tail_match_triggered] if args.key?(:tail_match_triggered) end |