# Google Cloud Discovery Engine V1 Client - Class SemanticState (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 SemanticState.

Semantic state of the search response.

Protobuf type `google.cloud.discoveryengine.v1.SearchResponse.SemanticState`

## Namespace

Google \\ Cloud \\ DiscoveryEngine \\ V1 \\ SearchResponse

## Methods

### static::name

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

### static::value

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

## Constants

### SEMANTIC_STATE_UNSPECIFIED

    Value: 0

Default value. Should not be used.

Generated from protobuf enum `SEMANTIC_STATE_UNSPECIFIED = 0;`

### DISABLED

    Value: 1

Semantic search was disabled for this search response.

Generated from protobuf enum `DISABLED = 1;`

### ENABLED

    Value: 2

Semantic search was enabled for this search response.

Generated from protobuf enum `ENABLED = 2;`