Hi All,
Thanks for your reply. But I have one more concern. I finally got the
status as completed. I think it is because the size of the mailbox was very
small relatively just a few mails in them. But when I see the numberOfFiles
property of the GenericEntry it shows 0. Why would that be the case even if
it has mails in it? For the account info request I get a file url from
which I can download all the encrypted requests. I do know for sure that
the account has a number of emails.
Am I going wrong anywhere here?
I have my code pasted below:
LOGGER.log(Level.INFO, "\n------retrieveAllMailboxDumpRequests with
fromDate---- ");
Calendar c = Calendar.getInstance();
List<GenericEntry> entries =
service.retrieveAllMailboxDumpRequests(c.getTime());
for (GenericEntry sampleEntry2 : entries) {
MailBoxDumpRequest request = new MailBoxDumpRequest(sampleEntry2);
LOGGER.log(Level.INFO, "All requests -" +
sampleEntry2.getAllProperties().toString());
}
The output is a series of loops where all the properties are printed. One
of them looks like this:
INFO: All requests -{numberOfFiles=0, completedDate=2012-07-24 01:07,
includeDeleted=false, packageContent=FULL_MESSAGE, requestId=73957890,
status=COMPLETED, userEmailAddress=<user>@<mydomain>.com,
searchQuery=in:chat, adminEmailAddress=<admin-username>@<mydomain>.com,
endDate=2009-08-31 01:00, requestDate=2012-07-23 20:53,
beginDate=2009-07-01 09:30}
Why would the numberOfFiles be 0 even if I do have mails in it? Shouldnt I
be betting a file URL from where I can download it?
On Monday, July 23, 2012 6:03:02 PM UTC-5, jahnavi patel wrote:
>
> I am using the Google Email Audit API. I have uploaded the public key
> successfully and am to get the results of the Account Info. But when trying
> to receive the response for the export url, the status is still showing
> PENDING since the past 24 hours. How long does it take for the STATUS to be
> COMPLETED???
>
>
--
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/-/XhF75e05f0cJ.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/google-apps-mgmt-apis?hl=en.