<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def login_with_google(self, email, oauth2_token, **kwargs):
 """Login to Todoist using Google's oauth2 authentication. :param email: The user's Google email address. :type email: str :param oauth2_token: The user's Google oauth2 token. :type oauth2_token: str :param auto_signup: If ``1`` register an account automatically. :type auto_signup: int :param full_name: The full name to use if the account is registered automatically. If no name is given an email based nickname is used. :type full_name: str :param timezone: The timezone to use if the account is registered automatically. If no timezone is given one is chosen based on the user's IP address. :type timezone: str :param lang: The user's language. :type lang: str :return: The HTTP response to the request. :rtype: :class:`requests.Response` John Doe """

        params = {
            'email': email,
            'oauth2_token': oauth2_token
        }
        req_func = self._get
        if kwargs.get('auto_signup', 0) == 1:  # POST if we're creating a user.
            req_func = self._post
        return req_func('login_with_google', params, **kwargs)