Class Value (2.3.4)

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

A message that can hold any of the supported value types. .. attribute:: null_value

A null value.

:type: google.protobuf.struct_pb2.NullValue

Attributes

NameDescription
boolean_value bool
A boolean value.
integer_value int
An integer value.
double_value float
A double value.
timestamp_value google.protobuf.timestamp_pb2.Timestamp
A timestamp value. Precise only to microseconds. When stored, any additional precision is rounded down.
string_value str
A string value. The string, represented as UTF-8, must not exceed 1 MiB - 89 bytes. Only the first 1,500 bytes of the UTF-8 representation are considered by queries.
bytes_value bytes
A bytes value. Must not exceed 1 MiB - 89 bytes. Only the first 1,500 bytes are considered by queries.
reference_value str
A reference to a document. For example: projects/{project_id}/databases/{database_id}/documents/{document_path}.
geo_point_value google.type.latlng_pb2.LatLng
A geo point value representing a point on the surface of Earth.
array_value google.cloud.firestore_v1.types.ArrayValue
An array value. Cannot directly contain another array value, though can contain an map which contains another array.
map_value google.cloud.firestore_v1.types.MapValue
A map value.