Class: Google::Apis::RetailV2beta::GoogleCloudRetailV2betaCompleteQueryResponseRecentSearchResult
- Inherits:
-
Object
- Object
- Google::Apis::RetailV2beta::GoogleCloudRetailV2betaCompleteQueryResponseRecentSearchResult
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/retail_v2beta/classes.rb,
lib/google/apis/retail_v2beta/representations.rb,
lib/google/apis/retail_v2beta/representations.rb
Overview
Recent search of this user.
Instance Attribute Summary collapse
-
#recent_search ⇒ String
The recent search query.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudRetailV2betaCompleteQueryResponseRecentSearchResult
constructor
A new instance of GoogleCloudRetailV2betaCompleteQueryResponseRecentSearchResult.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudRetailV2betaCompleteQueryResponseRecentSearchResult
Returns a new instance of GoogleCloudRetailV2betaCompleteQueryResponseRecentSearchResult.
3339 3340 3341 |
# File 'lib/google/apis/retail_v2beta/classes.rb', line 3339 def initialize(**args) update!(**args) end |
Instance Attribute Details
#recent_search ⇒ String
The recent search query.
Corresponds to the JSON property recentSearch
3337 3338 3339 |
# File 'lib/google/apis/retail_v2beta/classes.rb', line 3337 def recent_search @recent_search end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
3344 3345 3346 |
# File 'lib/google/apis/retail_v2beta/classes.rb', line 3344 def update!(**args) @recent_search = args[:recent_search] if args.key?(:recent_search) end |