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

The state of the [Document](https://docs.cloud.google.com/php/docs/reference/cloud-discoveryengine/latest/V1.Document).

Protobuf type `google.cloud.discoveryengine.v1.BatchGetDocumentsMetadataResponse.State`

## Namespace

Google \\ Cloud \\ DiscoveryEngine \\ V1 \\ BatchGetDocumentsMetadataResponse

## Methods

### static::name

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

### static::value

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

## Constants

### STATE_UNSPECIFIED

    Value: 0

Should never be set.

Generated from protobuf enum `STATE_UNSPECIFIED = 0;`

### INDEXED

    Value: 1

The [Document](https://docs.cloud.google.com/php/docs/reference/cloud-discoveryengine/latest/V1.Document) is indexed.

Generated from protobuf enum `INDEXED = 1;`

### NOT_IN_TARGET_SITE

    Value: 2

The [Document](https://docs.cloud.google.com/php/docs/reference/cloud-discoveryengine/latest/V1.Document) is not indexed
because its URI is not in the
[TargetSite](https://docs.cloud.google.com/php/docs/reference/cloud-discoveryengine/latest/V1.TargetSite).

Generated from protobuf enum `NOT_IN_TARGET_SITE = 2;`

### NOT_IN_INDEX

    Value: 3

The [Document](https://docs.cloud.google.com/php/docs/reference/cloud-discoveryengine/latest/V1.Document) is not indexed.

Generated from protobuf enum `NOT_IN_INDEX = 3;`