report users
gmail_last_interaction_time
accounts_last_login_time
accounts_last_sso_time
--
You received this message because you are subscribed to the Google Groups "Google Apps Manager" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-apps-man...@googlegroups.com.
To post to this group, send email to google-ap...@googlegroups.com.
Visit this group at http://groups.google.com/group/google-apps-manager.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-apps-manager/e68ef14f-1b6e-4e77-96b7-48b073fcd1bf%40googlegroups.com.
I thought gmail:last_interaction_time might work for me, but I'm not sure it does. I think maybe gam just doesn't support it, although the API should.
No. The API supports it. You can do a “Try It” on this page:
https://developers.google.com/admin-sdk/reports/v1/reference/userUsageReport/get#try-it
Note that the userKey is the Google Unique ID, e.g. 1234216397316391143192
…debugs…
Aha! If you specify a date in the past, gmail:last_interaction_time IS available, e.g.
gam report users date 2015-08-10 user myu...@mydomain.com fields 'accounts:last_login_time,accounts:creation_time,gmail:last_interaction_time'
interestingly the data comes back in Google’s order, not the order you asked for, but it does come back.
email,date,accounts:creation_time,accounts:last_login_time,gmail:last_interaction_time
The implication is that there is a delay in making that data available.
David
Aha! If you specify a date in the past, gmail:last_interaction_time IS available, e.g
II'll poke around with other date values, but was wondering if you have already determined whether there's a range of dates that work, or any past date will work.
This is related to the report date you specify. Google appears to batch report data every few days*. You can see the latest batch report date if you go to the main reports page in the admin console and look in the top right-hand corner (it is currently showing as June 18; the previous one was June 13 - hence the date you have). There is much more information available up to the latest batch date than a subsequent date.
* It would be nice if they did this consistently. Sometimes it can go for a couple of weeks with no updates, other times there's a new one every day.
Just to note, Looked at this yesterday, the time period was longer then 3 days. I've bumped up my script window to 6 days. But I've done no extensive testing.
--
You received this message because you are subscribed to the Google Groups "Google Apps Manager" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-apps-man...@googlegroups.com.
To post to this group, send email to google-ap...@googlegroups.com.
Visit this group at http://groups.google.com/group/google-apps-manager.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-apps-manager/93c5598a-e35a-4b5b-87b8-5ef988928f56%40googlegroups.com.
ITV plc (Registration No. 4967001) (ITV) is incorporated in England and Wales with its registered office at The London Television Centre, Upper Ground, London SE1 9LT. Please visit www.itv.com for further information.
This email and any attachments are intended solely for the addressee and may contain confidential, copyrighted and/or privileged information. If you have received this message in error, please notify us and delete it. Recipients should scan the email and any attachments for their own protection.
This email does not conclude a binding agreement. The views or opinions presented in this email do not necessarily represent those of ITV.