#NEWLINE# def InsertItem( self , new_item , url_params = None , escape_params = True , converter = None ) : #NEWLINE# #INDENT# "Adds an item to Google Base.\n\n    Args: \n      new_item: atom.Entry or subclass A new item which is to be added to \n                Google Base.\n      url_params: dict (optional) Additional URL parameters to be included\n                  in the insertion request. \n      escape_params: boolean (optional) If true, the url_parameters will be\n                     escaped before they are included in the request.\n      converter: func (optional) Function which is executed on the server's\n          response before it is returned. Usually this is a function like\n          GBaseItemFromString which will parse the response and turn it into\n          an object.\n\n    Returns:\n      If converter is defined, the results of running converter on the server's\n      response. Otherwise, it will be a GBaseItem.\n    " #NEWLINE# response = self . Post ( converter , '/base/feeds/items' , url_params = url_params , escape_params = escape_params , converter = converter ) #NEWLINE# if ( ( not converter ) and isinstance ( response , atom . Entry ) ) : #NEWLINE# #INDENT# return gdata . base . GBaseItemFromString ( response . ToString ( ) ) #NEWLINE# #UNINDENT# return response