Firestore v1 API - Class BatchWriteRequest (3.1.0)

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

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

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

Inheritance

object > BatchWriteRequest

Namespace

GoogleCloudGoogle.Cloud.FirestoreV1

Assembly

Google.Cloud.Firestore.V1.dll

Constructors

BatchWriteRequest()

public BatchWriteRequest()

BatchWriteRequest(BatchWriteRequest)

public BatchWriteRequest(BatchWriteRequest other)
Parameter
NameDescription
otherBatchWriteRequest

Properties

Database

public string Database { get; set; }

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

Property Value
TypeDescription
string

Labels

public MapField<string, string> Labels { get; }

Labels associated with this batch write.

Property Value
TypeDescription
MapFieldstringstring

Writes

public RepeatedField<Write> Writes { get; }

The writes to apply.

Method does not apply writes atomically and does not guarantee ordering. Each write succeeds or fails independently. You cannot write to the same document more than once per request.

Property Value
TypeDescription
RepeatedFieldWrite