--
You received this message because you are subscribed to the Google Groups "GAM for G Suite" 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 https://groups.google.com/group/google-apps-manager.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-apps-manager/4448b57c-12e5-41e0-af3d-e1bc78f34533%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
On May 19, 2018, at 1:09 PM, Constantly Learning <k...@walkersands.com> wrote:
This is an update to the Advanced Gam command i sent earlier; adding the redirects will give much cleaner output.
If you have a CSV file (DepartedEvents.csv) of events generated by a print events command:gam redirect stdout DeleteDeparted.out multiprocess redirect stderr stdout csv DepartedEvents.csv gam user ~primaryEmail update calattendees calendar ~calendarId event ~id delete depa...@domain.com doitRoss
On May 19, 2018, at 1:09 PM, Constantly Learning <k...@walkersands.com> wrote:
The use case for this question is as follows. Departed employee is on many future-dated calendar events, but I'd prefer they not be listed as attendees on those events. However, I don't want to delete the user altogether, at least not right now. So, I just want to get them off of future calendar invites for events owned by others.I tried this:gam user <departed employee email> print events primary starttime +1d todriveand then picked some events and rangam calendar <departed employee email> deleteevent eventid <eventid> doitand that worked great in terms of deleting the event on the <departed employee email> calendar.But when I looked on other people's calendars at the events I'd run deleteevent on, I still see departed employee as an invitee, but they have a big red X next to their name. That just draws even more attention to them -- what I would prefer and had hoped I could do is get them off that invitee list altogether.Possible with GAM?I see there is a way to update the Attendees collection via Google API (https://developers.google.com/calendar/v3/reference/events/update) but not sure if this is implemented in GAM yet. Thanks.--
You received this message because you are subscribed to the Google Groups "GAM for G Suite" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-apps-manager+unsub...@googlegroups.com.
Hi Ross,Would you please also help with how with a suggestion if I wan to remove any attendees from the domain name domain.com for all users/ all calendar events?Best regards,
Dev
On Tuesday, May 22, 2018 at 10:41:30 PM UTC+5:30, Ross Scroggs wrote:
This is an update to the Advanced Gam command i sent earlier; adding the redirects will give much cleaner output.
If you have a CSV file (DepartedEvents.csv) of events generated by a print events command:gam redirect stdout DeleteDeparted.out multiprocess redirect stderr stdout csv DepartedEvents.csv gam user ~primaryEmail update calattendees calendar ~calendarId event ~id delete depa...@domain.com doitRoss
On May 19, 2018, at 1:09 PM, Constantly Learning <k...@walkersands.com> wrote:
The use case for this question is as follows. Departed employee is on many future-dated calendar events, but I'd prefer they not be listed as attendees on those events. However, I don't want to delete the user altogether, at least not right now. So, I just want to get them off of future calendar invites for events owned by others.I tried this:gam user <departed employee email> print events primary starttime +1d todriveand then picked some events and rangam calendar <departed employee email> deleteevent eventid <eventid> doitand that worked great in terms of deleting the event on the <departed employee email> calendar.But when I looked on other people's calendars at the events I'd run deleteevent on, I still see departed employee as an invitee, but they have a big red X next to their name. That just draws even more attention to them -- what I would prefer and had hoped I could do is get them off that invitee list altogether.Possible with GAM?I see there is a way to update the Attendees collection via Google API (https://developers.google.com/calendar/v3/reference/events/update) but not sure if this is implemented in GAM yet. Thanks.--
You received this message because you are subscribed to the Google Groups "GAM for G Suite" 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 https://groups.google.com/group/google-apps-manager.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-apps-manager/4448b57c-12e5-41e0-af3d-e1bc78f34533%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups "GAM for G Suite" 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 https://groups.google.com/group/google-apps-manager.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-apps-manager/3184fb4e-6cb5-4b7a-be21-b9e517ff9709%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.