Class CommitRequest (3.0.0)

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

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

Inheritance

Object > CommitRequest

Namespace

Google.Cloud.Firestore.V1

Assembly

Google.Cloud.Firestore.V1.dll

Constructors

CommitRequest()

public CommitRequest()

CommitRequest(CommitRequest)

public CommitRequest(CommitRequest other)
Parameter
NameDescription
otherCommitRequest

Properties

Database

public string Database { get; set; }

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

Property Value
TypeDescription
String

Transaction

public ByteString Transaction { get; set; }

If set, applies all writes in this transaction, and commits it.

Property Value
TypeDescription
ByteString

Writes

public RepeatedField<Write> Writes { get; }

The writes to apply.

Always executed atomically and in order.

Property Value
TypeDescription
RepeatedField<Write>