public sealed class BatchWriteRequest : IMessage<BatchWriteRequest>, IEquatable<BatchWriteRequest>, IDeepCloneable<BatchWriteRequest>, IBufferMessage, IMessage
The request for [Firestore.BatchWrite][google.firestore.v1.Firestore.BatchWrite].
Implements
IMessage<BatchWriteRequest>, IEquatable<BatchWriteRequest>, IDeepCloneable<BatchWriteRequest>, IBufferMessage, IMessageNamespace
Google.Cloud.Firestore.V1Assembly
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 |
MapField<String, String> |
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 |
RepeatedField<Write> |