class Google::Apis::FirestoreV1::MapValue

A map value.

Attributes

fields[RW]

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. Corresponds to the JSON property `fields` @return [Hash<String,Google::Apis::FirestoreV1::Value>]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/firestore_v1/classes.rb, line 1757
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/firestore_v1/classes.rb, line 1762
def update!(**args)
  @fields = args[:fields] if args.key?(:fields)
end