i am using google gmail API for reading user email signature :
public GenericEntry retrieveSettings(String username, String setting)
throws IOException, ServiceException {
URL singleUrl = new URL(BASE_URL + "emailsettings/2.0/" + domain + "/" + username + "/" + setting);
return userService.getEntry(singleUrl, GenericEntry.class);
}
and then i am reading signature property like this :
genericEntry.getProperty("signature");
After migration into last version of google client library line above returns always null. I noticed that signature is still returning in response but it`s in xmlBlob object.
I wonder why is this change happened and how i can parse xmlBlob object with the same encoding as getProperty method ?
I had to parse XmlBlob to get data and remove http encoding.
Each time when we change version of Google client library we have to solve something, API is not stable at all.