Google Cloud Retail V2 Client - Class TileNavigationSpec (2.1.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 field specifies the tiles which are already clicked in client side. 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 field specifies the tiles which are already clicked in client side.

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
Google\Protobuf\Internal\RepeatedField

setAppliedTiles

This field specifies the tiles which are already clicked in client side.

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
var array<Google\Cloud\Retail\V2\Tile>
Returns
Type Description
$this