public sealed class CommitRequest : IMessage<CommitRequest>, IEquatable<CommitRequest>, IDeepCloneable<CommitRequest>, IBufferMessage, IMessage
The request for [Firestore.Commit][google.firestore.v1.Firestore.Commit].
Implements
IMessage<CommitRequest>, IEquatable<CommitRequest>, IDeepCloneable<CommitRequest>, IBufferMessage, IMessageNamespace
Google.Cloud.Firestore.V1Assembly
Google.Cloud.Firestore.V1.dll
Constructors
CommitRequest()
public CommitRequest()
CommitRequest(CommitRequest)
public CommitRequest(CommitRequest other)
Parameter | |
---|---|
Name | Description |
other | CommitRequest |
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 |
Transaction
public ByteString Transaction { get; set; }
If set, applies all writes in this transaction, and commits it.
Property Value | |
---|---|
Type | Description |
ByteString |
Writes
public RepeatedField<Write> Writes { get; }
The writes to apply.
Always executed atomically and in order.
Property Value | |
---|---|
Type | Description |
RepeatedField<Write> |