[[["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,["# Google Cloud Datastore Admin V1 Client - Class AncestorMode (1.0.4)\n\nVersion latestkeyboard_arrow_down\n\n- [1.0.4 (latest)](/php/docs/reference/cloud-datastore-admin/latest/V1.Index.AncestorMode)\n- [1.0.3](/php/docs/reference/cloud-datastore-admin/1.0.3/V1.Index.AncestorMode)\n- [0.8.5](/php/docs/reference/cloud-datastore-admin/0.8.5/V1.Index.AncestorMode)\n- [0.7.5](/php/docs/reference/cloud-datastore-admin/0.7.5/V1.Index.AncestorMode)\n- [0.6.0](/php/docs/reference/cloud-datastore-admin/0.6.0/V1.Index.AncestorMode)\n- [0.5.8](/php/docs/reference/cloud-datastore-admin/0.5.8/V1.Index.AncestorMode) \nReference documentation and code samples for the Google Cloud Datastore Admin V1 Client class AncestorMode.\n\nFor an ordered index, specifies whether each of the entity's ancestors\nwill be included.\n\nProtobuf type `google.datastore.admin.v1.Index.AncestorMode`\n\nNamespace\n---------\n\nGoogle \\\\ Cloud \\\\ Datastore \\\\ Admin \\\\ V1 \\\\ Index\n\nMethods\n-------\n\n### static::name\n\n### static::value\n\nConstants\n---------\n\n### ANCESTOR_MODE_UNSPECIFIED\n\n Value: 0\n\nThe ancestor mode is unspecified.\n\nGenerated from protobuf enum `ANCESTOR_MODE_UNSPECIFIED = 0;`\n\n### NONE\n\n Value: 1\n\nDo not include the entity's ancestors in the index.\n\nGenerated from protobuf enum `NONE = 1;`\n\n### ALL_ANCESTORS\n\n Value: 2\n\nInclude all the entity's ancestors in the index.\n\nGenerated from protobuf enum `ALL_ANCESTORS = 2;`"]]