# Google Cloud Discovery Engine V1 Client - Class SearchUseCase (1.11.1)

1.11.1 (latest) 1.11.0 1.10.1 1.9.1 1.8.0 1.7.0 1.6.1 1.5.1 1.4.0 1.3.3 1.2.0 1.1.0 1.0.0 0.11.3 0.8.0 0.7.1 0.6.0 0.5.0 0.4.0 0.3.0 0.2.0 0.1.1 Reference documentation and code samples for the Google Cloud Discovery Engine V1 Client class SearchUseCase.

Defines a further subdivision of `SolutionType`.

Specifically applies to
[SOLUTION_TYPE_SEARCH](https://docs.cloud.google.com/php/docs/reference/cloud-discoveryengine/latest/V1.SolutionType#_Google_Cloud_DiscoveryEngine_V1_SolutionType__SOLUTION_TYPE_SEARCH).

Protobuf type `google.cloud.discoveryengine.v1.SearchUseCase`

## Namespace

Google \\ Cloud \\ DiscoveryEngine \\ V1

## Methods

### static::name

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

### static::value

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

## Constants

### SEARCH_USE_CASE_UNSPECIFIED

    Value: 0

Value used when unset. Will not occur in CSS.

Generated from protobuf enum `SEARCH_USE_CASE_UNSPECIFIED = 0;`

### SEARCH_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-discoveryengine/latest/V1.SearchRequest#_Google_Cloud_DiscoveryEngine_V1_SearchRequest__getQuery__).

Generated from protobuf enum `SEARCH_USE_CASE_SEARCH = 1;`

### SEARCH_USE_CASE_BROWSE

    Value: 2

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

Generated from protobuf enum `SEARCH_USE_CASE_BROWSE = 2;`