Firestore v1 API - Class CommitRequest (3.6.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

Google.Cloud.Firestore.V1

Assembly

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
RepeatedFieldWrite