# Google Cloud Retail V2 Client - Class SearchSolutionUseCase (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 SearchSolutionUseCase.

The use case of Cloud Retail Search.

Protobuf type `google.cloud.retail.v2.SearchSolutionUseCase`

## Namespace

Google \\ Cloud \\ Retail \\ V2

## Methods

### static::name

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `value` | `mixed` |

### static::value

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `name` | `mixed` |

## Constants

### SEARCH_SOLUTION_USE_CASE_UNSPECIFIED

    Value: 0

The value when it's unspecified. In this case, server behavior defaults to
[SEARCH_SOLUTION_USE_CASE_SEARCH](https://docs.cloud.google.com/php/docs/reference/cloud-retail/latest/V2.SearchSolutionUseCase#_Google_Cloud_Retail_V2_SearchSolutionUseCase__SEARCH_SOLUTION_USE_CASE_SEARCH).

Generated from protobuf enum `SEARCH_SOLUTION_USE_CASE_UNSPECIFIED = 0;`

### SEARCH_SOLUTION_USE_CASE_SEARCH

    Value: 1

Search use case. Expects the traffic has a non-empty
[query](https://docs.cloud.google.com/php/docs/reference/cloud-retail/latest/V2.SearchRequest#_Google_Cloud_Retail_V2_SearchRequest__getQuery__).

Generated from protobuf enum `SEARCH_SOLUTION_USE_CASE_SEARCH = 1;`

### SEARCH_SOLUTION_USE_CASE_BROWSE

    Value: 2

Browse use case. Expects the traffic has an empty
[query](https://docs.cloud.google.com/php/docs/reference/cloud-retail/latest/V2.SearchRequest#_Google_Cloud_Retail_V2_SearchRequest__getQuery__).

Generated from protobuf enum `SEARCH_SOLUTION_USE_CASE_BROWSE = 2;`