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

Reference documentation and code samples for the Discovery Engine V1BETA API class Google::Cloud::DiscoveryEngine::V1beta::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::V1beta::AdvancedCompleteQueryRequest::SuggestionType

#suggestion_type=

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