Class: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaAdvancedCompleteQueryResponseRecentSearchSuggestion
- Inherits:
-
Object
- Object
- Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaAdvancedCompleteQueryResponseRecentSearchSuggestion
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/discoveryengine_v1beta/classes.rb,
lib/google/apis/discoveryengine_v1beta/representations.rb,
lib/google/apis/discoveryengine_v1beta/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) ⇒ GoogleCloudDiscoveryengineV1betaAdvancedCompleteQueryResponseRecentSearchSuggestion
constructor
A new instance of GoogleCloudDiscoveryengineV1betaAdvancedCompleteQueryResponseRecentSearchSuggestion.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDiscoveryengineV1betaAdvancedCompleteQueryResponseRecentSearchSuggestion
Returns a new instance of GoogleCloudDiscoveryengineV1betaAdvancedCompleteQueryResponseRecentSearchSuggestion.
9941 9942 9943 |
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 9941 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
9934 9935 9936 |
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 9934 def recent_search_time @recent_search_time end |
#suggestion ⇒ String
The suggestion for the query.
Corresponds to the JSON property suggestion
9939 9940 9941 |
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 9939 def suggestion @suggestion end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
9946 9947 9948 9949 |
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 9946 def update!(**args) @recent_search_time = args[:recent_search_time] if args.key?(:recent_search_time) @suggestion = args[:suggestion] if args.key?(:suggestion) end |