Class BatchWriteRequest (2.6.0)

BatchWriteRequest(mapping=None, *, ignore_unknown_fields=False, **kwargs)

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

Attributes

NameDescription
database str
Required. The database name. In the format: ``projects/{project_id}/databases/{database_id}``.
writes Sequence[google.cloud.firestore_v1.types.Write]
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.
labels Mapping[str, str]
Labels associated with this batch write.

Inheritance

builtins.object > proto.message.Message > BatchWriteRequest

Classes

LabelsEntry

LabelsEntry(mapping=None, *, ignore_unknown_fields=False, **kwargs)

The abstract base class for a message.

Parameters
NameDescription
kwargs dict

Keys and values corresponding to the fields of the message.

mapping Union[dict, `.Message`]

A dictionary or message to be used to determine the values for this message.

ignore_unknown_fields Optional(bool)

If True, do not raise errors for unknown fields. Only applied if mapping is a mapping type or there are keyword parameters.