Class: Google::Apis::RetailV2alpha::GoogleCloudRetailV2alphaSearchResponseTileNavigationResult

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

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudRetailV2alphaSearchResponseTileNavigationResult

Returns a new instance of GoogleCloudRetailV2alphaSearchResponseTileNavigationResult.



7897
7898
7899
# File 'lib/google/apis/retail_v2alpha/classes.rb', line 7897

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

Instance Attribute Details

#tilesArray<Google::Apis::RetailV2alpha::GoogleCloudRetailV2alphaTile>

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



7895
7896
7897
# File 'lib/google/apis/retail_v2alpha/classes.rb', line 7895

def tiles
  @tiles
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



7902
7903
7904
# File 'lib/google/apis/retail_v2alpha/classes.rb', line 7902

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