Reference documentation and code samples for the Discovery Engine V1BETA API class Google::Cloud::DiscoveryEngine::V1beta::AdvancedCompleteQueryResponse::RecentSearchSuggestion.
Suggestions from recent search history.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#recent_search_time
def recent_search_time() -> ::Google::Protobuf::Timestamp
Returns
- (::Google::Protobuf::Timestamp) — The time when this recent rearch happened.
#recent_search_time=
def recent_search_time=(value) -> ::Google::Protobuf::Timestamp
Parameter
- value (::Google::Protobuf::Timestamp) — The time when this recent rearch happened.
Returns
- (::Google::Protobuf::Timestamp) — The time when this recent rearch happened.
#score
def score() -> ::Float
Returns
- (::Float) — The score of each suggestion. The score is in the range of [0, 1].
#score=
def score=(value) -> ::Float
Parameter
- value (::Float) — The score of each suggestion. The score is in the range of [0, 1].
Returns
- (::Float) — The score of each suggestion. The score is in the range of [0, 1].
#suggestion
def suggestion() -> ::String
Returns
- (::String) — The suggestion for the query.
#suggestion=
def suggestion=(value) -> ::String
Parameter
- value (::String) — The suggestion for the query.
Returns
- (::String) — The suggestion for the query.