Cloud Firestore V1 API - Class Google::Cloud::Firestore::V1::MapValue (v0.9.0)

Reference documentation and code samples for the Cloud Firestore V1 API class Google::Cloud::Firestore::V1::MapValue.

A map value.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#fields

def fields() -> ::Google::Protobuf::Map{::String => ::Google::Cloud::Firestore::V1::Value}
Returns
  • (::Google::Protobuf::Map{::String => ::Google::Cloud::Firestore::V1::Value}) — The map's fields.

    The map keys represent field names. Field names matching the regular expression __.*__ are reserved. Reserved field names are forbidden except in certain documented contexts. The map keys, represented as UTF-8, must not exceed 1,500 bytes and cannot be empty.

#fields=

def fields=(value) -> ::Google::Protobuf::Map{::String => ::Google::Cloud::Firestore::V1::Value}
Parameter
  • value (::Google::Protobuf::Map{::String => ::Google::Cloud::Firestore::V1::Value}) — The map's fields.

    The map keys represent field names. Field names matching the regular expression __.*__ are reserved. Reserved field names are forbidden except in certain documented contexts. The map keys, represented as UTF-8, must not exceed 1,500 bytes and cannot be empty.

Returns
  • (::Google::Protobuf::Map{::String => ::Google::Cloud::Firestore::V1::Value}) — The map's fields.

    The map keys represent field names. Field names matching the regular expression __.*__ are reserved. Reserved field names are forbidden except in certain documented contexts. The map keys, represented as UTF-8, must not exceed 1,500 bytes and cannot be empty.