Discovery Engine V1 API - Class Google::Cloud::DiscoveryEngine::V1::AdvancedCompleteQueryRequest::SuggestionTypeSpec (v2.14.0)

Reference documentation and code samples for the Discovery Engine V1 API class Google::Cloud::DiscoveryEngine::V1::AdvancedCompleteQueryRequest::SuggestionTypeSpec.

Specification of each suggestion type.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#max_suggestions

def max_suggestions() -> ::Integer
Returns
  • (::Integer) — Optional. Maximum number of suggestions to return for each suggestion type.

#max_suggestions=

def max_suggestions=(value) -> ::Integer
Parameter
  • value (::Integer) — Optional. Maximum number of suggestions to return for each suggestion type.
Returns
  • (::Integer) — Optional. Maximum number of suggestions to return for each suggestion type.

#suggestion_type

def suggestion_type() -> ::Google::Cloud::DiscoveryEngine::V1::AdvancedCompleteQueryRequest::SuggestionType

#suggestion_type=

def suggestion_type=(value) -> ::Google::Cloud::DiscoveryEngine::V1::AdvancedCompleteQueryRequest::SuggestionType