Discovery Engine V1BETA API - Class Google::Cloud::DiscoveryEngine::V1beta::AdvancedCompleteQueryResponse (v0.16.0)

Reference documentation and code samples for the Discovery Engine V1BETA API class Google::Cloud::DiscoveryEngine::V1beta::AdvancedCompleteQueryResponse.

Response message for CompletionService.AdvancedCompleteQuery method.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#content_suggestions

def content_suggestions() -> ::Array<::Google::Cloud::DiscoveryEngine::V1beta::AdvancedCompleteQueryResponse::ContentSuggestion>
Returns

#content_suggestions=

def content_suggestions=(value) -> ::Array<::Google::Cloud::DiscoveryEngine::V1beta::AdvancedCompleteQueryResponse::ContentSuggestion>
Parameter
Returns

#people_suggestions

def people_suggestions() -> ::Array<::Google::Cloud::DiscoveryEngine::V1beta::AdvancedCompleteQueryResponse::PersonSuggestion>
Returns

#people_suggestions=

def people_suggestions=(value) -> ::Array<::Google::Cloud::DiscoveryEngine::V1beta::AdvancedCompleteQueryResponse::PersonSuggestion>
Parameter
Returns

#query_suggestions

def query_suggestions() -> ::Array<::Google::Cloud::DiscoveryEngine::V1beta::AdvancedCompleteQueryResponse::QuerySuggestion>
Returns

#query_suggestions=

def query_suggestions=(value) -> ::Array<::Google::Cloud::DiscoveryEngine::V1beta::AdvancedCompleteQueryResponse::QuerySuggestion>
Parameter
Returns

#recent_search_suggestions

def recent_search_suggestions() -> ::Array<::Google::Cloud::DiscoveryEngine::V1beta::AdvancedCompleteQueryResponse::RecentSearchSuggestion>
Returns

#recent_search_suggestions=

def recent_search_suggestions=(value) -> ::Array<::Google::Cloud::DiscoveryEngine::V1beta::AdvancedCompleteQueryResponse::RecentSearchSuggestion>
Parameter
Returns

#tail_match_triggered

def tail_match_triggered() -> ::Boolean
Returns
  • (::Boolean) — 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.

#tail_match_triggered=

def tail_match_triggered=(value) -> ::Boolean
Parameter
  • value (::Boolean) — 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.

Returns
  • (::Boolean) — 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.