mirror of
https://github.com/GAM-team/GAM.git
synced 2026-07-04 12:51:36 +00:00
Compare commits
12 Commits
v7.07.06
...
20250524.1
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
a6773901c9 | ||
|
|
840784fa98 | ||
|
|
aecb17b9fe | ||
|
|
2d90c75f03 | ||
|
|
cd8691b438 | ||
|
|
e2f0afe891 | ||
|
|
65cd2439d5 | ||
|
|
652ab1dc6d | ||
|
|
88cad201a5 | ||
|
|
9f8100dfbf | ||
|
|
7fbafb2ba0 | ||
|
|
2c631af66c |
@@ -1876,7 +1876,7 @@ gam calendar <CalendarEntity> moveevent (id|eventid <EventID>)+ destination <Cal
|
|||||||
gam calendar <CalendarEntity> wipe
|
gam calendar <CalendarEntity> wipe
|
||||||
gam calendar <CalendarEntity> printevents <EventSelectProperty>* <EventDisplayProperty>*
|
gam calendar <CalendarEntity> printevents <EventSelectProperty>* <EventDisplayProperty>*
|
||||||
[fields <EventFieldNameList>] [showdayofweek]
|
[fields <EventFieldNameList>] [showdayofweek]
|
||||||
[countsonly]
|
[countsonly [eventrowfilter]]
|
||||||
[formatjson [quotechar <Character>]] [todrive <ToDriveAttribute>*]
|
[formatjson [quotechar <Character>]] [todrive <ToDriveAttribute>*]
|
||||||
|
|
||||||
<CalendarSettingsField> ::=
|
<CalendarSettingsField> ::=
|
||||||
|
|||||||
@@ -1,3 +1,48 @@
|
|||||||
|
7.07.11
|
||||||
|
|
||||||
|
Updated `gam calendars <CalendarEntity> update events` and `gam <UserTypeEntity> update events <UserCalendarEntity>`
|
||||||
|
to handle the following error:
|
||||||
|
```
|
||||||
|
ERROR: 400: badRequest - Bad Request
|
||||||
|
```
|
||||||
|
|
||||||
|
Updated `gam <UserTypeEntity> move drivefile` to handle the following error:
|
||||||
|
```
|
||||||
|
ERROR: 400: shareOutNotPermitted
|
||||||
|
```
|
||||||
|
|
||||||
|
7.07.10
|
||||||
|
|
||||||
|
Updated `gam calendars <CalendarEntity> update events` and `gam <UserTypeEntity> update events <UserCalendarEntity>`
|
||||||
|
to handle the following error:
|
||||||
|
```
|
||||||
|
ERROR: 400: eventTypeRestriction - Attendees cannot be added to 'fromGmail' event with this visibility setting.
|
||||||
|
```
|
||||||
|
|
||||||
|
7.07.09
|
||||||
|
|
||||||
|
Updated `gam calendars <CalendarEntity> update events` and `gam <UserTypeEntity> update events <UserCalendarEntity>`
|
||||||
|
to handle the following error:
|
||||||
|
```
|
||||||
|
gamlib.glgapi.serviceNotAvailable: Authentication backend unavailable.
|
||||||
|
```
|
||||||
|
|
||||||
|
7.07.08
|
||||||
|
|
||||||
|
Fixed bug in `gam <UserTypeEntity> print filelist ... countsonly` that issued an
|
||||||
|
incorrect warning message like the following when `redirect csv <FileName> multiprocess` was specified.
|
||||||
|
```
|
||||||
|
WARNING: csv_output_row_filter column "^name$" does not match any output columns
|
||||||
|
```
|
||||||
|
|
||||||
|
7.07.07
|
||||||
|
|
||||||
|
Fixed bug in `gam report <ActivityApplictionName> ... countsonly eventrowfilter` that issued an
|
||||||
|
incorrect warning message like the following when `redirect csv <FileName> multiprocess` was specified.
|
||||||
|
```
|
||||||
|
WARNING: csv_output_row_filter column "^doc_title$" does not match any output columns
|
||||||
|
```
|
||||||
|
|
||||||
7.07.06
|
7.07.06
|
||||||
|
|
||||||
Added option `eventrowfilter` to `gam calendars <CalendarEntity> print events ... countsonly`
|
Added option `eventrowfilter` to `gam calendars <CalendarEntity> print events ... countsonly`
|
||||||
|
|||||||
@@ -25,7 +25,7 @@ https://github.com/GAM-team/GAM/wiki
|
|||||||
"""
|
"""
|
||||||
|
|
||||||
__author__ = 'GAM Team <google-apps-manager@googlegroups.com>'
|
__author__ = 'GAM Team <google-apps-manager@googlegroups.com>'
|
||||||
__version__ = '7.07.06'
|
__version__ = '7.07.11'
|
||||||
__license__ = 'Apache License 2.0 (http://www.apache.org/licenses/LICENSE-2.0)'
|
__license__ = 'Apache License 2.0 (http://www.apache.org/licenses/LICENSE-2.0)'
|
||||||
|
|
||||||
#pylint: disable=wrong-import-position
|
#pylint: disable=wrong-import-position
|
||||||
@@ -8962,7 +8962,7 @@ class CSVPrintFile():
|
|||||||
return
|
return
|
||||||
if self.zeroBlankMimeTypeCounts:
|
if self.zeroBlankMimeTypeCounts:
|
||||||
self.ZeroBlankMimeTypeCounts()
|
self.ZeroBlankMimeTypeCounts()
|
||||||
if self.rowFilter or self.rowDropFilter:
|
if not clearRowFilters and (self.rowFilter or self.rowDropFilter):
|
||||||
self.CheckOutputRowFilterHeaders()
|
self.CheckOutputRowFilterHeaders()
|
||||||
if self.headerFilter or self.headerDropFilter:
|
if self.headerFilter or self.headerDropFilter:
|
||||||
if not self.formatJSON:
|
if not self.formatJSON:
|
||||||
@@ -14357,6 +14357,7 @@ def doReport():
|
|||||||
else:
|
else:
|
||||||
if eventRowFilter:
|
if eventRowFilter:
|
||||||
csvPF.SetRowFilter([], GC.Values[GC.CSV_OUTPUT_ROW_FILTER_MODE])
|
csvPF.SetRowFilter([], GC.Values[GC.CSV_OUTPUT_ROW_FILTER_MODE])
|
||||||
|
csvPF.SetRowDropFilter([], GC.Values[GC.CSV_OUTPUT_ROW_DROP_FILTER_MODE])
|
||||||
if not countsSummary:
|
if not countsSummary:
|
||||||
titles = ['emailAddress']
|
titles = ['emailAddress']
|
||||||
if countsOnly and countsByDate:
|
if countsOnly and countsByDate:
|
||||||
@@ -14405,7 +14406,7 @@ def doReport():
|
|||||||
if addCSVData:
|
if addCSVData:
|
||||||
row.update(addCSVData)
|
row.update(addCSVData)
|
||||||
csvPF.WriteRow(row)
|
csvPF.WriteRow(row)
|
||||||
csvPF.writeCSVfile(f'{report.capitalize()} Activity Report')
|
csvPF.writeCSVfile(f'{report.capitalize()} Activity Report', eventRowFilter)
|
||||||
|
|
||||||
# Substitute for #user#, #email#, #usernamne#
|
# Substitute for #user#, #email#, #usernamne#
|
||||||
def _substituteForUser(field, user, userName):
|
def _substituteForUser(field, user, userName):
|
||||||
@@ -39264,7 +39265,8 @@ def _updateCalendarEvents(origUser, user, origCal, calIds, count, calendarEventE
|
|||||||
try:
|
try:
|
||||||
if updateFieldList:
|
if updateFieldList:
|
||||||
event = callGAPI(cal.events(), 'get',
|
event = callGAPI(cal.events(), 'get',
|
||||||
throwReasons=GAPI.CALENDAR_THROW_REASONS+[GAPI.NOT_FOUND, GAPI.DELETED, GAPI.FORBIDDEN],
|
throwReasons=GAPI.CALENDAR_THROW_REASONS+[GAPI.NOT_FOUND, GAPI.DELETED, GAPI.FORBIDDEN, GAPI.BACKEND_ERROR],
|
||||||
|
retryReasons=GAPI.SERVICE_NOT_AVAILABLE_RETRY_REASONS+[GAPI.BACKEND_ERROR],
|
||||||
calendarId=calId, eventId=eventId, fields=updateFields)
|
calendarId=calId, eventId=eventId, fields=updateFields)
|
||||||
if 'description' in updateFieldList and 'description' in event:
|
if 'description' in updateFieldList and 'description' in event:
|
||||||
body['description'] = event['description']
|
body['description'] = event['description']
|
||||||
@@ -39294,10 +39296,11 @@ def _updateCalendarEvents(origUser, user, origCal, calIds, count, calendarEventE
|
|||||||
if parameters['clearResources']:
|
if parameters['clearResources']:
|
||||||
body['attendees'] = [attendee for attendee in body['attendees'] if not attendee['email'].lower().endswith('@resource.calendar.google.com')]
|
body['attendees'] = [attendee for attendee in body['attendees'] if not attendee['email'].lower().endswith('@resource.calendar.google.com')]
|
||||||
event = callGAPI(cal.events(), 'patch',
|
event = callGAPI(cal.events(), 'patch',
|
||||||
throwReasons=GAPI.CALENDAR_THROW_REASONS+[GAPI.NOT_FOUND, GAPI.DELETED, GAPI.FORBIDDEN,
|
throwReasons=GAPI.CALENDAR_THROW_REASONS+[GAPI.NOT_FOUND, GAPI.DELETED, GAPI.FORBIDDEN, GAPI.BACKEND_ERROR,
|
||||||
GAPI.INVALID, GAPI.REQUIRED, GAPI.TIME_RANGE_EMPTY, GAPI.EVENT_DURATION_EXCEEDS_LIMIT,
|
GAPI.INVALID, GAPI.REQUIRED, GAPI.TIME_RANGE_EMPTY, GAPI.EVENT_DURATION_EXCEEDS_LIMIT,
|
||||||
GAPI.REQUIRED_ACCESS_LEVEL, GAPI.CANNOT_CHANGE_ORGANIZER_OF_INSTANCE,
|
GAPI.REQUIRED_ACCESS_LEVEL, GAPI.CANNOT_CHANGE_ORGANIZER_OF_INSTANCE,
|
||||||
GAPI.MALFORMED_WORKING_LOCATION_EVENT],
|
GAPI.MALFORMED_WORKING_LOCATION_EVENT, GAPI.EVENT_TYPE_RESTRICTION, GAPI.BAD_REQUEST],
|
||||||
|
retryReasons=GAPI.SERVICE_NOT_AVAILABLE_RETRY_REASONS+[GAPI.BACKEND_ERROR],
|
||||||
calendarId=calId, eventId=eventId, conferenceDataVersion=1, sendUpdates=parameters['sendUpdates'], supportsAttachments=True,
|
calendarId=calId, eventId=eventId, conferenceDataVersion=1, sendUpdates=parameters['sendUpdates'], supportsAttachments=True,
|
||||||
body=body, fields=pfields)
|
body=body, fields=pfields)
|
||||||
if parameters['csvPF'] is None:
|
if parameters['csvPF'] is None:
|
||||||
@@ -39311,8 +39314,9 @@ def _updateCalendarEvents(origUser, user, origCal, calIds, count, calendarEventE
|
|||||||
entityUnknownWarning(Ent.CALENDAR, calId, j, jcount)
|
entityUnknownWarning(Ent.CALENDAR, calId, j, jcount)
|
||||||
break
|
break
|
||||||
entityActionFailedWarning([Ent.CALENDAR, calId, Ent.EVENT, eventId], str(e), j, jcount)
|
entityActionFailedWarning([Ent.CALENDAR, calId, Ent.EVENT, eventId], str(e), j, jcount)
|
||||||
except (GAPI.forbidden, GAPI.invalid, GAPI.required, GAPI.timeRangeEmpty, GAPI.eventDurationExceedsLimit,
|
except (GAPI.forbidden, GAPI.backendError, GAPI.invalid, GAPI.required, GAPI.timeRangeEmpty, GAPI.eventDurationExceedsLimit,
|
||||||
GAPI.requiredAccessLevel, GAPI.cannotChangeOrganizerOfInstance, GAPI.malformedWorkingLocationEvent) as e:
|
GAPI.requiredAccessLevel, GAPI.cannotChangeOrganizerOfInstance, GAPI.malformedWorkingLocationEvent,
|
||||||
|
GAPI.eventTypeRestriction, GAPI.badRequest) as e:
|
||||||
entityActionFailedWarning([Ent.CALENDAR, calId, Ent.EVENT, eventId], str(e), j, jcount)
|
entityActionFailedWarning([Ent.CALENDAR, calId, Ent.EVENT, eventId], str(e), j, jcount)
|
||||||
except GAPI.notACalendarUser:
|
except GAPI.notACalendarUser:
|
||||||
userCalServiceNotEnabledWarning(calId, i, count)
|
userCalServiceNotEnabledWarning(calId, i, count)
|
||||||
@@ -39934,7 +39938,6 @@ def doCalendarsPrintShowEvents(calIds):
|
|||||||
csvPF, FJQC, fieldsList)
|
csvPF, FJQC, fieldsList)
|
||||||
if csvPF:
|
if csvPF:
|
||||||
if calendarEventEntity['countsOnly'] and calendarEventEntity['eventRowFilter']:
|
if calendarEventEntity['countsOnly'] and calendarEventEntity['eventRowFilter']:
|
||||||
csvPF.SetRowFilter([], GC.Values[GC.CSV_OUTPUT_ROW_FILTER_MODE])
|
|
||||||
csvPF.SetTitles(calendarEventEntity['countsOnlyTitles'])
|
csvPF.SetTitles(calendarEventEntity['countsOnlyTitles'])
|
||||||
csvPF.writeCSVfile('Calendar Events', True)
|
csvPF.writeCSVfile('Calendar Events', True)
|
||||||
else:
|
else:
|
||||||
@@ -51430,7 +51433,6 @@ def printShowCalendarEvents(users):
|
|||||||
Ind.Decrement()
|
Ind.Decrement()
|
||||||
if csvPF:
|
if csvPF:
|
||||||
if calendarEventEntity['countsOnly'] and calendarEventEntity['eventRowFilter']:
|
if calendarEventEntity['countsOnly'] and calendarEventEntity['eventRowFilter']:
|
||||||
csvPF.SetRowFilter([], GC.Values[GC.CSV_OUTPUT_ROW_FILTER_MODE])
|
|
||||||
csvPF.SetTitles(calendarEventEntity['countsOnlyTitles'])
|
csvPF.SetTitles(calendarEventEntity['countsOnlyTitles'])
|
||||||
csvPF.writeCSVfile('Calendar Events', True)
|
csvPF.writeCSVfile('Calendar Events', True)
|
||||||
else:
|
else:
|
||||||
@@ -56210,6 +56212,7 @@ def printFileList(users):
|
|||||||
summaryMimeTypeInfo[mimeType]['size'] += mtinfo['size']
|
summaryMimeTypeInfo[mimeType]['size'] += mtinfo['size']
|
||||||
if summary != FILECOUNT_SUMMARY_ONLY:
|
if summary != FILECOUNT_SUMMARY_ONLY:
|
||||||
writeMimeTypeCountsRow(user, 'Various', 'Various', mimeTypeInfo)
|
writeMimeTypeCountsRow(user, 'Various', 'Various', mimeTypeInfo)
|
||||||
|
titlePrefix = f'{Cmd.Argument(GM.Globals[GM.ENTITY_CL_START])} {Cmd.Argument(GM.Globals[GM.ENTITY_CL_START]+1)} ' if GM.Globals[GM.CSVFILE][GM.REDIRECT_QUEUE] is None else ''
|
||||||
if not countsOnly:
|
if not countsOnly:
|
||||||
if not csvPF.rows:
|
if not csvPF.rows:
|
||||||
setSysExitRC(NO_ENTITIES_FOUND_RC)
|
setSysExitRC(NO_ENTITIES_FOUND_RC)
|
||||||
@@ -56218,22 +56221,14 @@ def printFileList(users):
|
|||||||
else:
|
else:
|
||||||
if 'JSON' in csvPF.JSONtitlesList:
|
if 'JSON' in csvPF.JSONtitlesList:
|
||||||
csvPF.MoveJSONTitlesToEnd(['JSON'])
|
csvPF.MoveJSONTitlesToEnd(['JSON'])
|
||||||
if GM.Globals[GM.CSVFILE][GM.REDIRECT_QUEUE] is None:
|
csvPF.writeCSVfile(f'{titlePrefix}Drive Files')
|
||||||
csvPF.writeCSVfile(f'{Cmd.Argument(GM.Globals[GM.ENTITY_CL_START])} {Cmd.Argument(GM.Globals[GM.ENTITY_CL_START]+1)} Drive Files')
|
|
||||||
else:
|
|
||||||
csvPF.writeCSVfile('Drive Files')
|
|
||||||
else:
|
else:
|
||||||
if not csvPFco.rows:
|
if not csvPFco.rows:
|
||||||
setSysExitRC(NO_ENTITIES_FOUND_RC)
|
setSysExitRC(NO_ENTITIES_FOUND_RC)
|
||||||
if summary != FILECOUNT_SUMMARY_NONE:
|
if summary != FILECOUNT_SUMMARY_NONE:
|
||||||
writeMimeTypeCountsRow(summaryUser, 'Various', 'Various', summaryMimeTypeInfo)
|
writeMimeTypeCountsRow(summaryUser, 'Various', 'Various', summaryMimeTypeInfo)
|
||||||
csvPFco.todrive = csvPF.todrive
|
csvPFco.todrive = csvPF.todrive
|
||||||
if not countsRowFilter:
|
csvPFco.writeCSVfile(f'{titlePrefix}Drive File Counts', not countsRowFilter)
|
||||||
csvPFco.SetRowFilter([], GC.Values[GC.CSV_OUTPUT_ROW_FILTER_MODE])
|
|
||||||
if GM.Globals[GM.CSVFILE][GM.REDIRECT_QUEUE] is None:
|
|
||||||
csvPFco.writeCSVfile(f'{Cmd.Argument(GM.Globals[GM.ENTITY_CL_START])} {Cmd.Argument(GM.Globals[GM.ENTITY_CL_START]+1)} Drive File Counts')
|
|
||||||
else:
|
|
||||||
csvPFco.writeCSVfile('Drive File Counts')
|
|
||||||
|
|
||||||
FILECOMMENTS_FIELDS_CHOICE_MAP = {
|
FILECOMMENTS_FIELDS_CHOICE_MAP = {
|
||||||
'action': 'action',
|
'action': 'action',
|
||||||
@@ -60455,6 +60450,7 @@ def moveDriveFile(users):
|
|||||||
GAPI.FILE_OWNER_NOT_MEMBER_OF_TEAMDRIVE,
|
GAPI.FILE_OWNER_NOT_MEMBER_OF_TEAMDRIVE,
|
||||||
GAPI.FILE_OWNER_NOT_MEMBER_OF_WRITER_DOMAIN,
|
GAPI.FILE_OWNER_NOT_MEMBER_OF_WRITER_DOMAIN,
|
||||||
GAPI.FILE_WRITER_TEAMDRIVE_MOVE_IN_DISABLED,
|
GAPI.FILE_WRITER_TEAMDRIVE_MOVE_IN_DISABLED,
|
||||||
|
GAPI.SHARE_OUT_NOT_PERMITTED,
|
||||||
GAPI.TARGET_USER_ROLE_LIMITED_BY_LICENSE_RESTRICTION,
|
GAPI.TARGET_USER_ROLE_LIMITED_BY_LICENSE_RESTRICTION,
|
||||||
GAPI.CANNOT_MOVE_TRASHED_ITEM_INTO_TEAMDRIVE,
|
GAPI.CANNOT_MOVE_TRASHED_ITEM_INTO_TEAMDRIVE,
|
||||||
GAPI.CANNOT_MOVE_TRASHED_ITEM_OUT_OF_TEAMDRIVE,
|
GAPI.CANNOT_MOVE_TRASHED_ITEM_OUT_OF_TEAMDRIVE,
|
||||||
@@ -60469,7 +60465,7 @@ def moveDriveFile(users):
|
|||||||
_incrStatistic(statistics, STAT_FILE_COPIED_MOVED)
|
_incrStatistic(statistics, STAT_FILE_COPIED_MOVED)
|
||||||
return
|
return
|
||||||
except (GAPI.fileNotFound, GAPI.forbidden, GAPI.internalError, GAPI.unknownError, GAPI.badRequest,
|
except (GAPI.fileNotFound, GAPI.forbidden, GAPI.internalError, GAPI.unknownError, GAPI.badRequest,
|
||||||
GAPI.targetUserRoleLimitedByLicenseRestriction,
|
GAPI.shareOutNotPermitted, GAPI.targetUserRoleLimitedByLicenseRestriction,
|
||||||
GAPI.cannotMoveTrashedItemIntoTeamDrive, GAPI.cannotMoveTrashedItemOutOfTeamDrive,
|
GAPI.cannotMoveTrashedItemIntoTeamDrive, GAPI.cannotMoveTrashedItemOutOfTeamDrive,
|
||||||
GAPI.teamDrivesShortcutFileNotSupported, GAPI.storageQuotaExceeded) as e:
|
GAPI.teamDrivesShortcutFileNotSupported, GAPI.storageQuotaExceeded) as e:
|
||||||
entityActionFailedWarning(kvList, str(e), k, kcount)
|
entityActionFailedWarning(kvList, str(e), k, kcount)
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
# -*- coding: utf-8 -*-
|
# -*- coding: utf-8 -*-
|
||||||
|
|
||||||
# Copyright (C) 2024 Ross Scroggs All Rights Reserved.
|
# Copyright (C) 2025 Ross Scroggs All Rights Reserved.
|
||||||
#
|
#
|
||||||
# All Rights Reserved.
|
# All Rights Reserved.
|
||||||
#
|
#
|
||||||
@@ -72,6 +72,7 @@ DOMAIN_POLICY = 'domainPolicy'
|
|||||||
DOWNLOAD_QUOTA_EXCEEDED = 'downloadQuotaExceeded'
|
DOWNLOAD_QUOTA_EXCEEDED = 'downloadQuotaExceeded'
|
||||||
DUPLICATE = 'duplicate'
|
DUPLICATE = 'duplicate'
|
||||||
EVENT_DURATION_EXCEEDS_LIMIT = 'eventDurationExceedsLimit'
|
EVENT_DURATION_EXCEEDS_LIMIT = 'eventDurationExceedsLimit'
|
||||||
|
EVENT_TYPE_RESTRICTION = 'eventTypeRestriction'
|
||||||
EXPIRATION_DATES_MUST_BE_IN_THE_FUTURE = 'expirationDatesMustBeInTheFuture'
|
EXPIRATION_DATES_MUST_BE_IN_THE_FUTURE = 'expirationDatesMustBeInTheFuture'
|
||||||
EXPIRATION_DATE_NOT_ALLOWED_FOR_SHARED_DRIVE_MEMBERS = 'expirationDateNotAllowedForSharedDriveMembers'
|
EXPIRATION_DATE_NOT_ALLOWED_FOR_SHARED_DRIVE_MEMBERS = 'expirationDateNotAllowedForSharedDriveMembers'
|
||||||
FAILED_PRECONDITION = 'failedPrecondition'
|
FAILED_PRECONDITION = 'failedPrecondition'
|
||||||
@@ -457,6 +458,8 @@ class duplicate(Exception):
|
|||||||
pass
|
pass
|
||||||
class eventDurationExceedsLimit(Exception):
|
class eventDurationExceedsLimit(Exception):
|
||||||
pass
|
pass
|
||||||
|
class eventTypeRestriction(Exception):
|
||||||
|
pass
|
||||||
class expirationDatesMustBeInTheFuture(Exception):
|
class expirationDatesMustBeInTheFuture(Exception):
|
||||||
pass
|
pass
|
||||||
class expirationDateNotAllowedForSharedDriveMembers(Exception):
|
class expirationDateNotAllowedForSharedDriveMembers(Exception):
|
||||||
@@ -725,6 +728,7 @@ REASON_EXCEPTION_MAP = {
|
|||||||
DOWNLOAD_QUOTA_EXCEEDED: downloadQuotaExceeded,
|
DOWNLOAD_QUOTA_EXCEEDED: downloadQuotaExceeded,
|
||||||
DUPLICATE: duplicate,
|
DUPLICATE: duplicate,
|
||||||
EVENT_DURATION_EXCEEDS_LIMIT: eventDurationExceedsLimit,
|
EVENT_DURATION_EXCEEDS_LIMIT: eventDurationExceedsLimit,
|
||||||
|
EVENT_TYPE_RESTRICTION: eventTypeRestriction,
|
||||||
EXPIRATION_DATES_MUST_BE_IN_THE_FUTURE: expirationDatesMustBeInTheFuture,
|
EXPIRATION_DATES_MUST_BE_IN_THE_FUTURE: expirationDatesMustBeInTheFuture,
|
||||||
EXPIRATION_DATE_NOT_ALLOWED_FOR_SHARED_DRIVE_MEMBERS: expirationDateNotAllowedForSharedDriveMembers,
|
EXPIRATION_DATE_NOT_ALLOWED_FOR_SHARED_DRIVE_MEMBERS: expirationDateNotAllowedForSharedDriveMembers,
|
||||||
FAILED_PRECONDITION: failedPrecondition,
|
FAILED_PRECONDITION: failedPrecondition,
|
||||||
|
|||||||
@@ -64,6 +64,7 @@ Verify the following steps:
|
|||||||
* If groups are used to authenticate access, make sure the super admin is in one of the groups
|
* If groups are used to authenticate access, make sure the super admin is in one of the groups
|
||||||
* Collapse "Service status"
|
* Collapse "Service status"
|
||||||
* Expand "Cloud Resource Manager API settings"
|
* Expand "Cloud Resource Manager API settings"
|
||||||
|
* Select the OU in the left that contains the super admin you'll be using
|
||||||
* Make sure that "Allow users to create projects" is checked
|
* Make sure that "Allow users to create projects" is checked
|
||||||
|
|
||||||
Verify that all scopes are available:
|
Verify that all scopes are available:
|
||||||
|
|||||||
@@ -633,6 +633,8 @@ gam calendar <CalendarEntity> deleteevent (id|eventid <EventID>)+ [doit] [<Event
|
|||||||
gam calendar <CalendarEntity> moveevent (id|eventid <EventID>)+ destination <CalendarItem> [<EventNotificationAttribute>]
|
gam calendar <CalendarEntity> moveevent (id|eventid <EventID>)+ destination <CalendarItem> [<EventNotificationAttribute>]
|
||||||
gam calendar <CalendarEntity> updateevent <EventID> <EventAttribute>+ [<EventNotificationAttribute>]
|
gam calendar <CalendarEntity> updateevent <EventID> <EventAttribute>+ [<EventNotificationAttribute>]
|
||||||
gam calendar <CalendarEntity> wipe
|
gam calendar <CalendarEntity> wipe
|
||||||
gam calendar <CalendarEntity> printevents <EventSelectProperty>* <EventDisplayProperty>* [fields <EventFieldNameList>]
|
gam calendar <CalendarEntity> printevents <EventSelectProperty>* <EventDisplayProperty>*
|
||||||
|
[fields <EventFieldNameList>]
|
||||||
|
[countsonly [eventrowfilter]]
|
||||||
[formatjson [quotechar <Character>]] [todrive <ToDriveAttribute>*]
|
[formatjson [quotechar <Character>]] [todrive <ToDriveAttribute>*]
|
||||||
```
|
```
|
||||||
|
|||||||
@@ -2,6 +2,8 @@
|
|||||||
You can download and install the current GAM7 release from the [GitHub Releases](https://github.com/GAM-team/GAM/releases/latest) page.
|
You can download and install the current GAM7 release from the [GitHub Releases](https://github.com/GAM-team/GAM/releases/latest) page.
|
||||||
Choose one of the following:
|
Choose one of the following:
|
||||||
|
|
||||||
|
## Executable, Automatic
|
||||||
|
|
||||||
* Executable Archive, Automatic, Linux/Mac OS/Google Cloud Shell/Raspberry Pi/ChromeOS
|
* Executable Archive, Automatic, Linux/Mac OS/Google Cloud Shell/Raspberry Pi/ChromeOS
|
||||||
- Start a terminal session and execute one of the following commands:
|
- Start a terminal session and execute one of the following commands:
|
||||||
- New install, default path `$HOME/bin`
|
- New install, default path `$HOME/bin`
|
||||||
@@ -16,6 +18,12 @@ Choose one of the following:
|
|||||||
By default, a folder, `gam7`, is created in the default or specified path and the files are downloaded into that folder.
|
By default, a folder, `gam7`, is created in the default or specified path and the files are downloaded into that folder.
|
||||||
Add the `-s` option to the end of the above commands to suppress creating the `gam7` folder; the files are downloaded directly into the default or specified path.
|
Add the `-s` option to the end of the above commands to suppress creating the `gam7` folder; the files are downloaded directly into the default or specified path.
|
||||||
|
|
||||||
|
If, when executing one of the above commands, you get an error message stating that Python is not installed,
|
||||||
|
go here [Python](https://www.python.org/downloads/) and download/install Python. When the installation is complete,
|
||||||
|
start a new terminal session and reissue the command from above.
|
||||||
|
|
||||||
|
## Executable, Manual
|
||||||
|
|
||||||
* Executable Archive, Manual, Linux/Google Cloud Shell
|
* Executable Archive, Manual, Linux/Google Cloud Shell
|
||||||
- `gam-7.wx.yz-linux-x86_64-glibc2.35.tar.xz`
|
- `gam-7.wx.yz-linux-x86_64-glibc2.35.tar.xz`
|
||||||
- `gam-7.wx.yz-linux-x86_64-glibc2.39.tar.xz`
|
- `gam-7.wx.yz-linux-x86_64-glibc2.39.tar.xz`
|
||||||
@@ -65,6 +73,8 @@ Add the `-s` option to the end of the above commands to suppress creating the `g
|
|||||||
- Download the installer and run it.
|
- Download the installer and run it.
|
||||||
- Start a Command Prompt/PowerShell session.
|
- Start a Command Prompt/PowerShell session.
|
||||||
|
|
||||||
|
## Source
|
||||||
|
|
||||||
* Source, all platforms
|
* Source, all platforms
|
||||||
- `Source code(zip)`
|
- `Source code(zip)`
|
||||||
- `Source code(tar.gz)`
|
- `Source code(tar.gz)`
|
||||||
|
|||||||
@@ -10,6 +10,38 @@ Add the `-s` option to the end of the above commands to suppress creating the `g
|
|||||||
|
|
||||||
See [Downloads-Installs-GAM7](https://github.com/GAM-team/GAM/wiki/Downloads-Installs) for Windows or other options, including manual installation
|
See [Downloads-Installs-GAM7](https://github.com/GAM-team/GAM/wiki/Downloads-Installs) for Windows or other options, including manual installation
|
||||||
|
|
||||||
|
### 7.07.10
|
||||||
|
|
||||||
|
Updated `gam calendars <CalendarEntity> update events` and `gam <UserTypeEntity> update events <UserCalendarEntity>`
|
||||||
|
to handle the following error:
|
||||||
|
```
|
||||||
|
ERROR: 400: eventTypeRestriction - Attendees cannot be added to 'fromGmail' event with this visibility setting.
|
||||||
|
```
|
||||||
|
|
||||||
|
### 7.07.09
|
||||||
|
|
||||||
|
Updated `gam calendars <CalendarEntity> update events` and `gam <UserTypeEntity> update events <UserCalendarEntity>`
|
||||||
|
to handle the following error:
|
||||||
|
```
|
||||||
|
gamlib.glgapi.serviceNotAvailable: Authentication backend unavailable.
|
||||||
|
```
|
||||||
|
|
||||||
|
### 7.07.08
|
||||||
|
|
||||||
|
Fixed bug in `gam <UserTypeEntity> print filelist ... countsonly` that issued an
|
||||||
|
incorrect warning message like the following when `redirect csv <FileName> multiprocess` was specified.
|
||||||
|
```
|
||||||
|
WARNING: csv_output_row_filter column "^name$" does not match any output columns
|
||||||
|
```
|
||||||
|
|
||||||
|
### 7.07.07
|
||||||
|
|
||||||
|
Fixed bug in `gam report <ActivityApplictionName> ... countsonly eventrowfilter` that issued an
|
||||||
|
incorrect warning message like the following when `redirect csv <FileName> multiprocess` was specified.
|
||||||
|
```
|
||||||
|
WARNING: csv_output_row_filter column "^doc_title$" does not match any output columns
|
||||||
|
```
|
||||||
|
|
||||||
### 7.07.06
|
### 7.07.06
|
||||||
|
|
||||||
Added option `eventrowfilter` to `gam calendars <CalendarEntity> print events ... countsonly`
|
Added option `eventrowfilter` to `gam calendars <CalendarEntity> print events ... countsonly`
|
||||||
|
|||||||
@@ -251,10 +251,10 @@ writes the credentials into the file oauth2.txt.
|
|||||||
admin@server:/Users/admin$ rm -f /Users/admin/GAMConfig/oauth2.txt
|
admin@server:/Users/admin$ rm -f /Users/admin/GAMConfig/oauth2.txt
|
||||||
admin@server:/Users/admin$ gam version
|
admin@server:/Users/admin$ gam version
|
||||||
WARNING: Config File: /Users/admin/GAMConfig/gam.cfg, Section: DEFAULT, Item: oauth2_txt, Value: /Users/admin/GAMConfig/oauth2.txt, Not Found
|
WARNING: Config File: /Users/admin/GAMConfig/gam.cfg, Section: DEFAULT, Item: oauth2_txt, Value: /Users/admin/GAMConfig/oauth2.txt, Not Found
|
||||||
GAM 7.07.06 - https://github.com/GAM-team/GAM - pyinstaller
|
GAM 7.07.10 - https://github.com/GAM-team/GAM - pyinstaller
|
||||||
GAM Team <google-apps-manager@googlegroups.com>
|
GAM Team <google-apps-manager@googlegroups.com>
|
||||||
Python 3.13.3 64-bit final
|
Python 3.13.3 64-bit final
|
||||||
MacOS Sequoia 15.4.1 x86_64
|
MacOS Sequoia 15.5 x86_64
|
||||||
Path: /Users/admin/bin/gam7
|
Path: /Users/admin/bin/gam7
|
||||||
Config File: /Users/admin/GAMConfig/gam.cfg, Section: DEFAULT, customer_id: my_customer, domain: domain.com
|
Config File: /Users/admin/GAMConfig/gam.cfg, Section: DEFAULT, customer_id: my_customer, domain: domain.com
|
||||||
|
|
||||||
@@ -989,7 +989,7 @@ writes the credentials into the file oauth2.txt.
|
|||||||
C:\>del C:\GAMConfig\oauth2.txt
|
C:\>del C:\GAMConfig\oauth2.txt
|
||||||
C:\>gam version
|
C:\>gam version
|
||||||
WARNING: Config File: C:\GAMConfig\gam.cfg, Section: DEFAULT, Item: oauth2_txt, Value: C:\GAMConfig\oauth2.txt, Not Found
|
WARNING: Config File: C:\GAMConfig\gam.cfg, Section: DEFAULT, Item: oauth2_txt, Value: C:\GAMConfig\oauth2.txt, Not Found
|
||||||
GAM 7.07.06 - https://github.com/GAM-team/GAM - pythonsource
|
GAM 7.07.10 - https://github.com/GAM-team/GAM - pythonsource
|
||||||
GAM Team <google-apps-manager@googlegroups.com>
|
GAM Team <google-apps-manager@googlegroups.com>
|
||||||
Python 3.13.3 64-bit final
|
Python 3.13.3 64-bit final
|
||||||
Windows-10-10.0.17134 AMD64
|
Windows-10-10.0.17134 AMD64
|
||||||
|
|||||||
@@ -3,10 +3,10 @@
|
|||||||
Print the current version of Gam with details
|
Print the current version of Gam with details
|
||||||
```
|
```
|
||||||
gam version
|
gam version
|
||||||
GAM 7.07.06 - https://github.com/GAM-team/GAM - pyinstaller
|
GAM 7.07.10 - https://github.com/GAM-team/GAM - pyinstaller
|
||||||
GAM Team <google-apps-manager@googlegroups.com>
|
GAM Team <google-apps-manager@googlegroups.com>
|
||||||
Python 3.13.3 64-bit final
|
Python 3.13.3 64-bit final
|
||||||
MacOS Sequoia 15.4.1 x86_64
|
MacOS Sequoia 15.5 x86_64
|
||||||
Path: /Users/Admin/bin/gam7
|
Path: /Users/Admin/bin/gam7
|
||||||
Config File: /Users/admin/GAMConfig/gam.cfg, Section: DEFAULT, customer_id: my_customer, domain: domain.com
|
Config File: /Users/admin/GAMConfig/gam.cfg, Section: DEFAULT, customer_id: my_customer, domain: domain.com
|
||||||
Time: 2023-06-02T21:10:00-07:00
|
Time: 2023-06-02T21:10:00-07:00
|
||||||
@@ -15,10 +15,10 @@ Time: 2023-06-02T21:10:00-07:00
|
|||||||
Print the current version of Gam with details and time offset information
|
Print the current version of Gam with details and time offset information
|
||||||
```
|
```
|
||||||
gam version timeoffset
|
gam version timeoffset
|
||||||
GAM 7.07.06 - https://github.com/GAM-team/GAM - pyinstaller
|
GAM 7.07.10 - https://github.com/GAM-team/GAM - pyinstaller
|
||||||
GAM Team <google-apps-manager@googlegroups.com>
|
GAM Team <google-apps-manager@googlegroups.com>
|
||||||
Python 3.13.3 64-bit final
|
Python 3.13.3 64-bit final
|
||||||
MacOS Sequoia 15.4.1 x86_64
|
MacOS Sequoia 15.5 x86_64
|
||||||
Path: /Users/Admin/bin/gam7
|
Path: /Users/Admin/bin/gam7
|
||||||
Config File: /Users/admin/GAMConfig/gam.cfg, Section: DEFAULT, customer_id: my_customer, domain: domain.com
|
Config File: /Users/admin/GAMConfig/gam.cfg, Section: DEFAULT, customer_id: my_customer, domain: domain.com
|
||||||
Your system time differs from www.googleapis.com by less than 1 second
|
Your system time differs from www.googleapis.com by less than 1 second
|
||||||
@@ -27,10 +27,10 @@ Your system time differs from www.googleapis.com by less than 1 second
|
|||||||
Print the current version of Gam with extended details and SSL information
|
Print the current version of Gam with extended details and SSL information
|
||||||
```
|
```
|
||||||
gam version extended
|
gam version extended
|
||||||
GAM 7.07.06 - https://github.com/GAM-team/GAM - pyinstaller
|
GAM 7.07.10 - https://github.com/GAM-team/GAM - pyinstaller
|
||||||
GAM Team <google-apps-manager@googlegroups.com>
|
GAM Team <google-apps-manager@googlegroups.com>
|
||||||
Python 3.13.3 64-bit final
|
Python 3.13.3 64-bit final
|
||||||
MacOS Sequoia 15.4.1 x86_64
|
MacOS Sequoia 15.5 x86_64
|
||||||
Path: /Users/Admin/bin/gam7
|
Path: /Users/Admin/bin/gam7
|
||||||
Config File: /Users/admin/GAMConfig/gam.cfg, Section: DEFAULT, customer_id: my_customer, domain: domain.com
|
Config File: /Users/admin/GAMConfig/gam.cfg, Section: DEFAULT, customer_id: my_customer, domain: domain.com
|
||||||
Time: 2023-06-02T21:10:00-07:00
|
Time: 2023-06-02T21:10:00-07:00
|
||||||
@@ -64,7 +64,7 @@ MacOS High Sierra 10.13.6 x86_64
|
|||||||
Path: /Users/Admin/bin/gam7
|
Path: /Users/Admin/bin/gam7
|
||||||
Version Check:
|
Version Check:
|
||||||
Current: 5.35.08
|
Current: 5.35.08
|
||||||
Latest: 7.07.06
|
Latest: 7.07.10
|
||||||
echo $?
|
echo $?
|
||||||
1
|
1
|
||||||
```
|
```
|
||||||
@@ -72,7 +72,7 @@ echo $?
|
|||||||
Print the current version number without details
|
Print the current version number without details
|
||||||
```
|
```
|
||||||
gam version simple
|
gam version simple
|
||||||
7.07.06
|
7.07.10
|
||||||
```
|
```
|
||||||
In Linux/MacOS you can do:
|
In Linux/MacOS you can do:
|
||||||
```
|
```
|
||||||
@@ -82,10 +82,10 @@ echo $VER
|
|||||||
Print the current version of Gam and address of this Wiki
|
Print the current version of Gam and address of this Wiki
|
||||||
```
|
```
|
||||||
gam help
|
gam help
|
||||||
GAM 7.07.06 - https://github.com/GAM-team/GAM
|
GAM 7.07.10 - https://github.com/GAM-team/GAM
|
||||||
GAM Team <google-apps-manager@googlegroups.com>
|
GAM Team <google-apps-manager@googlegroups.com>
|
||||||
Python 3.13.3 64-bit final
|
Python 3.13.3 64-bit final
|
||||||
MacOS Sequoia 15.4.1 x86_64
|
MacOS Sequoia 15.5 x86_64
|
||||||
Path: /Users/Admin/bin/gam7
|
Path: /Users/Admin/bin/gam7
|
||||||
Config File: /Users/admin/GAMConfig/gam.cfg, Section: DEFAULT, customer_id: my_customer, domain: domain.com
|
Config File: /Users/admin/GAMConfig/gam.cfg, Section: DEFAULT, customer_id: my_customer, domain: domain.com
|
||||||
Time: 2023-06-02T21:10:00-07:00
|
Time: 2023-06-02T21:10:00-07:00
|
||||||
|
|||||||
Reference in New Issue
Block a user