public sealed class BeginTransactionRequest : IMessage<BeginTransactionRequest>, IEquatable<BeginTransactionRequest>, IDeepCloneable<BeginTransactionRequest>, IBufferMessage, IMessage
Reference documentation and code samples for the Firestore v1 API class BeginTransactionRequest.
The request for [Firestore.BeginTransaction][google.firestore.v1.Firestore.BeginTransaction].
Implements
IMessageBeginTransactionRequest, IEquatableBeginTransactionRequest, IDeepCloneableBeginTransactionRequest, IBufferMessage, IMessageNamespace
Google.Cloud.Firestore.V1Assembly
Google.Cloud.Firestore.V1.dll
Constructors
BeginTransactionRequest()
public BeginTransactionRequest()
BeginTransactionRequest(BeginTransactionRequest)
public BeginTransactionRequest(BeginTransactionRequest other)
Parameter | |
---|---|
Name | Description |
other | BeginTransactionRequest |
Properties
Database
public string Database { get; set; }
Required. The database name. In the format:
projects/{project_id}/databases/{database_id}
.
Property Value | |
---|---|
Type | Description |
string |
Options
public TransactionOptions Options { get; set; }
The options for the transaction. Defaults to a read-write transaction.
Property Value | |
---|---|
Type | Description |
TransactionOptions |