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

0.28.0 (latest) 0.27.0 0.26.0 0.25.0 0.24.0 0.23.1 0.22.0 0.21.0 0.20.1 0.19.1 0.18.0 0.17.0 0.16.0 0.15.0 0.14.2 0.13.0 0.12.0 0.11.0 0.10.0 0.9.0 0.8.0 0.7.2 0.6.0 0.5.0 0.4.0 0.3.0 0.2.1 0.1.0 Reference documentation and code samples for the Discovery Engine V1BETA API class Google::Cloud::DiscoveryEngine::V1beta::AdvancedCompleteQueryResponse.

Response message for
[CompletionService.AdvancedCompleteQuery](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-discovery_engine-v1beta/latest/Google-Cloud-DiscoveryEngine-V1beta-CompletionService-Client#Google__Cloud__DiscoveryEngine__V1beta__CompletionService__Client_advanced_complete_query_instance_ "Google::Cloud::DiscoveryEngine::V1beta::CompletionService::Client#advanced_complete_query (method)")
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**

- (::Array\<[::Google::Cloud::DiscoveryEngine::V1beta::AdvancedCompleteQueryResponse::ContentSuggestion](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-discovery_engine-v1beta/latest/Google-Cloud-DiscoveryEngine-V1beta-AdvancedCompleteQueryResponse-ContentSuggestion)\>) --- Results of the matched content suggestions. The result list is ordered and the first result is the top suggestion.

### #content_suggestions=

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

**Parameter**

- **value** (::Array\<[::Google::Cloud::DiscoveryEngine::V1beta::AdvancedCompleteQueryResponse::ContentSuggestion](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-discovery_engine-v1beta/latest/Google-Cloud-DiscoveryEngine-V1beta-AdvancedCompleteQueryResponse-ContentSuggestion)\>) --- Results of the matched content suggestions. The result list is ordered and the first result is the top suggestion.
**Returns**

- (::Array\<[::Google::Cloud::DiscoveryEngine::V1beta::AdvancedCompleteQueryResponse::ContentSuggestion](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-discovery_engine-v1beta/latest/Google-Cloud-DiscoveryEngine-V1beta-AdvancedCompleteQueryResponse-ContentSuggestion)\>) --- Results of the matched content suggestions. The result list is ordered and the first result is the top suggestion.

### #people_suggestions

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

**Returns**

- (::Array\<[::Google::Cloud::DiscoveryEngine::V1beta::AdvancedCompleteQueryResponse::PersonSuggestion](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-discovery_engine-v1beta/latest/Google-Cloud-DiscoveryEngine-V1beta-AdvancedCompleteQueryResponse-PersonSuggestion)\>) --- Results of the matched people suggestions. The result list is ordered and the first result is the top suggestion.

### #people_suggestions=

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

**Parameter**

- **value** (::Array\<[::Google::Cloud::DiscoveryEngine::V1beta::AdvancedCompleteQueryResponse::PersonSuggestion](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-discovery_engine-v1beta/latest/Google-Cloud-DiscoveryEngine-V1beta-AdvancedCompleteQueryResponse-PersonSuggestion)\>) --- Results of the matched people suggestions. The result list is ordered and the first result is the top suggestion.
**Returns**

- (::Array\<[::Google::Cloud::DiscoveryEngine::V1beta::AdvancedCompleteQueryResponse::PersonSuggestion](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-discovery_engine-v1beta/latest/Google-Cloud-DiscoveryEngine-V1beta-AdvancedCompleteQueryResponse-PersonSuggestion)\>) --- Results of the matched people suggestions. The result list is ordered and the first result is the top suggestion.

### #query_suggestions

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

**Returns**

- (::Array\<[::Google::Cloud::DiscoveryEngine::V1beta::AdvancedCompleteQueryResponse::QuerySuggestion](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-discovery_engine-v1beta/latest/Google-Cloud-DiscoveryEngine-V1beta-AdvancedCompleteQueryResponse-QuerySuggestion)\>) --- Results of the matched query suggestions. The result list is ordered and the first result is a top suggestion.

### #query_suggestions=

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

**Parameter**

- **value** (::Array\<[::Google::Cloud::DiscoveryEngine::V1beta::AdvancedCompleteQueryResponse::QuerySuggestion](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-discovery_engine-v1beta/latest/Google-Cloud-DiscoveryEngine-V1beta-AdvancedCompleteQueryResponse-QuerySuggestion)\>) --- Results of the matched query suggestions. The result list is ordered and the first result is a top suggestion.
**Returns**

- (::Array\<[::Google::Cloud::DiscoveryEngine::V1beta::AdvancedCompleteQueryResponse::QuerySuggestion](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-discovery_engine-v1beta/latest/Google-Cloud-DiscoveryEngine-V1beta-AdvancedCompleteQueryResponse-QuerySuggestion)\>) --- Results of the matched query suggestions. The result list is ordered and the first result is a top suggestion.

### #recent_search_suggestions

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

**Returns**

- (::Array\<[::Google::Cloud::DiscoveryEngine::V1beta::AdvancedCompleteQueryResponse::RecentSearchSuggestion](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-discovery_engine-v1beta/latest/Google-Cloud-DiscoveryEngine-V1beta-AdvancedCompleteQueryResponse-RecentSearchSuggestion)\>) --- Results of the matched "recent search" suggestions. The result list is ordered and the first result is the top suggestion.

### #recent_search_suggestions=

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

**Parameter**

- **value** (::Array\<[::Google::Cloud::DiscoveryEngine::V1beta::AdvancedCompleteQueryResponse::RecentSearchSuggestion](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-discovery_engine-v1beta/latest/Google-Cloud-DiscoveryEngine-V1beta-AdvancedCompleteQueryResponse-RecentSearchSuggestion)\>) --- Results of the matched "recent search" suggestions. The result list is ordered and the first result is the top suggestion.
**Returns**

- (::Array\<[::Google::Cloud::DiscoveryEngine::V1beta::AdvancedCompleteQueryResponse::RecentSearchSuggestion](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-discovery_engine-v1beta/latest/Google-Cloud-DiscoveryEngine-V1beta-AdvancedCompleteQueryResponse-RecentSearchSuggestion)\>) --- Results of the matched "recent search" suggestions. The result list is ordered and the first result is the top suggestion.

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