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. Timestamp values in the past
indicate that the document is eligible for immediate expiration. Using any
other data type or leaving the field absent will disable expiration 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-03-21 UTC."],[[["This webpage provides documentation for the `Field.Types.TtlConfig` class within the Firestore Admin v1 API for .NET."],["`TtlConfig` manages the time-to-live (TTL) setting for documents associated with a specific field, controlling when they expire."],["The latest version of `TtlConfig` available is 3.12.0, and this page contains version history of the class back to 2.2.0."],["Storing a timestamp in a TTL-enabled field sets the document's expiration time; past timestamps mean immediate expiration."],["`TtlConfig` implements interfaces like `IMessage`, `IEquatable`, `IDeepCloneable`, and `IBufferMessage`, and has a `State` property indicating the TTL configuration's status."]]],[]]