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

The comparison operation that was performed.

Protobuf type `google.cloud.discoveryengine.v1.SearchResponse.NaturalLanguageQueryUnderstandingInfo.StructuredExtractedFilter.NumberConstraint.Comparison`

## Namespace

Google \\ Cloud \\ DiscoveryEngine \\ V1 \\ SearchResponse \\ NaturalLanguageQueryUnderstandingInfo \\ StructuredExtractedFilter \\ NumberConstraint

## Methods

### static::name

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

### static::value

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

## Constants

### COMPARISON_UNSPECIFIED

    Value: 0

Undefined comparison operator.

Generated from protobuf enum `COMPARISON_UNSPECIFIED = 0;`

### EQUALS

    Value: 1

Denotes equality `=` operator.

Generated from protobuf enum `EQUALS = 1;`

### LESS_THAN_EQUALS

    Value: 2

Denotes less than or equal to `<=` operator.

Generated from protobuf enum `LESS_THAN_EQUALS = 2;`

### LESS_THAN

    Value: 3

Denotes less than `<` operator.

Generated from protobuf enum `LESS_THAN = 3;`

### GREATER_THAN_EQUALS

    Value: 4

Denotes greater than or equal to `>=` operator.

Generated from protobuf enum `GREATER_THAN_EQUALS = 4;`

### GREATER_THAN

    Value: 5

Denotes greater than `>` operator.

Generated from protobuf enum `GREATER_THAN = 5;`