Class Map (2.32.0)

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

A mapping of keys to values of a given type. Values of type Map are stored in a Value.array_value where each entry is another Value.array_value with two elements (the key and the value, in that order). Normally encoded Map values won't have repeated keys, however, clients are expected to handle the case in which they do. If the same key appears multiple times, the last value takes precedence.

Attributes

Name Description
key_type google.cloud.bigtable_admin_v2.types.Type
The type of a map key. Only Bytes, String, and Int64 are allowed as key types.
value_type google.cloud.bigtable_admin_v2.types.Type
The type of the values in a map.