Firestore v1 API - Class TransactionOptions (3.8.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

Google.Cloud.Firestore.V1

Assembly

Google.Cloud.Firestore.V1.dll

Constructors

TransactionOptions()

public TransactionOptions()

TransactionOptions(TransactionOptions)

public TransactionOptions(TransactionOptions other)
Parameter
Name Description
other TransactionOptions

Properties

ModeCase

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

ReadOnly

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

The transaction can only be used for read operations.

Property Value
Type Description
TransactionOptionsTypesReadOnly

ReadWrite

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

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

Property Value
Type Description
TransactionOptionsTypesReadWrite