public sealed class Field.Types.TtlConfig : IMessage<Field.Types.TtlConfig>, IEquatable<Field.Types.TtlConfig>, IDeepCloneable<Field.Types.TtlConfig>, IBufferMessage, IMessage
Reference documentation and code samples for the Firestore Admin v1 API class Field.Types.TtlConfig.
The TTL (time-to-live) configuration for documents that have this Field
set.
Storing a timestamp value into a TTL-enabled field will be treated as
the document's absolute expiration time. Using any other data type or
leaving the field absent will disable the TTL for the individual document.
[[["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-04-17 UTC."],[[["This document provides reference information for the `Field.Types.TtlConfig` class within the Firestore Admin v1 API, specifically for the .NET environment, with the latest version being 3.12.0."],["The `Field.Types.TtlConfig` class implements interfaces such as `IMessage`, `IEquatable`, `IDeepCloneable`, and `IBufferMessage`, offering functionalities for message handling, equality comparisons, deep cloning, and buffered message operations."],["`TtlConfig` is designed for setting the time-to-live configuration for documents, where a timestamp in a TTL-enabled field determines the document's expiration time, while other data types or absence of data in the field will disable TTL."],["The `TtlConfig` class has a property called `State`, which is output-only, allowing you to determine the state of the TTL configuration within a field, which it utilizes a Field.Types.TtlConfig.Types.State data type."],["There are multiple links that go to each version of the TtlConfig documentation, starting from version 2.2.0 all the way to the latest 3.12.0."]]],[]]