# Google Cloud Retail V2 Client - Class TileNavigationSpec (2.5.3)

2.5.3 (latest) 2.5.2 2.4.0 2.3.1 2.2.1 2.1.3 2.0.0 1.7.0 1.6.4 1.5.0 1.4.2 1.3.1 1.2.1 1.1.1 1.0.1 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<https://docs.cloud.google.com/php/docs/reference/cloud-retail/latest/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](https://docs.cloud.google.com/php/docs/reference/cloud-retail/latest/V2.SearchRequest#_Google_Cloud_Retail_V2_SearchRequest__getFilter__). |

### 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](https://docs.cloud.google.com/php/docs/reference/cloud-retail/latest/V2.SearchRequest#_Google_Cloud_Retail_V2_SearchRequest__getFilter__).

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://protobuf.dev/reference/php/api-docs/Google/Protobuf/RepeatedField<https://docs.cloud.google.com/php/docs/reference/cloud-retail/latest/V2.Tile>` |   |

### 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](https://docs.cloud.google.com/php/docs/reference/cloud-retail/latest/V2.SearchRequest#_Google_Cloud_Retail_V2_SearchRequest__getFilter__).

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `array<https://docs.cloud.google.com/php/docs/reference/cloud-retail/latest/V2.Tile>` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |