mirror of
https://github.com/GAM-team/GAM.git
synced 2026-07-03 20:31:35 +00:00
Compare commits
20 Commits
v7.07.03
...
20250522.1
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
2c631af66c | ||
|
|
3b900ca56f | ||
|
|
4a1e19a753 | ||
|
|
4a0e61a385 | ||
|
|
10b874e2aa | ||
|
|
4c3821766d | ||
|
|
5225a36cbd | ||
|
|
ee64202233 | ||
|
|
25add7034a | ||
|
|
ba042229a8 | ||
|
|
6233bd8d9c | ||
|
|
c7a6ab536f | ||
|
|
39181a4329 | ||
|
|
2d9cb44d47 | ||
|
|
ad17eb5e77 | ||
|
|
3a90f0d92d | ||
|
|
0c360b0e9c | ||
|
|
e572126c76 | ||
|
|
06f1d8d246 | ||
|
|
4b83d13e74 |
4
.github/workflows/build.yml
vendored
4
.github/workflows/build.yml
vendored
@@ -255,11 +255,9 @@ jobs:
|
|||||||
if [[ "$RUNNER_ARCH" == "ARM64" ]]; then
|
if [[ "$RUNNER_ARCH" == "ARM64" ]]; then
|
||||||
PYEXTERNALS_PATH="arm64"
|
PYEXTERNALS_PATH="arm64"
|
||||||
WIX_ARCH="arm64"
|
WIX_ARCH="arm64"
|
||||||
CHOC_OPS=""
|
|
||||||
elif [[ "$RUNNER_ARCH" == "X64" ]]; then
|
elif [[ "$RUNNER_ARCH" == "X64" ]]; then
|
||||||
PYEXTERNALS_PATH="amd64"
|
PYEXTERNALS_PATH="amd64"
|
||||||
WIX_ARCH="x64"
|
WIX_ARCH="x64"
|
||||||
CHOC_OPS=""
|
|
||||||
fi
|
fi
|
||||||
LD_LIBRARY_PATH="${LD_LIBRARY_PATH}:${PYTHON_SOURCE_PATH}/PCbuild/${PYEXTERNALS_PATH}"
|
LD_LIBRARY_PATH="${LD_LIBRARY_PATH}:${PYTHON_SOURCE_PATH}/PCbuild/${PYEXTERNALS_PATH}"
|
||||||
echo "PYTHON=${PYTHON_SOURCE_PATH}/PCbuild/${PYEXTERNALS_PATH}/python.exe" >> $GITHUB_ENV
|
echo "PYTHON=${PYTHON_SOURCE_PATH}/PCbuild/${PYEXTERNALS_PATH}/python.exe" >> $GITHUB_ENV
|
||||||
@@ -294,8 +292,8 @@ jobs:
|
|||||||
if: matrix.goal == 'build' && steps.cache-python-ssl.outputs.cache-hit != 'true'
|
if: matrix.goal == 'build' && steps.cache-python-ssl.outputs.cache-hit != 'true'
|
||||||
run: |
|
run: |
|
||||||
cd "${OPENSSL_SOURCE_PATH}"
|
cd "${OPENSSL_SOURCE_PATH}"
|
||||||
# TODO: remove this once https://github.com/openssl/openssl/issues/26239 is fixed.
|
|
||||||
if ([ "$RUNNER_OS" == "Windows" ] && [ "$RUNNER_ARCH" == "ARM64" ]); then
|
if ([ "$RUNNER_OS" == "Windows" ] && [ "$RUNNER_ARCH" == "ARM64" ]); then
|
||||||
|
# https://github.com/openssl/openssl/issues/26239
|
||||||
export CFLAGS=-DNO_INTERLOCKEDOR64
|
export CFLAGS=-DNO_INTERLOCKEDOR64
|
||||||
fi
|
fi
|
||||||
# --libdir=lib is needed so Python can find OpenSSL libraries
|
# --libdir=lib is needed so Python can find OpenSSL libraries
|
||||||
|
|||||||
@@ -1862,7 +1862,7 @@ gam calendar|calendars <CalendarEntity> show events [<EventEntity>] <EventDispla
|
|||||||
[formatjson]
|
[formatjson]
|
||||||
gam calendar|calendars <CalendarEntity> print events [<EventEntity>] <EventDisplayProperty>*
|
gam calendar|calendars <CalendarEntity> print events [<EventEntity>] <EventDisplayProperty>*
|
||||||
[fields <EventFieldNameList>] [showdayofweek]
|
[fields <EventFieldNameList>] [showdayofweek]
|
||||||
[countsonly]
|
[countsonly [eventrowfilter]]
|
||||||
[formatjson [quotechar <Character>]] [todrive <ToDriveAttribute>*]
|
[formatjson [quotechar <Character>]] [todrive <ToDriveAttribute>*]
|
||||||
|
|
||||||
gam calendar <CalendarEntity> addevent <EventAttribute>+ [<EventNotificationAttribute>]
|
gam calendar <CalendarEntity> addevent <EventAttribute>+ [<EventNotificationAttribute>]
|
||||||
@@ -6099,7 +6099,7 @@ gam <UserTypeEntity> show events <UserCalendarEntity> [<EventEntity>] <EventDisp
|
|||||||
[formatjson]
|
[formatjson]
|
||||||
gam <UserTypeEntity> print events <UserCalendarEntity> [<EventEntity>] <EventDisplayProperty>*
|
gam <UserTypeEntity> print events <UserCalendarEntity> [<EventEntity>] <EventDisplayProperty>*
|
||||||
[fields <EventFieldNameList>] [showdayofweek]
|
[fields <EventFieldNameList>] [showdayofweek]
|
||||||
[countsonly]
|
[countsonly [eventrowfilter]]
|
||||||
[formatjson [quotechar <Character>]] [todrive <ToDriveAttribute>*]
|
[formatjson [quotechar <Character>]] [todrive <ToDriveAttribute>*]
|
||||||
|
|
||||||
gam <UserTypeEntity> update calattendees <UserCalendarEntity> <EventEntity> [anyorganizer]
|
gam <UserTypeEntity> update calattendees <UserCalendarEntity> <EventEntity> [anyorganizer]
|
||||||
|
|||||||
@@ -1,3 +1,32 @@
|
|||||||
|
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
|
||||||
|
|
||||||
|
Added option `eventrowfilter` to `gam calendars <CalendarEntity> print events ... countsonly`
|
||||||
|
and `gam <UserTypeEntity> print events <UserCalendarEntity> ... countsonly` that causes
|
||||||
|
GAM to apply `config csv_output_row_filter` to the event details rather than the event counts.
|
||||||
|
This will be useful when `<EventSelectProperty>` and `<EventMatchProperty>` do not have the
|
||||||
|
capabilty to select the events of interest; e.g., you want to filter based on the event `created` property.
|
||||||
|
|
||||||
|
Dropped the extraneous `id` column for `gam calendars <CalendarEntity> print events ... countsonly`
|
||||||
|
and `gam <UserTypeEntity> print events <UserCalendarEntity> ... countsonly`.
|
||||||
|
|
||||||
|
7.07.05
|
||||||
|
|
||||||
|
Updated `gam <UserTypeEntity> move drivefile` to recognize the API error: `ERROR: 400: shareOutWarning`.
|
||||||
|
|
||||||
|
7.07.04
|
||||||
|
|
||||||
|
Updated `gam create vaultexport ... rooms <ChatSpaceList>` to strip `spaces/` from the Chat Space IDs.
|
||||||
|
|
||||||
|
Updated `gam <UserTypeEntity> copy drivefile` to recognize the API error: `ERROR: 400: shareOutWarning`.
|
||||||
|
|
||||||
7.07.03
|
7.07.03
|
||||||
|
|
||||||
Updated `gam create vaultexport` to allow allow specifying a list of items in a search method
|
Updated `gam create vaultexport` to allow allow specifying a list of items in a search method
|
||||||
|
|||||||
@@ -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.03'
|
__version__ = '7.07.07'
|
||||||
__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
|
||||||
@@ -8565,7 +8565,7 @@ class CSVPrintFile():
|
|||||||
if not self.JSONtitlesSet:
|
if not self.JSONtitlesSet:
|
||||||
systemErrorExit(USAGE_ERROR_RC, Msg.NO_COLUMNS_SELECTED_WITH_CSV_OUTPUT_HEADER_FILTER.format(GC.CSV_OUTPUT_HEADER_FILTER, GC.CSV_OUTPUT_HEADER_DROP_FILTER))
|
systemErrorExit(USAGE_ERROR_RC, Msg.NO_COLUMNS_SELECTED_WITH_CSV_OUTPUT_HEADER_FILTER.format(GC.CSV_OUTPUT_HEADER_FILTER, GC.CSV_OUTPUT_HEADER_DROP_FILTER))
|
||||||
|
|
||||||
def writeCSVfile(self, list_type):
|
def writeCSVfile(self, list_type, clearRowFilters=False):
|
||||||
|
|
||||||
def todriveCSVErrorExit(entityValueList, errMsg):
|
def todriveCSVErrorExit(entityValueList, errMsg):
|
||||||
systemErrorExit(ACTION_FAILED_RC, formatKeyValueList(Ind.Spaces(),
|
systemErrorExit(ACTION_FAILED_RC, formatKeyValueList(Ind.Spaces(),
|
||||||
@@ -8956,6 +8956,8 @@ class CSVPrintFile():
|
|||||||
self.oneItemPerRow,
|
self.oneItemPerRow,
|
||||||
self.showPermissionsLast,
|
self.showPermissionsLast,
|
||||||
self.zeroBlankMimeTypeCounts)))
|
self.zeroBlankMimeTypeCounts)))
|
||||||
|
if clearRowFilters:
|
||||||
|
GM.Globals[GM.CSVFILE][GM.REDIRECT_QUEUE].put((GM.REDIRECT_QUEUE_CLEAR_ROW_FILTERS, clearRowFilters))
|
||||||
GM.Globals[GM.CSVFILE][GM.REDIRECT_QUEUE].put((GM.REDIRECT_QUEUE_DATA, self.rows))
|
GM.Globals[GM.CSVFILE][GM.REDIRECT_QUEUE].put((GM.REDIRECT_QUEUE_DATA, self.rows))
|
||||||
return
|
return
|
||||||
if self.zeroBlankMimeTypeCounts:
|
if self.zeroBlankMimeTypeCounts:
|
||||||
@@ -9582,6 +9584,7 @@ def CSVFileQueueHandler(mpQueue, mpQueueStdout, mpQueueStderr, csvPF, datetimeNo
|
|||||||
GM.Globals[GM.DATETIME_NOW] = datetimeNow
|
GM.Globals[GM.DATETIME_NOW] = datetimeNow
|
||||||
GC.Values[GC.TIMEZONE] = tzinfo
|
GC.Values[GC.TIMEZONE] = tzinfo
|
||||||
GC.Values[GC.OUTPUT_TIMEFORMAT] = output_timeformat
|
GC.Values[GC.OUTPUT_TIMEFORMAT] = output_timeformat
|
||||||
|
clearRowFilters = False
|
||||||
# if sys.platform.startswith('win'):
|
# if sys.platform.startswith('win'):
|
||||||
# signal.signal(signal.SIGINT, signal.SIG_IGN)
|
# signal.signal(signal.SIGINT, signal.SIG_IGN)
|
||||||
if multiprocessing.get_start_method() == 'spawn':
|
if multiprocessing.get_start_method() == 'spawn':
|
||||||
@@ -9639,9 +9642,15 @@ def CSVFileQueueHandler(mpQueue, mpQueueStdout, mpQueueStderr, csvPF, datetimeNo
|
|||||||
csvPF.SetTimestampColumn(GC.Values[GC.CSV_OUTPUT_TIMESTAMP_COLUMN])
|
csvPF.SetTimestampColumn(GC.Values[GC.CSV_OUTPUT_TIMESTAMP_COLUMN])
|
||||||
csvPF.SetHeaderFilter(GC.Values[GC.CSV_OUTPUT_HEADER_FILTER])
|
csvPF.SetHeaderFilter(GC.Values[GC.CSV_OUTPUT_HEADER_FILTER])
|
||||||
csvPF.SetHeaderDropFilter(GC.Values[GC.CSV_OUTPUT_HEADER_DROP_FILTER])
|
csvPF.SetHeaderDropFilter(GC.Values[GC.CSV_OUTPUT_HEADER_DROP_FILTER])
|
||||||
|
if not clearRowFilters:
|
||||||
csvPF.SetRowFilter(GC.Values[GC.CSV_OUTPUT_ROW_FILTER], GC.Values[GC.CSV_OUTPUT_ROW_FILTER_MODE])
|
csvPF.SetRowFilter(GC.Values[GC.CSV_OUTPUT_ROW_FILTER], GC.Values[GC.CSV_OUTPUT_ROW_FILTER_MODE])
|
||||||
csvPF.SetRowDropFilter(GC.Values[GC.CSV_OUTPUT_ROW_DROP_FILTER], GC.Values[GC.CSV_OUTPUT_ROW_DROP_FILTER_MODE])
|
csvPF.SetRowDropFilter(GC.Values[GC.CSV_OUTPUT_ROW_DROP_FILTER], GC.Values[GC.CSV_OUTPUT_ROW_DROP_FILTER_MODE])
|
||||||
|
else:
|
||||||
|
csvPF.SetRowFilter([], GC.Values[GC.CSV_OUTPUT_ROW_FILTER_MODE])
|
||||||
|
csvPF.SetRowDropFilter([], GC.Values[GC.CSV_OUTPUT_ROW_DROP_FILTER_MODE])
|
||||||
csvPF.SetRowLimit(GC.Values[GC.CSV_OUTPUT_ROW_LIMIT])
|
csvPF.SetRowLimit(GC.Values[GC.CSV_OUTPUT_ROW_LIMIT])
|
||||||
|
elif dataType == GM.REDIRECT_QUEUE_CLEAR_ROW_FILTERS:
|
||||||
|
clearRowFilters = dataItem
|
||||||
else: #GM.REDIRECT_QUEUE_EOF
|
else: #GM.REDIRECT_QUEUE_EOF
|
||||||
break
|
break
|
||||||
csvPF.writeCSVfile(list_type)
|
csvPF.writeCSVfile(list_type)
|
||||||
@@ -14396,7 +14405,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):
|
||||||
@@ -38592,7 +38601,8 @@ def _getCalendarListEventsDisplayProperty(myarg, calendarEventEntity):
|
|||||||
|
|
||||||
def initCalendarEventEntity():
|
def initCalendarEventEntity():
|
||||||
return {'list': [], 'queries': [], 'kwargs': {}, 'dict': None,
|
return {'list': [], 'queries': [], 'kwargs': {}, 'dict': None,
|
||||||
'matches': [], 'maxinstances': -1, 'countsOnly': False, 'showDayOfWeek': False}
|
'matches': [], 'maxinstances': -1, 'showDayOfWeek': False,
|
||||||
|
'countsOnly': False, 'eventRowFilter': False, 'countsOnlyTitles': []}
|
||||||
|
|
||||||
def getCalendarEventEntity():
|
def getCalendarEventEntity():
|
||||||
calendarEventEntity = initCalendarEventEntity()
|
calendarEventEntity = initCalendarEventEntity()
|
||||||
@@ -39637,11 +39647,25 @@ def _printShowCalendarEvents(origUser, user, origCal, calIds, count, calendarEve
|
|||||||
elif GC.Values[GC.CSV_OUTPUT_USERS_AUDIT] and user:
|
elif GC.Values[GC.CSV_OUTPUT_USERS_AUDIT] and user:
|
||||||
csvPF.WriteRowNoFilter({'calendarId': calId, 'primaryEmail': user, 'id': ''})
|
csvPF.WriteRowNoFilter({'calendarId': calId, 'primaryEmail': user, 'id': ''})
|
||||||
else:
|
else:
|
||||||
|
if calendarEventEntity['eventRowFilter']:
|
||||||
|
jcount = 0
|
||||||
|
for event in events:
|
||||||
|
if calendarEventEntity['showDayOfWeek']:
|
||||||
|
_getEventDaysOfWeek(event)
|
||||||
|
row = {'calendarId': calId, 'id': event['id']}
|
||||||
|
if user:
|
||||||
|
row['primaryEmail'] = user
|
||||||
|
flattenJSON(event, flattened=row, timeObjects=EVENT_TIME_OBJECTS)
|
||||||
|
if csvPF.CheckRowTitles(row):
|
||||||
|
jcount += 1
|
||||||
row = {'calendarId': calId}
|
row = {'calendarId': calId}
|
||||||
if user:
|
if user:
|
||||||
row['primaryEmail'] = user
|
row['primaryEmail'] = user
|
||||||
row['events'] = jcount
|
row['events'] = jcount
|
||||||
|
if not calendarEventEntity['eventRowFilter']:
|
||||||
csvPF.WriteRow(row)
|
csvPF.WriteRow(row)
|
||||||
|
else:
|
||||||
|
csvPF.WriteRowNoFilter(row)
|
||||||
|
|
||||||
EVENT_FIELDS_CHOICE_MAP = {
|
EVENT_FIELDS_CHOICE_MAP = {
|
||||||
'anyonecanaddself': 'anyoneCanAddSelf',
|
'anyonecanaddself': 'anyoneCanAddSelf',
|
||||||
@@ -39879,13 +39903,17 @@ def _getCalendarPrintShowEventOptions(calendarEventEntity, entityType):
|
|||||||
calendarEventEntity['countsOnly'] = True
|
calendarEventEntity['countsOnly'] = True
|
||||||
elif myarg == 'showdayofweek':
|
elif myarg == 'showdayofweek':
|
||||||
calendarEventEntity['showDayOfWeek'] = True
|
calendarEventEntity['showDayOfWeek'] = True
|
||||||
|
elif myarg == 'eventrowfilter':
|
||||||
|
calendarEventEntity['eventRowFilter'] = True
|
||||||
else:
|
else:
|
||||||
FJQC.GetFormatJSONQuoteChar(myarg, True)
|
FJQC.GetFormatJSONQuoteChar(myarg, True)
|
||||||
if calendarEventEntity['countsOnly']:
|
if calendarEventEntity['countsOnly'] and not calendarEventEntity['eventRowFilter']:
|
||||||
fieldsList = ['id']
|
fieldsList = ['id']
|
||||||
if csvPF:
|
if csvPF:
|
||||||
if calendarEventEntity['countsOnly']:
|
if calendarEventEntity['countsOnly']:
|
||||||
|
csvPF.RemoveTitles(['id'])
|
||||||
csvPF.AddTitles(['events'])
|
csvPF.AddTitles(['events'])
|
||||||
|
calendarEventEntity['countsOnlyTitles'] = csvPF.titlesList[:]
|
||||||
elif not FJQC.formatJSON and not fieldsList:
|
elif not FJQC.formatJSON and not fieldsList:
|
||||||
csvPF.AddSortTitles(EVENT_PRINT_ORDER)
|
csvPF.AddSortTitles(EVENT_PRINT_ORDER)
|
||||||
_addEventEntitySelectFields(calendarEventEntity, fieldsList)
|
_addEventEntitySelectFields(calendarEventEntity, fieldsList)
|
||||||
@@ -39893,16 +39921,23 @@ def _getCalendarPrintShowEventOptions(calendarEventEntity, entityType):
|
|||||||
|
|
||||||
# gam calendars <CalendarEntity> print events <EventEntity> <EventDisplayProperties>*
|
# gam calendars <CalendarEntity> print events <EventEntity> <EventDisplayProperties>*
|
||||||
# [fields <EventFieldNameList>] [showdayofweek]
|
# [fields <EventFieldNameList>] [showdayofweek]
|
||||||
# [countsonly] [formatjson [quotechar <Character>]] [todrive <ToDriveAttribute>*]
|
# [countsonly [eventrowfilter]]
|
||||||
|
# [formatjson [quotechar <Character>]] [todrive <ToDriveAttribute>*]
|
||||||
# gam calendars <CalendarEntity> show events <EventEntity> <EventDisplayProperties>*
|
# gam calendars <CalendarEntity> show events <EventEntity> <EventDisplayProperties>*
|
||||||
# [fields <EventFieldNameList>] [showdayofweek]
|
# [fields <EventFieldNameList>] [showdayofweek]
|
||||||
# [countsonly] [formatjson]
|
# [countsonly]
|
||||||
|
# [formatjson]
|
||||||
def doCalendarsPrintShowEvents(calIds):
|
def doCalendarsPrintShowEvents(calIds):
|
||||||
calendarEventEntity = getCalendarEventEntity()
|
calendarEventEntity = getCalendarEventEntity()
|
||||||
csvPF, FJQC, fieldsList = _getCalendarPrintShowEventOptions(calendarEventEntity, Ent.CALENDAR)
|
csvPF, FJQC, fieldsList = _getCalendarPrintShowEventOptions(calendarEventEntity, Ent.CALENDAR)
|
||||||
_printShowCalendarEvents(None, None, None, calIds, len(calIds), calendarEventEntity,
|
_printShowCalendarEvents(None, None, None, calIds, len(calIds), calendarEventEntity,
|
||||||
csvPF, FJQC, fieldsList)
|
csvPF, FJQC, fieldsList)
|
||||||
if csvPF:
|
if csvPF:
|
||||||
|
if calendarEventEntity['countsOnly'] and calendarEventEntity['eventRowFilter']:
|
||||||
|
csvPF.SetRowFilter([], GC.Values[GC.CSV_OUTPUT_ROW_FILTER_MODE])
|
||||||
|
csvPF.SetTitles(calendarEventEntity['countsOnlyTitles'])
|
||||||
|
csvPF.writeCSVfile('Calendar Events', True)
|
||||||
|
else:
|
||||||
csvPF.writeCSVfile('Calendar Events')
|
csvPF.writeCSVfile('Calendar Events')
|
||||||
|
|
||||||
# <CalendarSettings> ::==
|
# <CalendarSettings> ::==
|
||||||
@@ -40745,6 +40780,8 @@ def _showVaultExport(matterNameId, export, cd, FJQC, k=0, kcount=0):
|
|||||||
VAULT_SEARCH_METHODS_MAP = {
|
VAULT_SEARCH_METHODS_MAP = {
|
||||||
'account': 'ACCOUNT',
|
'account': 'ACCOUNT',
|
||||||
'accounts': 'ACCOUNT',
|
'accounts': 'ACCOUNT',
|
||||||
|
'chatspace': 'ROOM',
|
||||||
|
'chatspaces': 'ROOM',
|
||||||
'entireorg': 'ENTIRE_ORG',
|
'entireorg': 'ENTIRE_ORG',
|
||||||
'everyone': 'ENTIRE_ORG',
|
'everyone': 'ENTIRE_ORG',
|
||||||
'org': 'ORG_UNIT',
|
'org': 'ORG_UNIT',
|
||||||
@@ -40868,7 +40905,11 @@ def _buildVaultQuery(myarg, query, corpusArgumentMap):
|
|||||||
elif searchMethod == 'SHARED_DRIVE':
|
elif searchMethod == 'SHARED_DRIVE':
|
||||||
query['sharedDriveInfo'] = {'sharedDriveIds': _getQueryList(Cmd.OB_SHAREDDRIVE_ID_LIST)}
|
query['sharedDriveInfo'] = {'sharedDriveIds': _getQueryList(Cmd.OB_SHAREDDRIVE_ID_LIST)}
|
||||||
elif searchMethod == 'ROOM':
|
elif searchMethod == 'ROOM':
|
||||||
query['hangoutsChatInfo'] = {'roomId': _getQueryList(Cmd.OB_CHAT_SPACE_LIST)}
|
roomIds = _getQueryList(Cmd.OB_CHAT_SPACE_LIST)
|
||||||
|
for i, roomId in enumerate(roomIds):
|
||||||
|
if roomId.startswith('spaces/') or roomId.startswith('space/'):
|
||||||
|
_, roomIds[i] = roomId.split('/', 1)
|
||||||
|
query['hangoutsChatInfo'] = {'roomId': roomIds}
|
||||||
elif searchMethod == 'SITES_URL':
|
elif searchMethod == 'SITES_URL':
|
||||||
query['sitesUrlInfo'] = {'urls': _getQueryList(Cmd.OB_URL_LIST)}
|
query['sitesUrlInfo'] = {'urls': _getQueryList(Cmd.OB_URL_LIST)}
|
||||||
elif myarg == 'scope':
|
elif myarg == 'scope':
|
||||||
@@ -51365,10 +51406,12 @@ def infoCalendarEvents(users):
|
|||||||
|
|
||||||
# gam <UserTypeEntity> print events <UserCalendarEntity> <EventEntity> <EventDisplayProperties>*
|
# gam <UserTypeEntity> print events <UserCalendarEntity> <EventEntity> <EventDisplayProperties>*
|
||||||
# [fields <EventFieldNameList>] [showdayofweek]
|
# [fields <EventFieldNameList>] [showdayofweek]
|
||||||
# [countsonly] [formatjson [quotechar <Character>]] [todrive <ToDriveAttribute>*]
|
# [countsonly [eventrowfilter]]
|
||||||
|
# [formatjson [quotechar <Character>]] [todrive <ToDriveAttribute>*]
|
||||||
# gam <UserTypeEntity> show events <UserCalendarEntity> <EventEntity> <EventDisplayProperties>*
|
# gam <UserTypeEntity> show events <UserCalendarEntity> <EventEntity> <EventDisplayProperties>*
|
||||||
# [fields <EventFieldNameList>] [showdayofweek]
|
# [fields <EventFieldNameList>] [showdayofweek]
|
||||||
# [countsonly] [formatjson]
|
# [countsonly]]
|
||||||
|
# [formatjson]
|
||||||
def printShowCalendarEvents(users):
|
def printShowCalendarEvents(users):
|
||||||
calendarEntity = getUserCalendarEntity()
|
calendarEntity = getUserCalendarEntity()
|
||||||
calendarEventEntity = getCalendarEventEntity()
|
calendarEventEntity = getCalendarEventEntity()
|
||||||
@@ -51386,6 +51429,11 @@ def printShowCalendarEvents(users):
|
|||||||
csvPF, FJQC, fieldsList)
|
csvPF, FJQC, fieldsList)
|
||||||
Ind.Decrement()
|
Ind.Decrement()
|
||||||
if csvPF:
|
if csvPF:
|
||||||
|
if calendarEventEntity['countsOnly'] and calendarEventEntity['eventRowFilter']:
|
||||||
|
csvPF.SetRowFilter([], GC.Values[GC.CSV_OUTPUT_ROW_FILTER_MODE])
|
||||||
|
csvPF.SetTitles(calendarEventEntity['countsOnlyTitles'])
|
||||||
|
csvPF.writeCSVfile('Calendar Events', True)
|
||||||
|
else:
|
||||||
csvPF.writeCSVfile('Calendar Events')
|
csvPF.writeCSVfile('Calendar Events')
|
||||||
|
|
||||||
def getStatusEventDateTime(dateType, dateList):
|
def getStatusEventDateTime(dateType, dateList):
|
||||||
@@ -59522,7 +59570,8 @@ def copyDriveFile(users):
|
|||||||
throwReasons=GAPI.DRIVE_USER_THROW_REASONS+[GAPI.FORBIDDEN, GAPI.INSUFFICIENT_PERMISSIONS, GAPI.INSUFFICIENT_PARENT_PERMISSIONS,
|
throwReasons=GAPI.DRIVE_USER_THROW_REASONS+[GAPI.FORBIDDEN, GAPI.INSUFFICIENT_PERMISSIONS, GAPI.INSUFFICIENT_PARENT_PERMISSIONS,
|
||||||
GAPI.INVALID, GAPI.BAD_REQUEST, GAPI.FILE_NOT_FOUND, GAPI.UNKNOWN_ERROR,
|
GAPI.INVALID, GAPI.BAD_REQUEST, GAPI.FILE_NOT_FOUND, GAPI.UNKNOWN_ERROR,
|
||||||
GAPI.STORAGE_QUOTA_EXCEEDED, GAPI.TEAMDRIVES_SHARING_RESTRICTION_NOT_ALLOWED,
|
GAPI.STORAGE_QUOTA_EXCEEDED, GAPI.TEAMDRIVES_SHARING_RESTRICTION_NOT_ALLOWED,
|
||||||
GAPI.TEAMDRIVE_FILE_LIMIT_EXCEEDED, GAPI.TEAMDRIVE_HIERARCHY_TOO_DEEP, GAPI.SHORTCUT_TARGET_INVALID],
|
GAPI.TEAMDRIVE_FILE_LIMIT_EXCEEDED, GAPI.TEAMDRIVE_HIERARCHY_TOO_DEEP,
|
||||||
|
GAPI.SHORTCUT_TARGET_INVALID, GAPI.SHARE_OUT_WARNING],
|
||||||
body=body, fields='id', supportsAllDrives=True)
|
body=body, fields='id', supportsAllDrives=True)
|
||||||
Act.Set(Act.CREATE_SHORTCUT)
|
Act.Set(Act.CREATE_SHORTCUT)
|
||||||
entityModifierItemValueListActionPerformed(kvList, Act.MODIFIER_IN,
|
entityModifierItemValueListActionPerformed(kvList, Act.MODIFIER_IN,
|
||||||
@@ -59533,7 +59582,8 @@ def copyDriveFile(users):
|
|||||||
except (GAPI.forbidden, GAPI.insufficientFilePermissions, GAPI.insufficientParentPermissions,
|
except (GAPI.forbidden, GAPI.insufficientFilePermissions, GAPI.insufficientParentPermissions,
|
||||||
GAPI.invalid, GAPI.badRequest, GAPI.fileNotFound, GAPI.unknownError,
|
GAPI.invalid, GAPI.badRequest, GAPI.fileNotFound, GAPI.unknownError,
|
||||||
GAPI.storageQuotaExceeded, GAPI.teamDrivesSharingRestrictionNotAllowed,
|
GAPI.storageQuotaExceeded, GAPI.teamDrivesSharingRestrictionNotAllowed,
|
||||||
GAPI.teamDriveFileLimitExceeded, GAPI.teamDriveHierarchyTooDeep, GAPI.shortcutTargetInvalid) as e:
|
GAPI.teamDriveFileLimitExceeded, GAPI.teamDriveHierarchyTooDeep,
|
||||||
|
GAPI.shortcutTargetInvalid, GAPI.shareOutWarning) as e:
|
||||||
entityActionFailedWarning(kvList+[Ent.DRIVE_FILE_SHORTCUT, childName], str(e), k, kcount)
|
entityActionFailedWarning(kvList+[Ent.DRIVE_FILE_SHORTCUT, childName], str(e), k, kcount)
|
||||||
_incrStatistic(statistics, STAT_FILE_FAILED)
|
_incrStatistic(statistics, STAT_FILE_FAILED)
|
||||||
|
|
||||||
@@ -59666,7 +59716,7 @@ def copyDriveFile(users):
|
|||||||
result = callGAPI(drive.files(), 'copy',
|
result = callGAPI(drive.files(), 'copy',
|
||||||
bailOnInternalError=True,
|
bailOnInternalError=True,
|
||||||
throwReasons=GAPI.DRIVE_COPY_THROW_REASONS+[GAPI.INTERNAL_ERROR, GAPI.INSUFFICIENT_PARENT_PERMISSIONS,
|
throwReasons=GAPI.DRIVE_COPY_THROW_REASONS+[GAPI.INTERNAL_ERROR, GAPI.INSUFFICIENT_PARENT_PERMISSIONS,
|
||||||
GAPI.TEAMDRIVES_SHORTCUT_FILE_NOT_SUPPORTED],
|
GAPI.TEAMDRIVES_SHORTCUT_FILE_NOT_SUPPORTED, GAPI.SHARE_OUT_WARNING],
|
||||||
fileId=childId, body=child, fields='id,name', supportsAllDrives=True)
|
fileId=childId, body=child, fields='id,name', supportsAllDrives=True)
|
||||||
if not csvPF:
|
if not csvPF:
|
||||||
entityModifierItemValueListActionPerformed(kvList, Act.MODIFIER_TO,
|
entityModifierItemValueListActionPerformed(kvList, Act.MODIFIER_TO,
|
||||||
@@ -59703,7 +59753,7 @@ def copyDriveFile(users):
|
|||||||
GAPI.insufficientParentPermissions, GAPI.unknownError,
|
GAPI.insufficientParentPermissions, GAPI.unknownError,
|
||||||
GAPI.invalid, GAPI.cannotCopyFile, GAPI.badRequest, GAPI.responsePreparationFailure, GAPI.fileNeverWritable, GAPI.fieldNotWritable,
|
GAPI.invalid, GAPI.cannotCopyFile, GAPI.badRequest, GAPI.responsePreparationFailure, GAPI.fileNeverWritable, GAPI.fieldNotWritable,
|
||||||
GAPI.teamDrivesSharingRestrictionNotAllowed, GAPI.rateLimitExceeded, GAPI.userRateLimitExceeded,
|
GAPI.teamDrivesSharingRestrictionNotAllowed, GAPI.rateLimitExceeded, GAPI.userRateLimitExceeded,
|
||||||
GAPI.internalError, GAPI.teamDrivesShortcutFileNotSupported) as e:
|
GAPI.internalError, GAPI.teamDrivesShortcutFileNotSupported, GAPI.shareOutWarning) as e:
|
||||||
entityActionFailedWarning(kvList, str(e), k, kcount)
|
entityActionFailedWarning(kvList, str(e), k, kcount)
|
||||||
_incrStatistic(statistics, STAT_FILE_FAILED)
|
_incrStatistic(statistics, STAT_FILE_FAILED)
|
||||||
except (GAPI.storageQuotaExceeded, GAPI.teamDriveFileLimitExceeded, GAPI.teamDriveHierarchyTooDeep) as e:
|
except (GAPI.storageQuotaExceeded, GAPI.teamDriveFileLimitExceeded, GAPI.teamDriveHierarchyTooDeep) as e:
|
||||||
@@ -60375,7 +60425,7 @@ def moveDriveFile(users):
|
|||||||
GAPI.INVALID, GAPI.BAD_REQUEST, GAPI.FILE_NOT_FOUND, GAPI.UNKNOWN_ERROR,
|
GAPI.INVALID, GAPI.BAD_REQUEST, GAPI.FILE_NOT_FOUND, GAPI.UNKNOWN_ERROR,
|
||||||
GAPI.STORAGE_QUOTA_EXCEEDED, GAPI.TEAMDRIVES_SHARING_RESTRICTION_NOT_ALLOWED,
|
GAPI.STORAGE_QUOTA_EXCEEDED, GAPI.TEAMDRIVES_SHARING_RESTRICTION_NOT_ALLOWED,
|
||||||
GAPI.TEAMDRIVE_FILE_LIMIT_EXCEEDED, GAPI.TEAMDRIVE_HIERARCHY_TOO_DEEP, GAPI.SHORTCUT_TARGET_INVALID,
|
GAPI.TEAMDRIVE_FILE_LIMIT_EXCEEDED, GAPI.TEAMDRIVE_HIERARCHY_TOO_DEEP, GAPI.SHORTCUT_TARGET_INVALID,
|
||||||
GAPI.TARGET_USER_ROLE_LIMITED_BY_LICENSE_RESTRICTION],
|
GAPI.TARGET_USER_ROLE_LIMITED_BY_LICENSE_RESTRICTION, GAPI.SHARE_OUT_WARNING],
|
||||||
body=body, fields='id', supportsAllDrives=True)
|
body=body, fields='id', supportsAllDrives=True)
|
||||||
Act.Set(Act.CREATE_SHORTCUT)
|
Act.Set(Act.CREATE_SHORTCUT)
|
||||||
entityModifierItemValueListActionPerformed(kvList, Act.MODIFIER_IN,
|
entityModifierItemValueListActionPerformed(kvList, Act.MODIFIER_IN,
|
||||||
@@ -60387,7 +60437,7 @@ def moveDriveFile(users):
|
|||||||
GAPI.invalid, GAPI.badRequest, GAPI.fileNotFound, GAPI.unknownError,
|
GAPI.invalid, GAPI.badRequest, GAPI.fileNotFound, GAPI.unknownError,
|
||||||
GAPI.storageQuotaExceeded, GAPI.teamDrivesSharingRestrictionNotAllowed,
|
GAPI.storageQuotaExceeded, GAPI.teamDrivesSharingRestrictionNotAllowed,
|
||||||
GAPI.teamDriveFileLimitExceeded, GAPI.teamDriveHierarchyTooDeep, GAPI.shortcutTargetInvalid,
|
GAPI.teamDriveFileLimitExceeded, GAPI.teamDriveHierarchyTooDeep, GAPI.shortcutTargetInvalid,
|
||||||
GAPI.targetUserRoleLimitedByLicenseRestriction) as e:
|
GAPI.targetUserRoleLimitedByLicenseRestriction, GAPI.shareOutWarning) as e:
|
||||||
entityActionFailedWarning(kvList+[Ent.DRIVE_FILE_SHORTCUT, childName], str(e), k, kcount)
|
entityActionFailedWarning(kvList+[Ent.DRIVE_FILE_SHORTCUT, childName], str(e), k, kcount)
|
||||||
_incrStatistic(statistics, STAT_FILE_FAILED)
|
_incrStatistic(statistics, STAT_FILE_FAILED)
|
||||||
|
|
||||||
|
|||||||
@@ -207,6 +207,7 @@ REDIRECT_WRITE_HEADER = 'rdwh'
|
|||||||
REDIRECT_MULTIPROCESS = 'rdmp'
|
REDIRECT_MULTIPROCESS = 'rdmp'
|
||||||
REDIRECT_QUEUE = 'rdq'
|
REDIRECT_QUEUE = 'rdq'
|
||||||
REDIRECT_QUEUE_NAME = 'name'
|
REDIRECT_QUEUE_NAME = 'name'
|
||||||
|
REDIRECT_QUEUE_CLEAR_ROW_FILTERS = 'clearRowFilters'
|
||||||
REDIRECT_QUEUE_TODRIVE = 'todrive'
|
REDIRECT_QUEUE_TODRIVE = 'todrive'
|
||||||
REDIRECT_QUEUE_CSVPF = 'csvpf'
|
REDIRECT_QUEUE_CSVPF = 'csvpf'
|
||||||
REDIRECT_QUEUE_DATA = 'rows'
|
REDIRECT_QUEUE_DATA = 'rows'
|
||||||
|
|||||||
@@ -567,7 +567,7 @@ By default, Gam displays the information as an indented list of keys and values.
|
|||||||
```
|
```
|
||||||
gam calendar <CalendarEntity> show events [<EventEntity>] <EventDisplayProperty>*
|
gam calendar <CalendarEntity> show events [<EventEntity>] <EventDisplayProperty>*
|
||||||
[fields <EventFieldNameList>] [showdayofweek]
|
[fields <EventFieldNameList>] [showdayofweek]
|
||||||
[countsonly] [formatjson]
|
[countsly] [formatjson]
|
||||||
```
|
```
|
||||||
In `<EventEntity>`, any `<EventSelectProperty>` options must precede all other options.
|
In `<EventEntity>`, any `<EventSelectProperty>` options must precede all other options.
|
||||||
|
|
||||||
@@ -586,7 +586,8 @@ By default, Gam displays event details, use `countsonly` to display only the num
|
|||||||
```
|
```
|
||||||
gam calendar <CalendarEntity> print events [<EventEntity>] <EventDisplayProperty>*
|
gam calendar <CalendarEntity> print events [<EventEntity>] <EventDisplayProperty>*
|
||||||
[fields <EventFieldNameList>] [showdayofweek]
|
[fields <EventFieldNameList>] [showdayofweek]
|
||||||
[countsonly] [formatjson [quotechar <Character>]] [todrive <ToDriveAttribute>*]
|
[countsonly [eventrowfilter]]
|
||||||
|
[formatjson [quotechar <Character>]] [todrive <ToDriveAttribute>*]
|
||||||
```
|
```
|
||||||
In `<EventEntity>`, any `<EventSelectProperty>` options must precede all other options.
|
In `<EventEntity>`, any `<EventSelectProperty>` options must precede all other options.
|
||||||
|
|
||||||
@@ -602,6 +603,11 @@ By default, Gam displays the information as columns of fields; the following opt
|
|||||||
|
|
||||||
By default, Gam displays event details, use `countsonly` to display only the number of events. `formatjson` does not apply in this case.
|
By default, Gam displays event details, use `countsonly` to display only the number of events. `formatjson` does not apply in this case.
|
||||||
|
|
||||||
|
When `countsonly` is specified, the `eventrowfilter` option causes
|
||||||
|
GAM to apply `config csv_output_row_filter` to the event details rather than the event counts.
|
||||||
|
This will be useful when `<EventSelectProperty>` and `<EventMatchProperty>` do not have the
|
||||||
|
capabilty to select the events of interest; e.g., you want to filter based on the event `created` property.
|
||||||
|
|
||||||
By default, when writing CSV files, Gam uses a quote character of double quote `"`. The quote character is used to enclose columns that contain
|
By default, when writing CSV files, Gam uses a quote character of double quote `"`. The quote character is used to enclose columns that contain
|
||||||
the quote character itself, the column delimiter (comma by default) and new-line characters. Any quote characters within the column are doubled.
|
the quote character itself, the column delimiter (comma by default) and new-line characters. Any quote characters within the column are doubled.
|
||||||
When using the `formatjson` option, double quotes are used extensively in the data resulting in hard to read/process output.
|
When using the `formatjson` option, double quotes are used extensively in the data resulting in hard to read/process output.
|
||||||
|
|||||||
@@ -1,4 +1,5 @@
|
|||||||
# Cloud Identity Devices
|
# Cloud Identity Devices
|
||||||
|
- [Notes](#notes)
|
||||||
- [API documentation](#api-documentation)
|
- [API documentation](#api-documentation)
|
||||||
- [Query documentation](#query-documentation)
|
- [Query documentation](#query-documentation)
|
||||||
- [Definitions](#definitions)
|
- [Definitions](#definitions)
|
||||||
@@ -20,6 +21,15 @@
|
|||||||
- [Display device user client state](#display-device-user-client-state)
|
- [Display device user client state](#display-device-user-client-state)
|
||||||
- [Update device user client state](#update-device-user-client-state)
|
- [Update device user client state](#update-device-user-client-state)
|
||||||
|
|
||||||
|
## Notes
|
||||||
|
These commands use service account access with `admin_email` (if defined) from `gam.cfg` or
|
||||||
|
the admin from `oauth2.txt` (specified in `gam oauth create`).
|
||||||
|
|
||||||
|
Use `gam user user@domain.com update serviceaccount` and make sure that the following is specified:
|
||||||
|
```
|
||||||
|
[*] 17) Cloud Identity Devices API (supports readonly)
|
||||||
|
```
|
||||||
|
|
||||||
## API documentation
|
## API documentation
|
||||||
* [Cloud Identity API - Devices](https://cloud.google.com/identity/docs/reference/rest/v1/devices)
|
* [Cloud Identity API - Devices](https://cloud.google.com/identity/docs/reference/rest/v1/devices)
|
||||||
* [Cloud Identity API - Device Users](https://cloud.google.com/identity/docs/reference/rest/v1/devices.deviceUsers)
|
* [Cloud Identity API - Device Users](https://cloud.google.com/identity/docs/reference/rest/v1/devices.deviceUsers)
|
||||||
|
|||||||
@@ -10,6 +10,32 @@ 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.06
|
||||||
|
|
||||||
|
Added option `eventrowfilter` to `gam calendars <CalendarEntity> print events ... countsonly`
|
||||||
|
and `gam <UserTypeEntity> print events <UserCalendarEntity> ... countsonly` that causes
|
||||||
|
GAM to apply `config csv_output_row_filter` to the event details rather than the event counts.
|
||||||
|
This will be useful when `<EventSelectProperty>` and `<EventMatchProperty>` do not have the
|
||||||
|
capabilty to select the events of interest; e.g., you want to filter based on the event `created` property.
|
||||||
|
|
||||||
|
Dropped the extraneous `id` column for `gam calendars <CalendarEntity> print events ... countsonly`
|
||||||
|
and `gam <UserTypeEntity> print events <UserCalendarEntity> ... countsonly`.
|
||||||
|
|
||||||
|
### 7.07.05
|
||||||
|
|
||||||
|
Updated `gam <UserTypeEntity> move drivefile` to recognize the API error: `ERROR: 400: shareOutWarning`.
|
||||||
|
|
||||||
|
### 7.07.04
|
||||||
|
|
||||||
|
Updated `gam create vaultexport ... rooms <ChatSpaceList>` to strip `spaces/` from the Chat Space IDs.
|
||||||
|
|
||||||
|
Updated `gam <UserTypeEntity> copy drivefile` to recognize the API error: `ERROR: 400: shareOutWarning`.
|
||||||
|
|
||||||
|
### 7.07.03
|
||||||
|
|
||||||
|
Updated `gam create vaultexport` to allow allow specifying a list of items in a search method
|
||||||
|
with `shareddrives|rooms|sitesurl select <FileSelector>|<CSVFileSelector>`.
|
||||||
|
|
||||||
### 7.07.02
|
### 7.07.02
|
||||||
|
|
||||||
Fixed bug in `redirect csv ... transpose` where a CSV file with multiple rows was not properly transposed.
|
Fixed bug in `redirect csv ... transpose` where a CSV file with multiple rows was not properly transposed.
|
||||||
|
|||||||
@@ -251,7 +251,7 @@ 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.02 - https://github.com/GAM-team/GAM - pyinstaller
|
GAM 7.07.06 - 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.4.1 x86_64
|
||||||
@@ -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.02 - https://github.com/GAM-team/GAM - pythonsource
|
GAM 7.07.06 - 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
|
||||||
|
|||||||
@@ -672,7 +672,8 @@ By default, Gam displays event details, use `countsonly` to display only the num
|
|||||||
```
|
```
|
||||||
gam <UserTypeEntity> print events <UserCalendarEntity> [<EventEntity>] <EventDisplayProperty>*
|
gam <UserTypeEntity> print events <UserCalendarEntity> [<EventEntity>] <EventDisplayProperty>*
|
||||||
[fields <EventFieldNameList>] [showdayofweek]
|
[fields <EventFieldNameList>] [showdayofweek]
|
||||||
[countsonly] [formatjson [quotechar <Character>]] [todrive <ToDriveAttribute>*]
|
[countsonly]
|
||||||
|
[formatjson [quotechar <Character>]] [todrive <ToDriveAttribute>*]
|
||||||
```
|
```
|
||||||
In `<EventEntity>`, any `<EventSelectProperty>` options must precede all other options.
|
In `<EventEntity>`, any `<EventSelectProperty>` options must precede all other options.
|
||||||
|
|
||||||
@@ -688,6 +689,11 @@ By default, Gam displays the information as columns of fields; the following opt
|
|||||||
|
|
||||||
By default, Gam displays event details, use `countsonly` to display only the number of events. `formatjson` does not apply in this case.
|
By default, Gam displays event details, use `countsonly` to display only the number of events. `formatjson` does not apply in this case.
|
||||||
|
|
||||||
|
When `countsonly` is specified, the `eventrowfilter` option causes
|
||||||
|
GAM to apply `config csv_output_row_filter` to the event details rather than the event counts.
|
||||||
|
This will be useful when `<EventSelectProperty>` and `<EventMatchProperty>` do not have the
|
||||||
|
capabilty to select the events of interest; e.g., you want to filter based on the event `created` property.
|
||||||
|
|
||||||
By default, when writing CSV files, Gam uses a quote character of double quote `"`. The quote character is used to enclose columns that contain
|
By default, when writing CSV files, Gam uses a quote character of double quote `"`. The quote character is used to enclose columns that contain
|
||||||
the quote character itself, the column delimiter (comma by default) and new-line characters. Any quote characters within the column are doubled.
|
the quote character itself, the column delimiter (comma by default) and new-line characters. Any quote characters within the column are doubled.
|
||||||
When using the `formatjson` option, double quotes are used extensively in the data resulting in hard to read/process output.
|
When using the `formatjson` option, double quotes are used extensively in the data resulting in hard to read/process output.
|
||||||
|
|||||||
@@ -18,6 +18,7 @@
|
|||||||
* [Drive API - Files](https://developers.google.com/drive/api/v3/reference/files)
|
* [Drive API - Files](https://developers.google.com/drive/api/v3/reference/files)
|
||||||
* [Move content to Shared Drives](https://support.google.com/a/answer/7374057)
|
* [Move content to Shared Drives](https://support.google.com/a/answer/7374057)
|
||||||
* [Shared Drive Limits](https://support.google.com/a/users/answer/7338880)
|
* [Shared Drive Limits](https://support.google.com/a/users/answer/7338880)
|
||||||
|
* [Limited and Expansive Access](https://developers.google.com/workspace/drive/api/guides/limited-expansive-access)
|
||||||
|
|
||||||
## Definitions
|
## Definitions
|
||||||
* [`<DriveFileEntity>`](Drive-File-Selection)
|
* [`<DriveFileEntity>`](Drive-File-Selection)
|
||||||
@@ -115,6 +116,7 @@ gam <UserTypeEntity> copy drivefile <DriveFileEntity>
|
|||||||
(mappermissionsdomain <DomainName> <DomainName>)*
|
(mappermissionsdomain <DomainName> <DomainName>)*
|
||||||
[sendemailifrequired [<Boolean>]]
|
[sendemailifrequired [<Boolean>]]
|
||||||
[verifyorganizer [<Boolean>]]
|
[verifyorganizer [<Boolean>]]
|
||||||
|
[enforceexpansiveaccess [<Boolean>]]
|
||||||
```
|
```
|
||||||
The files/folders specified by `<DriveFileEntity>` are referred to as `source`, `target` refers to where those files are being copied.
|
The files/folders specified by `<DriveFileEntity>` are referred to as `source`, `target` refers to where those files are being copied.
|
||||||
The files/folders specified by `<DriveFileEntity>` are referred to as `top`; when a folder is being copied recursively, the files/folders that it contains are referred as `sub`.
|
The files/folders specified by `<DriveFileEntity>` are referred to as `top`; when a folder is being copied recursively, the files/folders that it contains are referred as `sub`.
|
||||||
@@ -499,6 +501,7 @@ gam <UserTypeEntity> move drivefile <DriveFileEntity> [newfilename <DriveFileNam
|
|||||||
[retainsourcefolders [<Boolean>]]
|
[retainsourcefolders [<Boolean>]]
|
||||||
[sendemailifrequired [<Boolean>]]
|
[sendemailifrequired [<Boolean>]]
|
||||||
[verifyorganizer [<Boolean>]]
|
[verifyorganizer [<Boolean>]]
|
||||||
|
[enforceexpansiveaccess [<Boolean>]]
|
||||||
```
|
```
|
||||||
The files/folders specified by `<DriveFileEntity>` are referred to as `source`, `target` refers to where those files are being moved.
|
The files/folders specified by `<DriveFileEntity>` are referred to as `source`, `target` refers to where those files are being moved.
|
||||||
The files/folders specified by `<DriveFileEntity>` are referred to as `top`; when a folder is being moved, the files/folders that it contains are referred as `sub`.
|
The files/folders specified by `<DriveFileEntity>` are referred to as `top`; when a folder is being moved, the files/folders that it contains are referred as `sub`.
|
||||||
|
|||||||
@@ -30,7 +30,7 @@
|
|||||||
* [Shared Drive Limits](https://support.google.com/a/users/answer/7338880)
|
* [Shared Drive Limits](https://support.google.com/a/users/answer/7338880)
|
||||||
* [My Drive Shared Drive API differences](https://developers.google.com/drive/api/v3/shared-drives-diffs)
|
* [My Drive Shared Drive API differences](https://developers.google.com/drive/api/v3/shared-drives-diffs)
|
||||||
* [Google Docs API](https://developers.google.com/docs/api/reference/rest)
|
* [Google Docs API](https://developers.google.com/docs/api/reference/rest)
|
||||||
* [Limited Access](https://workspaceupdates.googleblog.com/2025/02/updating-access-experience-in-google-drive.html)
|
* [Limited and Expansive Access](https://developers.google.com/workspace/drive/api/guides/limited-expansive-access)
|
||||||
|
|
||||||
## Definitions
|
## Definitions
|
||||||
* [`<DriveFileEntity>`](Drive-File-Selection)
|
* [`<DriveFileEntity>`](Drive-File-Selection)
|
||||||
|
|||||||
@@ -7,6 +7,7 @@
|
|||||||
|
|
||||||
## API documentation
|
## API documentation
|
||||||
* [Drive API - Files](https://developers.google.com/drive/api/v3/reference/files)
|
* [Drive API - Files](https://developers.google.com/drive/api/v3/reference/files)
|
||||||
|
* [Limited and Expansive Access](https://developers.google.com/workspace/drive/api/guides/limited-expansive-access)
|
||||||
|
|
||||||
## Definitions
|
## Definitions
|
||||||
* [`<DriveFileEntity>`](Drive-File-Selection)
|
* [`<DriveFileEntity>`](Drive-File-Selection)
|
||||||
@@ -60,6 +61,7 @@ Use [Users - Drive - Transfer](Users-Drive-Transfer) for more complex ownership
|
|||||||
```
|
```
|
||||||
gam <UserTypeEntity> transfer ownership <DriveFileEntity> <UserItem>
|
gam <UserTypeEntity> transfer ownership <DriveFileEntity> <UserItem>
|
||||||
[<DriveFileParentAttribute>] [includetrashed] [norecursion [<Boolean>]]
|
[<DriveFileParentAttribute>] [includetrashed] [norecursion [<Boolean>]]
|
||||||
|
[enforceexpansiveaccess [<Boolean>]]
|
||||||
(orderby <DriveOrderByFieldName> [ascending|descending])*
|
(orderby <DriveOrderByFieldName> [ascending|descending])*
|
||||||
[preview] [filepath] [pathdelimiter <Character>] [buildtree] [todrive <ToDriveAttribute>*]
|
[preview] [filepath] [pathdelimiter <Character>] [buildtree] [todrive <ToDriveAttribute>*]
|
||||||
```
|
```
|
||||||
@@ -99,6 +101,7 @@ gam <UserTypeEntity> claim ownership <DriveFileEntity>
|
|||||||
[skipids <DriveFileEntity>] [onlyusers|skipusers <UserTypeEntity>] [subdomains <DomainNameEntity>]
|
[skipids <DriveFileEntity>] [onlyusers|skipusers <UserTypeEntity>] [subdomains <DomainNameEntity>]
|
||||||
[restricted [<Boolean>]] [writerscanshare|writerscantshare [<Boolean>]]
|
[restricted [<Boolean>]] [writerscanshare|writerscantshare [<Boolean>]]
|
||||||
[keepuser | (retainrole reader|commenter|writer|editor|none)] [noretentionmessages]
|
[keepuser | (retainrole reader|commenter|writer|editor|none)] [noretentionmessages]
|
||||||
|
[enforceexpansiveaccess [<Boolean>]]
|
||||||
(orderby <DriveOrderByFieldName> [ascending|descending])*
|
(orderby <DriveOrderByFieldName> [ascending|descending])*
|
||||||
[preview] [filepath] [pathdelimiter <Character>] [buildtree] [todrive <ToDriveAttribute>*]
|
[preview] [filepath] [pathdelimiter <Character>] [buildtree] [todrive <ToDriveAttribute>*]
|
||||||
```
|
```
|
||||||
|
|||||||
@@ -13,6 +13,7 @@
|
|||||||
## API documentation
|
## API documentation
|
||||||
* [Drive API - Permissions](https://developers.google.com/drive/api/v3/reference/permissions)
|
* [Drive API - Permissions](https://developers.google.com/drive/api/v3/reference/permissions)
|
||||||
* [Shortcuts](https://developers.google.com/drive/api/guides/shortcuts)
|
* [Shortcuts](https://developers.google.com/drive/api/guides/shortcuts)
|
||||||
|
* [Limited and Expansive Access](https://developers.google.com/workspace/drive/api/guides/limited-expansive-access)
|
||||||
|
|
||||||
## Definitions
|
## Definitions
|
||||||
* [`<DriveFileEntity>`](Drive-File-Selection)
|
* [`<DriveFileEntity>`](Drive-File-Selection)
|
||||||
@@ -196,7 +197,7 @@ By default, when an ACL is created, GAM outputs details of the ACL as indented k
|
|||||||
```
|
```
|
||||||
gam <UserTypeEntity> update drivefileacl <DriveFileEntity> <DriveFilePermissionIDorEmail>
|
gam <UserTypeEntity> update drivefileacl <DriveFileEntity> <DriveFilePermissionIDorEmail>
|
||||||
(role <DriveFileACLRole>) [expiration <Time>] [removeexpiration [<Boolean>]]
|
(role <DriveFileACLRole>) [expiration <Time>] [removeexpiration [<Boolean>]]
|
||||||
[updatesheetprotectedranges [<Boolean>]]
|
[updatesheetprotectedranges [<Boolean>]] [enforceexpansiveaccess [<Boolean>]]
|
||||||
[showtitles] [nodetails|(csv [todrive <ToDriveAttribute>*] [formatjson [quotechar <Character>]])]
|
[showtitles] [nodetails|(csv [todrive <ToDriveAttribute>*] [formatjson [quotechar <Character>]])]
|
||||||
```
|
```
|
||||||
There is no change of parents when a new user is updated to be a file's owner.
|
There is no change of parents when a new user is updated to be a file's owner.
|
||||||
@@ -222,7 +223,7 @@ By default, when an ACL is updated, GAM outputs details of the ACL as indented k
|
|||||||
### Delete
|
### Delete
|
||||||
```
|
```
|
||||||
gam <UserTypeEntity> delete|del drivefileacl <DriveFileEntity> <DriveFilePermissionIDorEmail>
|
gam <UserTypeEntity> delete|del drivefileacl <DriveFileEntity> <DriveFilePermissionIDorEmail>
|
||||||
[updatesheetprotectedranges [<Boolean>]]
|
[updatesheetprotectedranges [<Boolean>]] [enforceexpansiveaccess [<Boolean>]]
|
||||||
[showtitles]
|
[showtitles]
|
||||||
```
|
```
|
||||||
The option `updatesheetprotectedranges` only applies to items in `<DriveFileEntity>` that are Google Sheets.
|
The option `updatesheetprotectedranges` only applies to items in `<DriveFileEntity>` that are Google Sheets.
|
||||||
@@ -262,6 +263,7 @@ When adding permissions from JSON data, permissions with `deleted` true are neve
|
|||||||
```
|
```
|
||||||
gam <UserTypeEntity> delete permissions <DriveFileEntity> <DriveFilePermissionIDEntity>
|
gam <UserTypeEntity> delete permissions <DriveFileEntity> <DriveFilePermissionIDEntity>
|
||||||
<PermissionMatch>* [<PermissionMatchAction>]
|
<PermissionMatch>* [<PermissionMatchAction>]
|
||||||
|
[enforceexpansiveaccess [<Boolean>]]
|
||||||
```
|
```
|
||||||
When deleting permissions from JSON data, permissions with role `owner` true are never processed.
|
When deleting permissions from JSON data, permissions with role `owner` true are never processed.
|
||||||
|
|
||||||
|
|||||||
@@ -9,6 +9,7 @@
|
|||||||
* [Drive API - Files](https://developers.google.com/drive/api/v3/reference/files)
|
* [Drive API - Files](https://developers.google.com/drive/api/v3/reference/files)
|
||||||
* [Shortcuts](https://developers.google.com/drive/api/guides/shortcuts)
|
* [Shortcuts](https://developers.google.com/drive/api/guides/shortcuts)
|
||||||
* [Prepare account for transfer](https://support.google.com/a/answer/1247799)
|
* [Prepare account for transfer](https://support.google.com/a/answer/1247799)
|
||||||
|
* [Limited and Expansive Access](https://developers.google.com/workspace/drive/api/guides/limited-expansive-access)
|
||||||
|
|
||||||
## Definitions
|
## Definitions
|
||||||
* [`<DriveFileEntity>`](Drive-File-Selection)
|
* [`<DriveFileEntity>`](Drive-File-Selection)
|
||||||
@@ -47,6 +48,7 @@ gam <UserTypeEntity> transfer drive <UserItem> [select <DriveFileEntity>]
|
|||||||
[noretentionmessages]
|
[noretentionmessages]
|
||||||
[nonowner_retainrole reader|commenter|writer|editor|contentmanager|fileorganizer|current|none]
|
[nonowner_retainrole reader|commenter|writer|editor|contentmanager|fileorganizer|current|none]
|
||||||
[nonowner_targetrole reader|commenter|writer|editor|contentmanager|fileorganizer|current|none|source]
|
[nonowner_targetrole reader|commenter|writer|editor|contentmanager|fileorganizer|current|none|source]
|
||||||
|
[enforceexpansiveaccess [<Boolean>]]
|
||||||
(orderby <DriveFileOrderByFieldName> [ascending|descending])*
|
(orderby <DriveFileOrderByFieldName> [ascending|descending])*
|
||||||
[preview] [todrive <ToDriveAttribute>*]
|
[preview] [todrive <ToDriveAttribute>*]
|
||||||
```
|
```
|
||||||
|
|||||||
@@ -36,6 +36,7 @@
|
|||||||
* https://support.google.com/vault/answer/2474474
|
* https://support.google.com/vault/answer/2474474
|
||||||
|
|
||||||
## Definitions
|
## Definitions
|
||||||
|
[Collections of Items](Collections-of-Items)
|
||||||
```
|
```
|
||||||
<AttendeeStatus> ::= accepted|declined|needsaction|tentative
|
<AttendeeStatus> ::= accepted|declined|needsaction|tentative
|
||||||
<EmailItem> ::= <EmailAddress>|<UniqueID>|<String>
|
<EmailItem> ::= <EmailAddress>|<UniqueID>|<String>
|
||||||
@@ -53,6 +54,8 @@
|
|||||||
<RESearchPattern> ::= <RegularExpression>
|
<RESearchPattern> ::= <RegularExpression>
|
||||||
<RESubstitution> ::= <String>>
|
<RESubstitution> ::= <String>>
|
||||||
|
|
||||||
|
<ChatSpace> ::= spaces/<String> | space/<String> | <String>
|
||||||
|
<ChatSpaceList> ::= "<ChatSpace>(,<ChatSpace>)*"
|
||||||
<ExportItem> ::= <UniqueID>|<String>
|
<ExportItem> ::= <UniqueID>|<String>
|
||||||
<ExportStatus> ::= completed|failed|inprogrsss
|
<ExportStatus> ::= completed|failed|inprogrsss
|
||||||
<ExportStatusList> ::= "<ExportStatus>(,<ExportStatus>)*"
|
<ExportStatusList> ::= "<ExportStatus>(,<ExportStatus>)*"
|
||||||
@@ -60,6 +63,9 @@
|
|||||||
<MatterItem> ::= <UniqueID>|<String>
|
<MatterItem> ::= <UniqueID>|<String>
|
||||||
<MatterState> ::= open|closed|deleted
|
<MatterState> ::= open|closed|deleted
|
||||||
<MatterStateList> ::= "<MatterState>(,<MatterState>)*"
|
<MatterStateList> ::= "<MatterState>(,<MatterState>)*"
|
||||||
|
<SharedDriveID> ::= <String>
|
||||||
|
<SharedDriveIDList> ::= "<SharedDriveID>(,<SharedDriveID>)*"
|
||||||
|
<URL> ::= <String>
|
||||||
<URLList> ::= "<URL>(,<URL>)*"
|
<URLList> ::= "<URL>(,<URL>)*"
|
||||||
|
|
||||||
<QueryVaultCorpus> ::= <String>
|
<QueryVaultCorpus> ::= <String>
|
||||||
@@ -199,11 +205,25 @@ This command can be useful for discovering legacy former employee accounts which
|
|||||||
gam print vaultcounts [todrive <ToDriveAttributes>*]
|
gam print vaultcounts [todrive <ToDriveAttributes>*]
|
||||||
matter <MatterItem> corpus mail|groups
|
matter <MatterItem> corpus mail|groups
|
||||||
(accounts <EmailAddressEntity>) | (orgunit|org|ou <OrgUnitPath>) | everyone
|
(accounts <EmailAddressEntity>) | (orgunit|org|ou <OrgUnitPath>) | everyone
|
||||||
|
[(shareddrives|teamdrives (<TeamDriveIDList>|(select <FileSelector>|<CSVFileSelector>))) |
|
||||||
|
(rooms (<ChatSpaceList>|(select <FileSelector>|<CSVFileSelector>))) |
|
||||||
|
(sitesurl (<URLList>||(select <FileSelector>|<CSVFileSelector>)))]
|
||||||
[scope <all_data|held_data|unprocessed_data>]
|
[scope <all_data|held_data|unprocessed_data>]
|
||||||
[terms <String>] [start|starttime <Date>|<Time>] [end|endtime <Date>|<Time>] [timezone <TimeZone>]
|
[terms <String>] [start|starttime <Date>|<Time>] [end|endtime <Date>|<Time>] [timezone <TimeZone>]
|
||||||
[excludedrafts <Boolean>]
|
[excludedrafts <Boolean>]
|
||||||
[wait <Integer>]
|
[wait <Integer>]
|
||||||
```
|
```
|
||||||
|
Specify the search method, this is optional:
|
||||||
|
* `accounts <EmailAddressEntity>` - Search all accounts specified in `<EmailAddressEntity>`
|
||||||
|
* `orgunit|org|ou <OrgUnitPath>` - Search all accounts in the OU `<OrgUnitPath>`
|
||||||
|
* `everyone` - Search for all accounts in the organization
|
||||||
|
* `shareddrives|teamdrives <SharedDriveIDList>` - Search for all accounts in the Shared Drives specified in `<SharedDriveIDList>`
|
||||||
|
* `shareddrives|teamdrives select <FileSelector>|<CSVFileSelector>` - Search for all accounts in the Shared Drives specified in `<FileSelector>|<CSVFileSelector>`
|
||||||
|
* `rooms <ChatSpaceList>` - Search in the Room specified in the chat rooms specified in `<ChatSpaceList>`
|
||||||
|
* `rooms <ChatSpaceList>` - Search in the Room specified in the chat rooms specified in `<FileSelector>|<CSVFileSelector>`
|
||||||
|
* `sitesurl <URLList>` - Search the published site URLs of new Google Sites in `<URLList>`
|
||||||
|
* `sitesurl <URLList>` - Search the published site URLs of new Google Sites specified in `<FileSelector>|<CSVFileSelector>`
|
||||||
|
|
||||||
Check the status of a previous count operation with the name from a previous command.
|
Check the status of a previous count operation with the name from a previous command.
|
||||||
```
|
```
|
||||||
gam print vaultcounts [todrive <ToDriveAttributes>*]
|
gam print vaultcounts [todrive <ToDriveAttributes>*]
|
||||||
@@ -216,7 +236,9 @@ Create a Google Vault export request.
|
|||||||
```
|
```
|
||||||
gam create vaultexport|export matter <MatterItem> [name <String>] corpus calendar|drive|gemini|groups|hangouts_chat|mail|voice
|
gam create vaultexport|export matter <MatterItem> [name <String>] corpus calendar|drive|gemini|groups|hangouts_chat|mail|voice
|
||||||
(accounts <EmailAddressEntity>) | (orgunit|org|ou <OrgUnitPath>) | everyone
|
(accounts <EmailAddressEntity>) | (orgunit|org|ou <OrgUnitPath>) | everyone
|
||||||
(shareddrives|teamdrives <SharedDriveIDList>) | (rooms <RoomList>) | (sitesurl <URLList>)
|
(shareddrives|teamdrives (<TeamDriveIDList>|(select <FileSelector>|<CSVFileSelector>))) |
|
||||||
|
(rooms (<ChatSpaceList>|(select <FileSelector>|<CSVFileSelector>))) |
|
||||||
|
(sitesurl (<URLList>||(select <FileSelector>|<CSVFileSelector>)))
|
||||||
[scope all_data|held_data|unprocessed_data]
|
[scope all_data|held_data|unprocessed_data]
|
||||||
[terms <String>] [start|starttime <Date>|<Time>] [end|endtime <Date>|<Time>] [timezone <TimeZone>]
|
[terms <String>] [start|starttime <Date>|<Time>] [end|endtime <Date>|<Time>] [timezone <TimeZone>]
|
||||||
[locationquery <StringList>] [peoplequery <StringList>] [minuswords <StringList>]
|
[locationquery <StringList>] [peoplequery <StringList>] [minuswords <StringList>]
|
||||||
@@ -250,8 +272,11 @@ Specify the search method, this option is required:
|
|||||||
* `orgunit|org|ou <OrgUnitPath>` - Search all accounts in the OU `<OrgUnitPath>`
|
* `orgunit|org|ou <OrgUnitPath>` - Search all accounts in the OU `<OrgUnitPath>`
|
||||||
* `everyone` - Search for all accounts in the organization
|
* `everyone` - Search for all accounts in the organization
|
||||||
* `shareddrives|teamdrives <SharedDriveIDList>` - Search for all accounts in the Shared Drives specified in `<SharedDriveIDList>`
|
* `shareddrives|teamdrives <SharedDriveIDList>` - Search for all accounts in the Shared Drives specified in `<SharedDriveIDList>`
|
||||||
* `rooms <RoomList>` - Search in the Room specified in the chat rooms specified in `<RoomList>`
|
* `shareddrives|teamdrives select <FileSelector>|<CSVFileSelector>` - Search for all accounts in the Shared Drives specified in `<FileSelector>|<CSVFileSelector>`
|
||||||
* `sitesurl <URLList>` - Search the published site URLs of new Google Sites
|
* `rooms <ChatSpaceList>` - Search in the Room specified in the chat rooms specified in `<ChatSpaceList>`
|
||||||
|
* `rooms <ChatSpaceList>` - Search in the Room specified in the chat rooms specified in `<FileSelector>|<CSVFileSelector>`
|
||||||
|
* `sitesurl <URLList>` - Search the published site URLs of new Google Sites in `<URLList>`
|
||||||
|
* `sitesurl <URLList>` - Search the published site URLs of new Google Sites specified in `<FileSelector>|<CSVFileSelector>`
|
||||||
|
|
||||||
Specify the scope of data to include in the export:
|
Specify the scope of data to include in the export:
|
||||||
* `all_data` - All available data; this is the default
|
* `all_data` - All available data; this is the default
|
||||||
|
|||||||
@@ -3,7 +3,7 @@
|
|||||||
Print the current version of Gam with details
|
Print the current version of Gam with details
|
||||||
```
|
```
|
||||||
gam version
|
gam version
|
||||||
GAM 7.07.02 - https://github.com/GAM-team/GAM - pyinstaller
|
GAM 7.07.06 - 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.4.1 x86_64
|
||||||
@@ -15,7 +15,7 @@ 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.02 - https://github.com/GAM-team/GAM - pyinstaller
|
GAM 7.07.06 - 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.4.1 x86_64
|
||||||
@@ -27,7 +27,7 @@ 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.02 - https://github.com/GAM-team/GAM - pyinstaller
|
GAM 7.07.06 - 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.4.1 x86_64
|
||||||
@@ -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.02
|
Latest: 7.07.06
|
||||||
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.02
|
7.07.06
|
||||||
```
|
```
|
||||||
In Linux/MacOS you can do:
|
In Linux/MacOS you can do:
|
||||||
```
|
```
|
||||||
@@ -82,7 +82,7 @@ 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.02 - https://github.com/GAM-team/GAM
|
GAM 7.07.06 - 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.4.1 x86_64
|
||||||
|
|||||||
Reference in New Issue
Block a user