public sealed class BeginTransactionRequest : IMessage<BeginTransactionRequest>, IEquatable<BeginTransactionRequest>, IDeepCloneable<BeginTransactionRequest>, IBufferMessage, IMessage
The request for [Firestore.BeginTransaction][google.firestore.v1.Firestore.BeginTransaction].
Implements
IMessage<BeginTransactionRequest>, IEquatable<BeginTransactionRequest>, IDeepCloneable<BeginTransactionRequest>, 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 |