Class: Google::Apis::RetailV2alpha::GoogleCloudRetailV2alphaSearchResponseTileNavigationResult
- Inherits:
-
Object
- Object
- Google::Apis::RetailV2alpha::GoogleCloudRetailV2alphaSearchResponseTileNavigationResult
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/retail_v2alpha/classes.rb,
lib/google/apis/retail_v2alpha/representations.rb,
lib/google/apis/retail_v2alpha/representations.rb
Overview
This field specifies all related information for tile navigation that will be used in client side.
Instance Attribute Summary collapse
-
#tiles ⇒ Array<Google::Apis::RetailV2alpha::GoogleCloudRetailV2alphaTile>
The current tiles that are used for tile navigation, sorted by engagement.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudRetailV2alphaSearchResponseTileNavigationResult
constructor
A new instance of GoogleCloudRetailV2alphaSearchResponseTileNavigationResult.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudRetailV2alphaSearchResponseTileNavigationResult
Returns a new instance of GoogleCloudRetailV2alphaSearchResponseTileNavigationResult.
8005 8006 8007 |
# File 'lib/google/apis/retail_v2alpha/classes.rb', line 8005 def initialize(**args) update!(**args) end |
Instance Attribute Details
#tiles ⇒ Array<Google::Apis::RetailV2alpha::GoogleCloudRetailV2alphaTile>
The current tiles that are used for tile navigation, sorted by engagement.
Corresponds to the JSON property tiles
8003 8004 8005 |
# File 'lib/google/apis/retail_v2alpha/classes.rb', line 8003 def tiles @tiles end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
8010 8011 8012 |
# File 'lib/google/apis/retail_v2alpha/classes.rb', line 8010 def update!(**args) @tiles = args[:tiles] if args.key?(:tiles) end |