Class ServerTimestampAttribute (2.5.0)

[AttributeUsage(AttributeTargets.Property)]
public sealed class ServerTimestampAttribute : Attribute

Attribute indicating that the value of the property within the .NET object should be ignored when creating or modifying a document. Instead, the server time of the commit that creates or modifies the document is automatically used to populate the value in the Firestore document.

Inheritance

Object > Attribute > ServerTimestampAttribute

Namespace

Google.Cloud.Firestore

Assembly

Google.Cloud.Firestore.dll