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
Returns
- (::Google::Cloud::DiscoveryEngine::V1beta::AdvancedCompleteQueryRequest::SuggestionType) — Optional. Suggestion type.
#suggestion_type=
def suggestion_type=(value) -> ::Google::Cloud::DiscoveryEngine::V1beta::AdvancedCompleteQueryRequest::SuggestionType
Parameter
- value (::Google::Cloud::DiscoveryEngine::V1beta::AdvancedCompleteQueryRequest::SuggestionType) — Optional. Suggestion type.
Returns
- (::Google::Cloud::DiscoveryEngine::V1beta::AdvancedCompleteQueryRequest::SuggestionType) — Optional. Suggestion type.