A message that can hold any of the supported value types.
JSON representation | |
---|---|
{ // Union field |
Fields | ||
---|---|---|
Union field value_type . Must have a value set. value_type can be only one of the following: |
||
nullValue |
A null value. |
|
booleanValue |
A boolean value. |
|
integerValue |
An integer value. |
|
doubleValue |
A double value. |
|
timestampValue |
A timestamp value. Precise only to microseconds. When stored, any additional precision is rounded down. A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: |
|
stringValue |
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. |
|
bytesValue |
A bytes value. Must not exceed 1 MiB - 89 bytes. Only the first 1,500 bytes are considered by queries. A base64-encoded string. |
|
referenceValue |
A reference to a document. For example: |
|
geoPointValue |
A geo point value representing a point on the surface of Earth. |
|
arrayValue |
An array value. Cannot directly contain another array value, though can contain an map which contains another array. |
|
mapValue |
A map value. |
MapValue
A map value.
JSON representation | |
---|---|
{
"fields": {
string: {
object ( |
Fields | |
---|---|
fields |
The map's fields. The map keys represent field names. Field names matching the regular expression An object containing a list of |