I am uploading data to Google apps programmatically. I am using the following code
MailItemEntry[] entries = new MailItemEntry[1];
entries[0] = new MailItemEntry();
entries[0].BatchData = new Google.GData.Client.GDataBatchEntryData();
MailItemFeed feed = mailItemService.Batch(domain, UserName, entries);
Is there any way to find out how much data(in MB or GB) has been uploaded to google apps. Thanks in advance.
The Sell Feed API lets sellers upload and download feed files and reports, and create schedules. Both upload and download feed files are processed asynchronously by eBay. The status of all upload and download tasks are tracked with a unique 'task ID'.
Google Cloud APIs are programmatic interfaces to Google Cloud Platform services. They are a key part of Google Cloud Platform, allowing you to easily add the power of everything from computing to networking to storage to machine-learning-based data analysis to your applications.
The Google Ads API lets developers create and use applications that interact directly with their account details on the Google Ads server. The API helps advertisers efficiently manage large Google Ads accounts and campaigns.
What you can do it utilize the BatchAsync
of the mailItemService
and hook up to the AsyncOperationProgress
event. This will tell you, as a percent, how much of the data has been sent. Just be aware that BatchAsync
is a non blocking call, so your application will need to change as a result.
If you have access to the length of the data that you are sending, you can calculate how much has gone up with each progress changed event.
See Google-docs http://google-gdata.googlecode.com/svn-history/r902/docs/folder4/AllMembers_T_Google_GData_Apps_Migration_MailItemService.htm
MSDN http://msdn.microsoft.com/en-us/library/system.componentmodel.progresschangedeventargs.aspx
Hope that helps
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With