Cloud Firestore Admin V1 API - Module Google::Cloud::Firestore::Admin::V1::Field::TtlConfig::State (v1.9.0)
Stay organized with collections
Save and categorize content based on your preferences.
Reference documentation and code samples for the Cloud Firestore Admin V1 API module Google::Cloud::Firestore::Admin::V1::Field::TtlConfig::State.
The state of applying the TTL configuration to all documents.
Constants
STATE_UNSPECIFIED
value: 0
The state is unspecified or unknown.
CREATING
value: 1
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'.
ACTIVE
value: 2
The TTL is active for all documents.
NEEDS_REPAIR
value: 3
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.
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-10-10 UTC.
[[["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-10-10 UTC."],[],[]]