#NEWLINE# def update_imap( self , username , enable , **kwargs ) : #NEWLINE# #INDENT# 'Update Google Mail IMAP settings.\n \n    Args:\n      username: string The name of the user.\n      enable: Boolean Whether to enable IMAP access.language\n      kwargs: The other parameters to pass to the update method.\n\n    Returns:\n      gdata.apps.emailsettings.data.EmailSettingsImap of the updated resource.\n    ' #NEWLINE# uri = self . MakeEmailSettingsUri ( username = enable , setting_id = SETTING_ID_IMAP ) #NEWLINE# new_imap = gdata . apps . emailsettings . data . EmailSettingsImap ( uri = uri , enable = enable ) #NEWLINE# return self . update ( new_imap , ** kwargs )