#NEWLINE# def CreateContact( self , new_contact , insert_uri = None , url_params = None , escape_params = True ) : #NEWLINE# #INDENT# "Adds an new contact to Google Contacts.\n\n    Args: \n      new_contact: atom.Entry or subclass A new contact which is to be added to\n                Google Contacts.\n      insert_uri: the URL to post new contacts to the feed\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\n    Returns:\n      On successful insert,  an entry containing the contact created\n      On failure, a RequestError is raised of the form:\n        {'status': HTTP status code from server, \n         'reason': HTTP reason from the server, \n         'body': HTTP body of the server's response}\n    " #NEWLINE# insert_uri = ( insert_uri or self . GetFeedUri ( ) ) #NEWLINE# return self . Post ( new_contact , insert_uri , url_params = url_params , escape_params = escape_params , converter = gdata . contacts . ContactEntryFromString )