Firestore v1 API - Class BatchWriteRequest (3.7.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

Google.Cloud.Firestore.V1

Assembly

Google.Cloud.Firestore.V1.dll

Constructors

BatchWriteRequest()

public BatchWriteRequest()

BatchWriteRequest(BatchWriteRequest)

public BatchWriteRequest(BatchWriteRequest other)
Parameter
Name Description
other BatchWriteRequest

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

Labels

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

Labels associated with this batch write.

Property Value
Type Description
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
Type Description
RepeatedFieldWrite