Generated from protobuf enumSTATE_UNSPECIFIED = 0;
CREATING
Value: 1
The index is being created, and cannot be used by queries.
There is an active long-running operation for the index.
The index is updated when writing an entity.
Some index data may exist.
Generated from protobuf enumCREATING = 1;
READY
Value: 2
The index is ready to be used.
The index is updated when writing an entity.
The index is fully populated from all stored entities it applies to.
Generated from protobuf enumREADY = 2;
DELETING
Value: 3
The index is being deleted, and cannot be used by queries.
There is an active long-running operation for the index.
The index is not updated when writing an entity.
Some index data may exist.
Generated from protobuf enumDELETING = 3;
ERROR
Value: 4
The index was being created or deleted, but something went wrong.
The index cannot by used by queries.
There is no active long-running operation for the index,
and the most recently finished long-running operation failed.
The index is not updated when writing an entity.
Some index data may exist.
[[["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 State (1.0.4)\n\nVersion latestkeyboard_arrow_down\n\n- [1.0.4 (latest)](/php/docs/reference/cloud-datastore-admin/latest/V1.Index.State)\n- [1.0.3](/php/docs/reference/cloud-datastore-admin/1.0.3/V1.Index.State)\n- [0.8.5](/php/docs/reference/cloud-datastore-admin/0.8.5/V1.Index.State)\n- [0.7.5](/php/docs/reference/cloud-datastore-admin/0.7.5/V1.Index.State)\n- [0.6.0](/php/docs/reference/cloud-datastore-admin/0.6.0/V1.Index.State)\n- [0.5.8](/php/docs/reference/cloud-datastore-admin/0.5.8/V1.Index.State) \nReference documentation and code samples for the Google Cloud Datastore Admin V1 Client class State.\n\nThe possible set of states of an index.\n\nProtobuf type `google.datastore.admin.v1.Index.State`\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### STATE_UNSPECIFIED\n\n Value: 0\n\nThe state is unspecified.\n\nGenerated from protobuf enum `STATE_UNSPECIFIED = 0;`\n\n### CREATING\n\n Value: 1\n\nThe index is being created, and cannot be used by queries.\n\nThere is an active long-running operation for the index.\nThe index is updated when writing an entity.\nSome index data may exist.\n\nGenerated from protobuf enum `CREATING = 1;`\n\n### READY\n\n Value: 2\n\nThe index is ready to be used.\n\nThe index is updated when writing an entity.\nThe index is fully populated from all stored entities it applies to.\n\nGenerated from protobuf enum `READY = 2;`\n\n### DELETING\n\n Value: 3\n\nThe index is being deleted, and cannot be used by queries.\n\nThere is an active long-running operation for the index.\nThe index is not updated when writing an entity.\nSome index data may exist.\n\nGenerated from protobuf enum `DELETING = 3;`\n\n### ERROR\n\n Value: 4\n\nThe index was being created or deleted, but something went wrong.\n\nThe index cannot by used by queries.\nThere is no active long-running operation for the index,\nand the most recently finished long-running operation failed.\nThe index is not updated when writing an entity.\nSome index data may exist.\n\nGenerated from protobuf enum `ERROR = 4;`"]]