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

Enum describing the mode to use for documents that are crowded away.

They can be dropped or demoted to the later pages.

Protobuf type `google.cloud.discoveryengine.v1.SearchRequest.CrowdingSpec.Mode`

## Namespace

Google \\ Cloud \\ DiscoveryEngine \\ V1 \\ SearchRequest \\ CrowdingSpec

## Methods

### static::name

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

### static::value

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

## Constants

### MODE_UNSPECIFIED

    Value: 0

Unspecified crowding mode. In this case, server behavior defaults to
[Mode.DROP_CROWDED_RESULTS](https://docs.cloud.google.com/php/docs/reference/cloud-discoveryengine/latest/V1.SearchRequest.CrowdingSpec.Mode#_Google_Cloud_DiscoveryEngine_V1_SearchRequest_CrowdingSpec_Mode__DROP_CROWDED_RESULTS).

Generated from protobuf enum `MODE_UNSPECIFIED = 0;`

### DROP_CROWDED_RESULTS

    Value: 1

Drop crowded results.

Generated from protobuf enum `DROP_CROWDED_RESULTS = 1;`

### DEMOTE_CROWDED_RESULTS_TO_END

    Value: 2

Demote crowded results to the later pages.

Generated from protobuf enum `DEMOTE_CROWDED_RESULTS_TO_END = 2;`