Firestore v1 API - Class TransactionOptions (3.1.0)

public sealed class TransactionOptions : IMessage<TransactionOptions>, IEquatable<TransactionOptions>, IDeepCloneable<TransactionOptions>, IBufferMessage, IMessage

Reference documentation and code samples for the Firestore v1 API class TransactionOptions.

Options for creating a new transaction.

Inheritance

object > TransactionOptions

Namespace

GoogleCloudGoogle.Cloud.FirestoreV1

Assembly

Google.Cloud.Firestore.V1.dll

Constructors

TransactionOptions()

public TransactionOptions()

TransactionOptions(TransactionOptions)

public TransactionOptions(TransactionOptions other)
Parameter
NameDescription
otherTransactionOptions

Properties

ModeCase

public TransactionOptions.ModeOneofCase ModeCase { get; }
Property Value
TypeDescription
TransactionOptionsModeOneofCase

ReadOnly

public TransactionOptions.Types.ReadOnly ReadOnly { get; set; }

The transaction can only be used for read operations.

Property Value
TypeDescription
TransactionOptionsTypesReadOnly

ReadWrite

public TransactionOptions.Types.ReadWrite ReadWrite { get; set; }

The transaction can be used for both read and write operations.

Property Value
TypeDescription
TransactionOptionsTypesReadWrite