'Add a new <Gather> element
:param action: action URL
:param method: action URL method
:param timeout: time to wait while gathering input
:param finish_on_key: finish on key press
:param num_digits: digits to collect
:param partial_result_callback: callback url
:param partial_result_callback_method: callback method
:param language: locale string
:param hints: speech recognition hints
:param barge_in: stop playing media upon speech
:param acknowledge_sound_url: url to hit when sound starts
:param input: type Twilio should accept "dtfm", "speech", "dtfm speech"
:param kwargs: additional attributes
:return: <Response> element'

def gather(self, action=None, method=None, timeout=None, finish_on_key=None, num_digits=None, partial_result_callback=None, partial_result_callback_method=None, language=None, hints=None, barge_in=None, acknowledge_sound_url=None, input=None, **kwargs):

    return self.nest(Gather(action=action, method=method, timeout=timeout, finish_on_key=finish_on_key, num_digits=num_digits, partial_result_callback=partial_result_callback, partial_result_callback_method=partial_result_callback_method, language=format_language(language), hints=hints, barge_in=barge_in, acknowledge_sound_url=acknowledge_sound_url, input=input, **kwargs))
