Class ListenRequest (2.7.2)

Stay organized with collections Save and categorize content based on your preferences.
ListenRequest(mapping=None, *, ignore_unknown_fields=False, **kwargs)

A request for Firestore.Listen][google.firestore.v1.Firestore.Listen]

This message has oneof_ fields (mutually exclusive fields). For each oneof, at most one member field can be set at the same time. Setting any member of the oneof automatically clears all other members.

.. _oneof: https://proto-plus-python.readthedocs.io/en/stable/fields.html#oneofs-mutually-exclusive-fields

Attributes

NameDescription
database str
Required. The database name. In the format: projects/{project_id}/databases/{database_id}.
add_target google.cloud.firestore_v1.types.Target
A target to add to this stream. This field is a member of oneof_ target_change.
remove_target int
The ID of a target to remove from this stream. This field is a member of oneof_ target_change.
labels Mapping[str, str]
Labels associated with this target change.

Inheritance

builtins.object > proto.message.Message > ListenRequest

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.