Missing 'Retrieve...' attributes - Email Settings API (Python)

28 views
Skip to first unread message

Ryan Mayes

unread,
Sep 23, 2011, 10:33:44 AM9/23/11
to google-app...@googlegroups.com
The sample code for python in the Email Settings API Developer's Guide includes multiple examples of retrieving settings, however, I seem to only be seeing the update attributes while the retrieve attributes are missing.

(Using gdata 2.0.14 and python 2.7.2)

##code

SOURCE_CLIENT = gdata.apps.emailsettings.client.EmailSettingsClient(domain=SOURCE_DOMAIN)
SOURCE_CLIENT.ClientLogin(email=SOURCE_REQUESTOR_ID, password=SOURCE_PASSWORD, source='Mail-Migration')
SOURCE_CLIENT.RetrieveImap(username='test1')

##endcode

I iterated the available attributes of the client (SOURCE_CLIENT) so that you can see what is there and what is missing:

ClientLogin
CreateFilter
CreateLabel
CreateSendAs
Delete
Get
GetAccessToken
GetEntry
GetFeed
GetNext
GetOAuthToken
MakeEmailSettingsUri
ModifyRequest
Post
Put
Request
RequestClientLoginToken
RevokeToken
Update
UpdateForwarding
UpdateGeneralSettings
UpdateImap
UpdateLanguage
UpdatePop
UpdateSignature
UpdateVacation
UpdateWebclip
UpgradeToken
_GDClient__gsessionid
__class__
__delattr__
__dict__
__doc__
__format__
__getattribute__
__hash__
__init__
__module__
__new__
__reduce__
__reduce_ex__
__repr__
__setattr__
__sizeof__
__str__
__subclasshook__
__weakref__
api_version
auth_scopes
auth_service
auth_token
client_login
create_filter
create_label
create_send_as
delete
domain
get
get_access_token
get_entry
get_feed
get_next
get_oauth_token
host
http_client
make_email_settings_uri
modify_request
post
put
request
request_client_login_token
revoke_token
source
ssl
update
update_forwarding
update_general_settings
update_imap
update_language
update_pop
update_signature
update_vacation
update_webclip
upgrade_token

Any ideas?
-Ryan

Shraddha Gupta

unread,
Sep 23, 2011, 12:34:44 PM9/23/11
to google-app...@googlegroups.com
Hi Mayes,

Gdata librarary does not show the latest updates.  Please checkout the latest version from the link below where all the retrieve settings functions are present.
You need to install mercurial to checkout the code as the code is on mercurial repository.

Thanks,
Shraddha Gupta,
Developer Programs Engineer.
Google, Hyderabad.


--
You received this message because you are subscribed to the Google Groups "Google Apps Domain Information and Management APIs" group.
To view this discussion on the web visit https://groups.google.com/d/msg/google-apps-mgmt-apis/-/pcbNN4McDJAJ.
To post to this group, send email to google-app...@googlegroups.com.
To unsubscribe from this group, send email to google-apps-mgmt...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-apps-mgmt-apis?hl=en.

Ryan Mayes

unread,
Sep 27, 2011, 12:43:11 PM9/27/11
to google-app...@googlegroups.com
Hi Shraddha,

Thanks for the reply. I was able to download and install the new code set, but now some of the functions I use with the docs api are missing. I tried to figure out what the equivalent of 'GetDoc' was and assumed it is 'GetResource' but it seems that it requires different criteria than the resource id and a uri. I tried to navigate the commit logs to understand what changes have taken place, but I am having trouble. Is there a discussion area or updated help file I am missing where these changes are discussed? Or is this just something that is part of the development process that I can't see.

-Ryan
Reply all
Reply to author
Forward
0 new messages