Class BeginTransactionRequest (2.3.0)

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

The request for [Firestore.BeginTransaction][google.firestore.v1.Firestore.BeginTransaction].

Inheritance

Object > BeginTransactionRequest

Namespace

Google.Cloud.Firestore.V1

Assembly

Google.Cloud.Firestore.V1.dll

Constructors

BeginTransactionRequest()

public BeginTransactionRequest()

BeginTransactionRequest(BeginTransactionRequest)

public BeginTransactionRequest(BeginTransactionRequest other)
Parameter
NameDescription
otherBeginTransactionRequest

Properties

Database

public string Database { get; set; }

Required. The database name. In the format: projects/{project_id}/databases/{database_id}.

Property Value
TypeDescription
String

Options

public TransactionOptions Options { get; set; }

The options for the transaction. Defaults to a read-write transaction.

Property Value
TypeDescription
TransactionOptions