Class: Google::Apis::RetailV2::GoogleCloudRetailV2SearchResponseTileNavigationResult
- Inherits:
-
Object
- Object
- Google::Apis::RetailV2::GoogleCloudRetailV2SearchResponseTileNavigationResult
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/retail_v2/classes.rb,
lib/google/apis/retail_v2/representations.rb,
lib/google/apis/retail_v2/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::RetailV2::GoogleCloudRetailV2Tile>
The current tiles that are used for tile navigation, sorted by engagement.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudRetailV2SearchResponseTileNavigationResult
constructor
A new instance of GoogleCloudRetailV2SearchResponseTileNavigationResult.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudRetailV2SearchResponseTileNavigationResult
Returns a new instance of GoogleCloudRetailV2SearchResponseTileNavigationResult.
5864 5865 5866 |
# File 'lib/google/apis/retail_v2/classes.rb', line 5864 def initialize(**args) update!(**args) end |
Instance Attribute Details
#tiles ⇒ Array<Google::Apis::RetailV2::GoogleCloudRetailV2Tile>
The current tiles that are used for tile navigation, sorted by engagement.
Corresponds to the JSON property tiles
5862 5863 5864 |
# File 'lib/google/apis/retail_v2/classes.rb', line 5862 def tiles @tiles end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
5869 5870 5871 |
# File 'lib/google/apis/retail_v2/classes.rb', line 5869 def update!(**args) @tiles = args[:tiles] if args.key?(:tiles) end |