public sealed class 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 Google Cloud Firestore Admin v1 API, covering versions from 2.2.0 to 3.12.0."],["`TtlConfig` is used to configure the time-to-live (TTL) setting for documents, allowing you to specify an expiration time for data."],["Storing a timestamp in a TTL-enabled field sets the document's expiration time, while other data types or an absent field will disable TTL for that document."],["The `TtlConfig` class implements several interfaces including `IMessage`, `IEquatable`, `IDeepCloneable`, and `IBufferMessage`."],["The latest version of this class is 3.12.0, with a total of 15 versions available for review from the 3.X.X and 2.X.X lines."]]],[]]