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