The TTL is being applied. There is an active long-running operation to
track the change. Newly written documents will have TTLs applied as
requested. Requested TTLs on existing documents are still being
processed. When TTLs on all existing documents have been processed, the
state will move to 'ACTIVE'.
NeedsRepair
The TTL configuration could not be enabled for all existing documents.
Newly written documents will continue to have their TTL applied.
The LRO returned when last attempting to enable TTL for this Field
has failed, and may have more details.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-07 UTC."],[[["\u003cp\u003eThis document provides reference information for the \u003ccode\u003eField.Types.TtlConfig.Types.State\u003c/code\u003e enum within the Google Cloud Firestore Admin V1 API, covering versions from 2.2.0 to the latest, 3.12.0.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eState\u003c/code\u003e enum defines the status of applying the TTL configuration to documents, which can be \u003ccode\u003eActive\u003c/code\u003e, \u003ccode\u003eCreating\u003c/code\u003e, \u003ccode\u003eNeedsRepair\u003c/code\u003e, or \u003ccode\u003eUnspecified\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe TTL \u003ccode\u003eActive\u003c/code\u003e state indicates that the TTL is fully operational for all documents, whereas the \u003ccode\u003eCreating\u003c/code\u003e state means the TTL is being applied, and newly written documents will have the TTLs applied.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eNeedsRepair\u003c/code\u003e state indicates that the TTL configuration failed for some documents, though new documents will still have their TTL applied and the last attempt to apply it has failed.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eUnspecified\u003c/code\u003e state denotes an unknown or undefined state of the TTL configuration, meaning we do not know the current status.\u003c/p\u003e\n"]]],[],null,[]]