Class: Google::Apis::RetailV2beta::GoogleCloudRetailV2betaCompleteQueryResponseRecentSearchResult

Inherits:
Object
  • Object
show all
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

Deprecated: Recent search of this user.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudRetailV2betaCompleteQueryResponseRecentSearchResult

Returns a new instance of GoogleCloudRetailV2betaCompleteQueryResponseRecentSearchResult.



3529
3530
3531
# File 'lib/google/apis/retail_v2beta/classes.rb', line 3529

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#recent_searchString

The recent search query. Corresponds to the JSON property recentSearch

Returns:

  • (String)


3527
3528
3529
# File 'lib/google/apis/retail_v2beta/classes.rb', line 3527

def recent_search
  @recent_search
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



3534
3535
3536
# File 'lib/google/apis/retail_v2beta/classes.rb', line 3534

def update!(**args)
  @recent_search = args[:recent_search] if args.key?(:recent_search)
end