Optional
data?: Record<string, unknown>Name of the document.
Optional
region?: RegionRegion to target. If none is passed will use default region from the config.
Twin ID.
Optional
version?: numberIf set, ensures that the current version of the document matches before persisting the update.
A json data that will be applied on the document's current data. Patching rules: The patch goes recursively through the patch objects. If the patch object property is null, it is removed from the final object. If the patch object property is a value (number, strings, bool, arrays), it is replaced. If the patch object property is an object, the previous rules will be applied recursively on it.