Class: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaAdvancedCompleteQueryResponseRecentSearchSuggestion
- Inherits:
-
Object
- Object
- Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaAdvancedCompleteQueryResponseRecentSearchSuggestion
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/discoveryengine_v1alpha/classes.rb,
lib/google/apis/discoveryengine_v1alpha/representations.rb,
lib/google/apis/discoveryengine_v1alpha/representations.rb
Overview
Suggestions from recent search history.
Instance Attribute Summary collapse
-
#recent_search_time ⇒ String
The time when this recent rearch happened.
-
#suggestion ⇒ String
The suggestion for the query.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudDiscoveryengineV1alphaAdvancedCompleteQueryResponseRecentSearchSuggestion
constructor
A new instance of GoogleCloudDiscoveryengineV1alphaAdvancedCompleteQueryResponseRecentSearchSuggestion.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDiscoveryengineV1alphaAdvancedCompleteQueryResponseRecentSearchSuggestion
Returns a new instance of GoogleCloudDiscoveryengineV1alphaAdvancedCompleteQueryResponseRecentSearchSuggestion.
4101 4102 4103 |
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 4101 def initialize(**args) update!(**args) end |
Instance Attribute Details
#recent_search_time ⇒ String
The time when this recent rearch happened.
Corresponds to the JSON property recentSearchTime
4094 4095 4096 |
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 4094 def recent_search_time @recent_search_time end |
#suggestion ⇒ String
The suggestion for the query.
Corresponds to the JSON property suggestion
4099 4100 4101 |
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 4099 def suggestion @suggestion end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
4106 4107 4108 4109 |
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 4106 def update!(**args) @recent_search_time = args[:recent_search_time] if args.key?(:recent_search_time) @suggestion = args[:suggestion] if args.key?(:suggestion) end |