'Deletes a Task or list of Tasks in this Queue, by name.
When multiple tasks are specified, an exception will be raised if any
individual task fails to be deleted.
Args:
task_name: A string corresponding to a task name, or an iterable of
strings corresponding to task names.
Returns:
If an iterable (other than string) is provided as input,  a list of of
Task objects, one for each task name in the order requested. The
Task.was_deleted property will be True for each task deleted by this call,
and will be False for unknown and tombstoned tasks.
Otherwise, if a single string was provided as input, a single Task object.
Raises:
DuplicateTaskNameError: if a Task name is repeated in the request.
Error-subclass on application errors.'

def delete_tasks_by_name(self, task_name):

    return self.delete_tasks_by_name_async(task_name).get_result()
