Class: Google::Apis::RetailV2beta::GoogleCloudRetailV2betaSearchResponseTileNavigationResult

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

This field specifies all related information for tile navigation that will be used in client side.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudRetailV2betaSearchResponseTileNavigationResult

Returns a new instance of GoogleCloudRetailV2betaSearchResponseTileNavigationResult.



8457
8458
8459
# File 'lib/google/apis/retail_v2beta/classes.rb', line 8457

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

Instance Attribute Details

#tilesArray<Google::Apis::RetailV2beta::GoogleCloudRetailV2betaTile>

The current tiles that are used for tile navigation, sorted by engagement. Corresponds to the JSON property tiles



8455
8456
8457
# File 'lib/google/apis/retail_v2beta/classes.rb', line 8455

def tiles
  @tiles
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



8462
8463
8464
# File 'lib/google/apis/retail_v2beta/classes.rb', line 8462

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