# Google Cloud Chronicle V1 Client - Class FilterOperatorAndValues (0.4.0)

0.4.0 (latest) 0.3.0 0.2.3 0.1.2 Reference documentation and code samples for the Google Cloud Chronicle V1 Client class FilterOperatorAndValues.

Generated from protobuf message `google.cloud.chronicle.v1.FilterOperatorAndValues`

## Namespace

Google \\ Cloud \\ Chronicle \\ V1

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ filter_operator` | `int` Operator for a single filter modifier. |
| `↳ field_values` | `string[]` Values for the modifier. All operators should have a single value other than 'IN' and 'BETWEEN'. 'PAST' will have negative seconds like -86400 is past 1 day. |

### getFilterOperator

Operator for a single filter modifier.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `int` | Enum of type [FilterOperator](https://docs.cloud.google.com/php/docs/reference/cloud-chronicle/latest/V1.FilterOperator). |

### setFilterOperator

Operator for a single filter modifier.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `int` Enum of type [FilterOperator](https://docs.cloud.google.com/php/docs/reference/cloud-chronicle/latest/V1.FilterOperator). |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |

### getFieldValues

Values for the modifier. All operators should have a single value other
than 'IN' and 'BETWEEN'. 'PAST' will have negative seconds
like -86400 is past 1 day.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://protobuf.dev/reference/php/api-docs/Google/Protobuf/RepeatedField<string>` |   |

### setFieldValues

Values for the modifier. All operators should have a single value other
than 'IN' and 'BETWEEN'. 'PAST' will have negative seconds
like -86400 is past 1 day.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `string[]` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |