FieldTtlConfig class

Constructors

FieldTtlConfig({Input<String?>? expirationOffset, Input<String?>? state})
Creates a new FieldTtlConfig. expirationOffset The offset, relative to the timestamp value from the field, used to determine the document's expiration time. Formatted as the number of seconds followed by 's'. For example, "60s" represents an offset of one minute. The number of seconds must be between 1 and 2147483647 inclusive. To configure no offset, omit this field. state (Output)
const
FieldTtlConfig.fromMap(Map<String, dynamic> map)
factory

Properties

expirationOffset → Input<String?>?
The offset, relative to the timestamp value from the field, used to determine the document's expiration time. Formatted as the number of seconds followed by 's'. For example, "60s" represents an offset of one minute. The number of seconds must be between 1 and 2147483647 inclusive. To configure no offset, omit this field.
final
hashCode → int
The hash code for this object.
no setterinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
state → Input<String?>?
(Output) The state of TTL (time-to-live) configuration for documents that have this Field set.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toMap() → Map<String, dynamic>
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited