Retail V2 API - Class Google::Cloud::Retail::V2::SearchRequest::TileNavigationSpec (v2.1.0)

Reference documentation and code samples for the Retail V2 API class Google::Cloud::Retail::V2::SearchRequest::TileNavigationSpec.

This field specifies tile navigation related parameters.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#applied_tiles

def applied_tiles() -> ::Array<::Google::Cloud::Retail::V2::Tile>
Returns
  • (::Array<::Google::Cloud::Retail::V2::Tile>) — This optional field specifies the tiles which are already clicked in client side. While the feature works without this field set, particularly for an initial query, it is highly recommended to set this field because it can improve the quality of the search response and removes possible duplicate tiles.

    NOTE: This field is not being used for filtering search products. Client side should also put all the applied tiles in SearchRequest.filter.

#applied_tiles=

def applied_tiles=(value) -> ::Array<::Google::Cloud::Retail::V2::Tile>
Parameter
  • value (::Array<::Google::Cloud::Retail::V2::Tile>) — This optional field specifies the tiles which are already clicked in client side. While the feature works without this field set, particularly for an initial query, it is highly recommended to set this field because it can improve the quality of the search response and removes possible duplicate tiles.

    NOTE: This field is not being used for filtering search products. Client side should also put all the applied tiles in SearchRequest.filter.

Returns
  • (::Array<::Google::Cloud::Retail::V2::Tile>) — This optional field specifies the tiles which are already clicked in client side. While the feature works without this field set, particularly for an initial query, it is highly recommended to set this field because it can improve the quality of the search response and removes possible duplicate tiles.

    NOTE: This field is not being used for filtering search products. Client side should also put all the applied tiles in SearchRequest.filter.

#tile_navigation_requested

def tile_navigation_requested() -> ::Boolean
Returns
  • (::Boolean) — This field specifies whether the customer would like to request tile navigation.

#tile_navigation_requested=

def tile_navigation_requested=(value) -> ::Boolean
Parameter
  • value (::Boolean) — This field specifies whether the customer would like to request tile navigation.
Returns
  • (::Boolean) — This field specifies whether the customer would like to request tile navigation.