public sealed class TransactionOptions.Types.ReadOnly : IMessage<TransactionOptions.Types.ReadOnly>, IEquatable<TransactionOptions.Types.ReadOnly>, IDeepCloneable<TransactionOptions.Types.ReadOnly>, IBufferMessage, IMessage
Reference documentation and code samples for the Firestore v1 API class TransactionOptions.Types.ReadOnly.
Options for a transaction that can only be used to read documents.
This must be a microsecond precision timestamp within the past one
hour, or if Point-in-Time Recovery is enabled, can additionally be a
whole minute timestamp within the past 7 days.
[[["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\u003eThis document provides reference information for the \u003ccode\u003eTransactionOptions.Types.ReadOnly\u003c/code\u003e class within the Google Cloud Firestore V1 API, specifically for .NET.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eTransactionOptions.Types.ReadOnly\u003c/code\u003e class allows for defining options for transactions that are restricted to reading documents, and is sealed for increased security.\u003c/p\u003e\n"],["\u003cp\u003eIt inherits from \u003ccode\u003eobject\u003c/code\u003e and implements several interfaces: \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e, providing functionalities for message handling, equality checks, deep cloning, and buffer operations.\u003c/p\u003e\n"],["\u003cp\u003eThe class offers two constructors: a default \u003ccode\u003eReadOnly()\u003c/code\u003e constructor, and another \u003ccode\u003eReadOnly(TransactionOptions.Types.ReadOnly other)\u003c/code\u003e that allows creating a read only transaction by copying the options from another, and a property named \u003ccode\u003eConsistencySelectorCase\u003c/code\u003e that is a \u003ccode\u003eConsistencySelectorOneofCase\u003c/code\u003e type, that determines consistency.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eReadTime\u003c/code\u003e property allows reading documents at a specific point in time, which can be within the past hour at microsecond precision, or within the past 7 days at whole minute precision if Point-in-Time Recovery is enabled.\u003c/p\u003e\n"]]],[],null,[]]