Class Field.Types.TtlConfig (3.0.0)

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.

Inheritance

Object > Field.Types.TtlConfig

Namespace

Google.Cloud.Firestore.Admin.V1

Assembly

Google.Cloud.Firestore.Admin.V1.dll

Constructors

TtlConfig()

public TtlConfig()

TtlConfig(Field.Types.TtlConfig)

public TtlConfig(Field.Types.TtlConfig other)
Parameter
NameDescription
otherField.Types.TtlConfig

Properties

State

public Field.Types.TtlConfig.Types.State State { get; set; }

Output only. The state of the TTL configuration.

Property Value
TypeDescription
Field.Types.TtlConfig.Types.State