[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-09-04 UTC."],[],[],null,["# Cloud Datastore V1 Client - Class Operator (1.33.1)\n\nVersion latestkeyboard_arrow_down\n\n- [1.33.1 (latest)](/php/docs/reference/cloud-datastore/latest/V1.PropertyFilter.Operator)\n- [1.33.0](/php/docs/reference/cloud-datastore/1.33.0/V1.PropertyFilter.Operator)\n- [1.32.3](/php/docs/reference/cloud-datastore/1.32.3/V1.PropertyFilter.Operator)\n- [1.31.0](/php/docs/reference/cloud-datastore/1.31.0/V1.PropertyFilter.Operator)\n- [1.30.0](/php/docs/reference/cloud-datastore/1.30.0/V1.PropertyFilter.Operator)\n- [1.29.2](/php/docs/reference/cloud-datastore/1.29.2/V1.PropertyFilter.Operator)\n- [1.28.2](/php/docs/reference/cloud-datastore/1.28.2/V1.PropertyFilter.Operator)\n- [1.26.0](/php/docs/reference/cloud-datastore/1.26.0/V1.PropertyFilter.Operator)\n- [1.25.0](/php/docs/reference/cloud-datastore/1.25.0/V1.PropertyFilter.Operator)\n- [1.24.4](/php/docs/reference/cloud-datastore/1.24.4/V1.PropertyFilter.Operator)\n- [1.23.0](/php/docs/reference/cloud-datastore/1.23.0/V1.PropertyFilter.Operator)\n- [1.22.1](/php/docs/reference/cloud-datastore/1.22.1/V1.PropertyFilter.Operator)\n- [1.21.2](/php/docs/reference/cloud-datastore/1.21.2/V1.PropertyFilter.Operator)\n- [1.19.0](/php/docs/reference/cloud-datastore/1.19.0/V1.PropertyFilter.Operator)\n- [1.18.1](/php/docs/reference/cloud-datastore/1.18.1/V1.PropertyFilter.Operator)\n- [1.17.1](/php/docs/reference/cloud-datastore/1.17.1/V1.PropertyFilter.Operator) \nReference documentation and code samples for the Cloud Datastore V1 Client class Operator.\n\nA property filter operator.\n\nProtobuf type `google.datastore.v1.PropertyFilter.Operator`\n\nNamespace\n---------\n\nGoogle \\\\ Cloud \\\\ Datastore \\\\ V1 \\\\ PropertyFilter\n\nMethods\n-------\n\n### static::name\n\n### static::value\n\nConstants\n---------\n\n### OPERATOR_UNSPECIFIED\n\n Value: 0\n\nUnspecified. This value must not be used.\n\nGenerated from protobuf enum `OPERATOR_UNSPECIFIED = 0;`\n\n### LESS_THAN\n\n Value: 1\n\nThe given `property` is less than the given `value`.\n\nRequires:\n\n- That `property` comes first in `order_by`.\n\nGenerated from protobuf enum `LESS_THAN = 1;`\n\n### LESS_THAN_OR_EQUAL\n\n Value: 2\n\nThe given `property` is less than or equal to the given `value`.\n\nRequires:\n\n- That `property` comes first in `order_by`.\n\nGenerated from protobuf enum `LESS_THAN_OR_EQUAL = 2;`\n\n### GREATER_THAN\n\n Value: 3\n\nThe given `property` is greater than the given `value`.\n\nRequires:\n\n- That `property` comes first in `order_by`.\n\nGenerated from protobuf enum `GREATER_THAN = 3;`\n\n### GREATER_THAN_OR_EQUAL\n\n Value: 4\n\nThe given `property` is greater than or equal to the given `value`.\n\nRequires:\n\n- That `property` comes first in `order_by`.\n\nGenerated from protobuf enum `GREATER_THAN_OR_EQUAL = 4;`\n\n### EQUAL\n\n Value: 5\n\nThe given `property` is equal to the given `value`.\n\nGenerated from protobuf enum `EQUAL = 5;`\n\n### IN\n\n Value: 6\n\nThe given `property` is equal to at least one value in the given array.\n\nRequires:\n\n- That `value` is a non-empty `ArrayValue`, subject to disjunction limits.\n- No `NOT_IN` is in the same query.\n\nGenerated from protobuf enum `IN = 6;`\n\n### NOT_EQUAL\n\n Value: 9\n\nThe given `property` is not equal to the given `value`.\n\nRequires:\n\n- No other `NOT_EQUAL` or `NOT_IN` is in the same query.\n- That `property` comes first in the `order_by`.\n\nGenerated from protobuf enum `NOT_EQUAL = 9;`\n\n### HAS_ANCESTOR\n\n Value: 11\n\nLimit the result set to the given entity and its descendants.\n\nRequires:\n\n- That `value` is an entity key.\n- All evaluated disjunctions must have the same `HAS_ANCESTOR` filter.\n\nGenerated from protobuf enum `HAS_ANCESTOR = 11;`\n\n### NOT_IN\n\n Value: 13\n\nThe value of the `property` is not in the given array.\n\nRequires:\n\n- That `value` is a non-empty `ArrayValue` with at most 10 values.\n- No other `OR`, `IN`, `NOT_IN`, `NOT_EQUAL` is in the same query.\n- That `field` comes first in the `order_by`.\n\nGenerated from protobuf enum `NOT_IN = 13;`"]]