Firestore v1 API - Class CommitRequest (3.2.0)

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

Reference documentation and code samples for the Firestore v1 API class CommitRequest.

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

Inheritance

object > CommitRequest

Namespace

GoogleCloudGoogle.Cloud.FirestoreV1

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
RepeatedFieldWrite