gam7 7.9.0__py3-none-any.whl → 7.9.1__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of gam7 might be problematic. Click here for more details.
- gam/__init__.py +58 -22
- {gam7-7.9.0.dist-info → gam7-7.9.1.dist-info}/METADATA +1 -1
- {gam7-7.9.0.dist-info → gam7-7.9.1.dist-info}/RECORD +6 -6
- {gam7-7.9.0.dist-info → gam7-7.9.1.dist-info}/WHEEL +0 -0
- {gam7-7.9.0.dist-info → gam7-7.9.1.dist-info}/entry_points.txt +0 -0
- {gam7-7.9.0.dist-info → gam7-7.9.1.dist-info}/licenses/LICENSE +0 -0
gam/__init__.py
CHANGED
|
@@ -25,7 +25,7 @@ https://github.com/GAM-team/GAM/wiki
|
|
|
25
25
|
"""
|
|
26
26
|
|
|
27
27
|
__author__ = 'GAM Team <google-apps-manager@googlegroups.com>'
|
|
28
|
-
__version__ = '7.09.
|
|
28
|
+
__version__ = '7.09.01'
|
|
29
29
|
__license__ = 'Apache License 2.0 (http://www.apache.org/licenses/LICENSE-2.0)'
|
|
30
30
|
|
|
31
31
|
#pylint: disable=wrong-import-position
|
|
@@ -28118,6 +28118,7 @@ def simplifyChromeSchema(schema):
|
|
|
28118
28118
|
'settings': {}
|
|
28119
28119
|
}
|
|
28120
28120
|
fieldDescriptions = schema['fieldDescriptions']
|
|
28121
|
+
savedSettingName = ''
|
|
28121
28122
|
for mtype in schema['definition']['messageType']:
|
|
28122
28123
|
for setting in mtype['field']:
|
|
28123
28124
|
setting_name = setting['name']
|
|
@@ -28126,6 +28127,9 @@ def simplifyChromeSchema(schema):
|
|
|
28126
28127
|
'descriptions': [],
|
|
28127
28128
|
'type': setting['type'],
|
|
28128
28129
|
}
|
|
28130
|
+
if setting_dict['type'] == 'TYPE_INT64' and savedSettingName:
|
|
28131
|
+
setting_dict['name'] = savedSettingName
|
|
28132
|
+
savedSettingName = ''
|
|
28129
28133
|
if setting_dict['type'] == 'TYPE_STRING' and setting.get('label') == 'LABEL_REPEATED':
|
|
28130
28134
|
setting_dict['type'] = 'TYPE_LIST'
|
|
28131
28135
|
if setting_dict['type'] == 'TYPE_ENUM':
|
|
@@ -28147,6 +28151,7 @@ def simplifyChromeSchema(schema):
|
|
|
28147
28151
|
break
|
|
28148
28152
|
break
|
|
28149
28153
|
elif setting_dict['type'] == 'TYPE_MESSAGE':
|
|
28154
|
+
savedSettingName = setting_name
|
|
28150
28155
|
continue
|
|
28151
28156
|
else:
|
|
28152
28157
|
setting_dict['enums'] = None
|
|
@@ -28252,14 +28257,11 @@ def doDeleteChromePolicy():
|
|
|
28252
28257
|
entityActionFailedWarning(kvList, str(e))
|
|
28253
28258
|
|
|
28254
28259
|
CHROME_SCHEMA_SPECIAL_CASES = {
|
|
28260
|
+
# duration
|
|
28255
28261
|
'chrome.users.AutoUpdateCheckPeriodNewV2':
|
|
28256
28262
|
{'autoupdatecheckperiodminutesnew':
|
|
28257
28263
|
{'casedField': 'autoUpdateCheckPeriodMinutesNew',
|
|
28258
28264
|
'type': 'duration', 'minVal': 1, 'maxVal': 720}},
|
|
28259
|
-
'chrome.users.Avatar':
|
|
28260
|
-
{'useravatarimage':
|
|
28261
|
-
{'casedField': 'userAvatarImage',
|
|
28262
|
-
'type': 'downloadUri'}},
|
|
28263
28265
|
'chrome.users.BrowserSwitcherDelayDurationV2':
|
|
28264
28266
|
{'browserswitcherdelayduration':
|
|
28265
28267
|
{'casedField': 'browserSwitcherDelayDuration',
|
|
@@ -28301,10 +28303,6 @@ CHROME_SCHEMA_SPECIAL_CASES = {
|
|
|
28301
28303
|
{'maxinvalidationfetchdelay':
|
|
28302
28304
|
{'casedField': 'maxInvalidationFetchDelay',
|
|
28303
28305
|
'type': 'duration', 'minVal': 1, 'maxVal': 30, 'default': 10}},
|
|
28304
|
-
'chrome.users.PrintingMaxSheetsAllowed':
|
|
28305
|
-
{'printingmaxsheetsallowednullable':
|
|
28306
|
-
{'casedField': 'printingMaxSheetsAllowedNullable',
|
|
28307
|
-
'type': 'value', 'minVal': 1, 'maxVal': None}},
|
|
28308
28306
|
'chrome.users.PrintJobHistoryExpirationPeriodNewV2':
|
|
28309
28307
|
{'printjobhistoryexpirationperioddaysnew':
|
|
28310
28308
|
{'casedField': 'printJobHistoryExpirationPeriodDaysNew',
|
|
@@ -28328,10 +28326,6 @@ CHROME_SCHEMA_SPECIAL_CASES = {
|
|
|
28328
28326
|
'updatessuppressedstarttime':
|
|
28329
28327
|
{'casedField': 'updatesSuppressedStartTime',
|
|
28330
28328
|
'type': 'timeOfDay'}},
|
|
28331
|
-
'chrome.users.Wallpaper':
|
|
28332
|
-
{'wallpaperimage':
|
|
28333
|
-
{'casedField': 'wallpaperImage',
|
|
28334
|
-
'type': 'downloadUri'}},
|
|
28335
28329
|
'chrome.devices.EnableReportUploadFrequencyV2':
|
|
28336
28330
|
{'reportdeviceuploadfrequency':
|
|
28337
28331
|
{'casedField': 'reportDeviceUploadFrequency',
|
|
@@ -28340,10 +28334,6 @@ CHROME_SCHEMA_SPECIAL_CASES = {
|
|
|
28340
28334
|
{'uptimelimitduration':
|
|
28341
28335
|
{'casedField': 'uptimeLimitDuration',
|
|
28342
28336
|
'type': 'duration', 'minVal': 1, 'maxVal': 365}},
|
|
28343
|
-
'chrome.devices.SignInWallpaperImage':
|
|
28344
|
-
{'devicewallpaperimage':
|
|
28345
|
-
{'casedField': 'deviceWallpaperImage',
|
|
28346
|
-
'type': 'downloadUri'}},
|
|
28347
28337
|
'chrome.devices.kiosk.AcPowerSettingsV2':
|
|
28348
28338
|
{'acidletimeout':
|
|
28349
28339
|
{'casedField': 'acIdleTimeout',
|
|
@@ -28370,10 +28360,6 @@ CHROME_SCHEMA_SPECIAL_CASES = {
|
|
|
28370
28360
|
'batteryscreenofftimeout':
|
|
28371
28361
|
{'casedField': 'batteryScreenOffTimeout',
|
|
28372
28362
|
'type': 'duration', 'minVal': 0, 'maxVal': 35000}},
|
|
28373
|
-
'chrome.devices.managedguest.Avatar':
|
|
28374
|
-
{'useravatarimage':
|
|
28375
|
-
{'casedField': 'userAvatarImage',
|
|
28376
|
-
'type': 'downloadUri'}},
|
|
28377
28363
|
'chrome.devices.managedguest.BrowsingDataLifetimeV2':
|
|
28378
28364
|
{'browsinghistoryttl':
|
|
28379
28365
|
{'casedField': 'browsingHistoryTtl',
|
|
@@ -28415,6 +28401,56 @@ CHROME_SCHEMA_SPECIAL_CASES = {
|
|
|
28415
28401
|
{'sessiondurationlimit':
|
|
28416
28402
|
{'casedField': 'sessionDurationLimit',
|
|
28417
28403
|
'type': 'duration', 'minVal': 1, 'maxVal': 1440}},
|
|
28404
|
+
# value
|
|
28405
|
+
'chrome.users.GaiaLockScreenOfflineSigninTimeLimitDays':
|
|
28406
|
+
{'gaialockscreenofflinesignintimelimitdays':
|
|
28407
|
+
{'casedField': 'gaiaLockScreenOfflineSigninTimeLimitDays',
|
|
28408
|
+
'type': 'value', 'minVal': 0, 'maxVal': 365}},
|
|
28409
|
+
'chrome.users.GaiaOfflineSigninTimeLimitDays':
|
|
28410
|
+
{'gaiaofflinesignintimelimitdays':
|
|
28411
|
+
{'casedField': 'gaiaOfflineSigninTimeLimitDays',
|
|
28412
|
+
'type': 'value', 'minVal': 0, 'maxVal': 365}},
|
|
28413
|
+
'chrome.users.PrintingMaxSheetsAllowed':
|
|
28414
|
+
{'printingmaxsheetsallowednullable':
|
|
28415
|
+
{'casedField': 'printingMaxSheetsAllowedNullable',
|
|
28416
|
+
'type': 'value', 'minVal': 1, 'maxVal': None}},
|
|
28417
|
+
'chrome.users.RemoteAccessHostClipboardSizeBytes':
|
|
28418
|
+
{'remoteaccesshostclipboardsizebytes':
|
|
28419
|
+
{'casedField': 'remoteAccessHostClipboardSizeBytes',
|
|
28420
|
+
'type': 'value', 'minVal': 0, 'maxVal': 2147483647}},
|
|
28421
|
+
'chrome.users.SamlLockScreenOfflineSigninTimeLimitDays':
|
|
28422
|
+
{'samllockscreenofflinesignintimelimitdays':
|
|
28423
|
+
{'casedField': 'samlLockScreenOfflineSigninTimeLimitDays',
|
|
28424
|
+
'type': 'value', 'minVal': 0, 'maxVal': 365}},
|
|
28425
|
+
'chrome.devices.ExtensionCacheSize':
|
|
28426
|
+
{'extensioncachesize':
|
|
28427
|
+
{'casedField': 'extensionCacheSize',
|
|
28428
|
+
'type': 'value', 'minVal': 1048576, 'maxVal': None, 'default': 268435456}},
|
|
28429
|
+
'chrome.devices.managedguest.PrintingMaxSheetsAllowed':
|
|
28430
|
+
{'printingmaxsheetsallowednullable':
|
|
28431
|
+
{'casedField': 'printingMaxSheetsAllowedNullable',
|
|
28432
|
+
'type': 'value', 'minVal': 1, 'maxVal': None}},
|
|
28433
|
+
'chrome.devices.managedguest.RemoteAccessHostClipboardSizeBytes':
|
|
28434
|
+
{'remoteaccesshostclipboardsizebytes':
|
|
28435
|
+
{'casedField': 'remoteAccessHostClipboardSizeBytes',
|
|
28436
|
+
'type': 'value', 'minVal': 0, 'maxVal': 2147483647}},
|
|
28437
|
+
# downloadUri
|
|
28438
|
+
'chrome.users.Avatar':
|
|
28439
|
+
{'useravatarimage':
|
|
28440
|
+
{'casedField': 'userAvatarImage',
|
|
28441
|
+
'type': 'downloadUri'}},
|
|
28442
|
+
'chrome.users.Wallpaper':
|
|
28443
|
+
{'wallpaperimage':
|
|
28444
|
+
{'casedField': 'wallpaperImage',
|
|
28445
|
+
'type': 'downloadUri'}},
|
|
28446
|
+
'chrome.devices.SignInWallpaperImage':
|
|
28447
|
+
{'devicewallpaperimage':
|
|
28448
|
+
{'casedField': 'deviceWallpaperImage',
|
|
28449
|
+
'type': 'downloadUri'}},
|
|
28450
|
+
'chrome.devices.managedguest.Avatar':
|
|
28451
|
+
{'useravatarimage':
|
|
28452
|
+
{'casedField': 'userAvatarImage',
|
|
28453
|
+
'type': 'downloadUri'}},
|
|
28418
28454
|
'chrome.devices.managedguest.Wallpaper':
|
|
28419
28455
|
{'wallpaperimage':
|
|
28420
28456
|
{'casedField': 'wallpaperImage',
|
|
@@ -57296,6 +57332,7 @@ def printDiskUsage(users):
|
|
|
57296
57332
|
topFolder['path'] = f'{SHARED_DRIVES}{pathDelimiter}{topFolder["name"]}'
|
|
57297
57333
|
else:
|
|
57298
57334
|
topFolder['path'] = topFolder['name']
|
|
57335
|
+
topFolder.pop('ownedByMe', None)
|
|
57299
57336
|
elif topFolder['name'] == MY_DRIVE and not topFolder.get('parents'):
|
|
57300
57337
|
topFolder['path'] = MY_DRIVE
|
|
57301
57338
|
else:
|
|
@@ -57306,7 +57343,6 @@ def printDiskUsage(users):
|
|
|
57306
57343
|
if owners:
|
|
57307
57344
|
topFolder['Owner'] = owners[0].get('emailAddress', 'Unknown')
|
|
57308
57345
|
trashFolder['Owner'] = topFolder['Owner']
|
|
57309
|
-
topFolder.pop('ownedByMe', None)
|
|
57310
57346
|
topFolder.pop('parents', None)
|
|
57311
57347
|
topFolder.update(zeroFolderInfo)
|
|
57312
57348
|
topFolder.pop(sizeField, None)
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
gam/__init__.py,sha256=
|
|
1
|
+
gam/__init__.py,sha256=EqqD1dpkkwSbBFUVS-L2B4ud6trEg59VU3z24ADlvj0,3517246
|
|
2
2
|
gam/__main__.py,sha256=amz0-959ph6zkZKqjaar4n60yho-T37w6qWI36qx0CA,1049
|
|
3
3
|
gam/cacerts.pem,sha256=82Ak7btW_2XvocLUvAwPmpx8Chi0oqtZUG1gseLK_t4,50235
|
|
4
4
|
gam/cbcm-v1.1beta1.json,sha256=xO5XloCQQULmPbFBx5bckdqmbLFQ7sJ2TImhE1ysDIY,19439
|
|
@@ -65,8 +65,8 @@ gam/googleapiclient/discovery_cache/base.py,sha256=yCDPtxnbNN-p5_9fzBacC6P3wcUPl
|
|
|
65
65
|
gam/googleapiclient/discovery_cache/file_cache.py,sha256=sim3Mg4HgRYo3vX75jvcKy_aV568EvIrtBfvfbw-044,4774
|
|
66
66
|
gam/iso8601/__init__.py,sha256=Z2PsYbXgAH5a5xzUvgczCboPzqWpm65kRcIngCnhViU,1218
|
|
67
67
|
gam/iso8601/iso8601.py,sha256=Li2FHZ4sBTWuthuQhyCvmvj0j6At8JbGzkSv2fc2RHU,4384
|
|
68
|
-
gam7-7.9.
|
|
69
|
-
gam7-7.9.
|
|
70
|
-
gam7-7.9.
|
|
71
|
-
gam7-7.9.
|
|
72
|
-
gam7-7.9.
|
|
68
|
+
gam7-7.9.1.dist-info/METADATA,sha256=bBb1CBudSxPlVO_9OsXduoRE_D8RJs0MHCgIQUOt8b4,2977
|
|
69
|
+
gam7-7.9.1.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
|
|
70
|
+
gam7-7.9.1.dist-info/entry_points.txt,sha256=HVUM5J7dA8YwvJfG30jiLefR19ExMs387TWugWd9sf4,42
|
|
71
|
+
gam7-7.9.1.dist-info/licenses/LICENSE,sha256=xx0jnfkXJvxRnG63LTGOxlggYnIysveWIZ6H3PNdCrQ,11357
|
|
72
|
+
gam7-7.9.1.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|