Awesome feature!. Will this work with the DocsList class soon so we (Apps administrators) can manage docs created by users in our domain, via Apps Script?
What kind of DocsList/Provisioning integration are you interested in? Please describe your use case so that we can correctly prioritize our future development. Thanks
This Apps Script service relies on the Provisioning API (http://code.google.com/googleapps/domain/provisioning_API_v2_developers_guide.html) and the ability to set the user's disk space quota using this API depends on your Google agreement for your account.
I just realized I didn't answer your second question about the usedQuota field. The Provisioning API doesn't return that information, but you can get the data you need with the Reporting API (http://code.google.com/googleapps/domain/reporting/google_apps_reporting_api.html). In particular, you can request the Account Report and check the usage_in_bytes field.
Please note the Reporting API doesn't provide real-time data, but reports are generated once a day ("...reports for a particular day are not available until 12 p.m. Pacific time the following day..."). Feel free to ask if you need more details
9 comments :
This is great! How about DomainUser.lastLogin() fetching a last login Date object? This would be helpful for some of the cases I'm thinking of.
Data about the user login activity is not provided by the Provisioning API which this service relies on.
However, your feature request is pretty common and is already tracked at http://code.google.com/a/google.com/p/apps-api-issues/issues/detail?id=1858
Please star the issue on our issue tracker to have all relevant updates delivered directly to your inbox.
Thanks
Claudio
We are still missing the directory API (domain shared contacts and profiles), it was announced at Google I/O but haven't seen it yet.
Awesome feature!. Will this work with the DocsList class soon so we (Apps administrators) can manage docs created by users in our domain, via Apps Script?
Jason,
What kind of DocsList/Provisioning integration are you interested in?
Please describe your use case so that we can correctly prioritize our future development.
Thanks
I don't get the point of having a method setStorageQuota if it doesn't do anything at all, when will this feature will be really available?
What about a method named usedQuota, that would help admins to identify users approaching their limit
This Apps Script service relies on the Provisioning API (http://code.google.com/googleapps/domain/provisioning_API_v2_developers_guide.html) and the ability to set the user's disk space quota using this API depends on your Google agreement for your account.
Jorge,
I just realized I didn't answer your second question about the usedQuota field.
The Provisioning API doesn't return that information, but you can get the data you need with the Reporting API (http://code.google.com/googleapps/domain/reporting/google_apps_reporting_api.html).
In particular, you can request the Account Report and check the usage_in_bytes field.
Please note the Reporting API doesn't provide real-time data, but reports are generated once a day ("...reports for a particular day are not available until 12 p.m. Pacific time the following day...").
Feel free to ask if you need more details
A year later and this API still doesn support secondary domains .
Any suggestions to workaround this limitation?
Post a Comment