def create(self, unique_name, friendly_name=values.unset, actions=values.unset,<EOL>actions_url=values.unset):
data = values.of({<EOL>'<STR_LIT>': unique_name,<EOL>'<STR_LIT>': friendly_name,<EOL>'<STR_LIT>': serialize.object(actions),<EOL>'<STR_LIT>': actions_url,<EOL>})<EOL>payload = self._version.create(<EOL>'<STR_LIT:POST>',<EOL>self._uri,<EOL>data=data,<EOL>)<EOL>return TaskInstance(self._version, payload, assistant_sid=self._solution['<STR_LIT>'], )<EOL>
Create a new TaskInstance

:param unicode unique_name: A user-provided string that uniquely identifies this resource as an alternative to the sid. Unique up to 64 characters long.
:param unicode friendly_name: A user-provided string that identifies this resource. It is non-unique and can up to 255 characters long.
:param dict actions: A user-provided JSON object encoded as a string to specify the actions for this task. It is optional and non-unique.
:param unicode actions_url: User-provided HTTP endpoint where from the assistant fetches actions

:returns: Newly created TaskInstance
:rtype: twilio.rest.preview.understand.assistant.task.TaskInstance