update Document
Serializes the given value into an equivalent JsonObject using a serializer retrieved from reified type parameter and set it as value of the SyncDocument without opening the document.
Type T must be annotated with @Serializable.
Parameters
sid Or Unique Name
SID or unique name of existing SyncDocument.
data
New document data.
Throws
Serialization Exception
If the given value cannot be serialized to JSON object.
Twilio Exception
When error occurred while updating the document.