Firestore API - Class ServerTimestampAttribute (3.7.0)

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

Reference documentation and code samples for the Firestore API class ServerTimestampAttribute.

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