[[["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-06-16 UTC."],[[["\u003cp\u003eThe content describes an immutable \u003ccode\u003eIndex\u003c/code\u003e object within the \u003ccode\u003egoogle.appengine.ext.ndb\u003c/code\u003e module, used for representing a data index.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eIndex\u003c/code\u003e objects have three attributes: \u003ccode\u003eancestor\u003c/code\u003e (a boolean indicating if it's an ancestor index), \u003ccode\u003ekind\u003c/code\u003e (a string specifying the type of entity being indexed), and \u003ccode\u003eproperties\u003c/code\u003e (a list of \u003ccode\u003ePropertyIndex\u003c/code\u003e objects).\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eIndex\u003c/code\u003e class implements two comparison methods: \u003ccode\u003e__eq__\u003c/code\u003e for equality and \u003ccode\u003e__ne__\u003c/code\u003e for inequality between \u003ccode\u003eIndex\u003c/code\u003e instances.\u003c/p\u003e\n"],["\u003cp\u003eThe provided resource has a link to view its source code on GitHub.\u003c/p\u003e\n"]]],[],null,["# google.appengine.ext.ndb.Index\n\n\u003cbr /\u003e\n\nImmutable object representing an index.\n\nInherits From: [`expected_type`](../../../../google/appengine/api/validation/Validator/expected_type) \n\n google.appengine.ext.ndb.Index(\n kind, properties, ancestor\n )\n\n\u003cbr /\u003e\n\n\u003cbr /\u003e\n\n\u003cbr /\u003e\n\n\u003cbr /\u003e\n\nMethods\n-------\n\n### `__eq__`\n\n[View source](https://github.com/GoogleCloudPlatform/appengine-python-standard/tree/main/src/google/appengine/ext/ndb/model.py#L598-L604) \n\n __eq__(\n other\n )\n\nCompare two indexes.\n\n### `__ne__`\n\n[View source](https://github.com/GoogleCloudPlatform/appengine-python-standard/tree/main/src/google/appengine/ext/ndb/model.py#L417-L422) \n\n __ne__(\n other\n )\n\nImplement self != other as not(self == other)."]]