Google Cloud Retail V2 Client - Class TileNavigationSpec (2.3.0)

Reference documentation and code samples for the Google Cloud Retail V2 Client class TileNavigationSpec.

This field specifies tile navigation related parameters.

Generated from protobuf message google.cloud.retail.v2.SearchRequest.TileNavigationSpec

Namespace

Google \ Cloud \ Retail \ V2 \ SearchRequest

Methods

__construct

Constructor.

Parameters
Name
Description
data
array

Optional. Data for populating the Message object.

↳ tile_navigation_requested
bool

This field specifies whether the customer would like to request tile navigation.

↳ applied_tiles
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 .

getTileNavigationRequested

This field specifies whether the customer would like to request tile navigation.

Returns
Type
Description
bool

setTileNavigationRequested

This field specifies whether the customer would like to request tile navigation.

Parameter
Name
Description
var
bool
Returns
Type
Description
$this

getAppliedTiles

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
Type
Description

setAppliedTiles

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 .

Parameter
Name
Description
Returns
Type
Description
$this
Design a Mobile Site
View Site in Mobile | Classic
Share by: