public sealed class TtlConfig : IMessage<Field.Types.TtlConfig>, IEquatable<Field.Types.TtlConfig>, IDeepCloneable<Field.Types.TtlConfig>, IBufferMessage, IMessage
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"]],[["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\u003eThe webpage details the \u003ccode\u003eTtlConfig\u003c/code\u003e class within the \u003ccode\u003eGoogle.Cloud.Firestore.Admin.V1\u003c/code\u003e namespace, which manages the time-to-live (TTL) configuration for documents.\u003c/p\u003e\n"],["\u003cp\u003eVersion 3.12.0 is the latest version of \u003ccode\u003eTtlConfig\u003c/code\u003e, with a history of prior releases available, ranging down to version 2.2.0, and links are provided for each individual version.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eTtlConfig\u003c/code\u003e class, when set on a field, determines a document's expiration time when a timestamp value is stored in that field, or disables TTL if another data type is used or the field is left absent.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eTtlConfig\u003c/code\u003e class includes properties and constructors, such as a State property, and implements interfaces such as \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eTtlConfig\u003c/code\u003e inherits members from the \u003ccode\u003eObject\u003c/code\u003e class and the document provides links to additional information on inherited members and interfaces used, along with their documentation.\u003c/p\u003e\n"]]],[],null,[]]