gam7 7.10.3__py3-none-any.whl → 7.10.4__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 +26 -23
- {gam7-7.10.3.dist-info → gam7-7.10.4.dist-info}/METADATA +1 -1
- {gam7-7.10.3.dist-info → gam7-7.10.4.dist-info}/RECORD +6 -6
- {gam7-7.10.3.dist-info → gam7-7.10.4.dist-info}/WHEEL +0 -0
- {gam7-7.10.3.dist-info → gam7-7.10.4.dist-info}/entry_points.txt +0 -0
- {gam7-7.10.3.dist-info → gam7-7.10.4.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.10.
|
|
28
|
+
__version__ = '7.10.04'
|
|
29
29
|
__license__ = 'Apache License 2.0 (http://www.apache.org/licenses/LICENSE-2.0)'
|
|
30
30
|
|
|
31
31
|
#pylint: disable=wrong-import-position
|
|
@@ -13548,52 +13548,55 @@ def doReportUsage():
|
|
|
13548
13548
|
NL_SPACES_PATTERN = re.compile(r'\n +')
|
|
13549
13549
|
DISABLED_REASON_TIME_PATTERN = re.compile(r'.*(\d{4}/\d{2}/\d{2}-\d{2}:\d{2}:\d{2})')
|
|
13550
13550
|
|
|
13551
|
+
REPORT_ALIASES_CHOICE_MAP = {
|
|
13552
|
+
'access': 'accesstransparency',
|
|
13553
|
+
'calendars': 'calendar',
|
|
13554
|
+
'cloud': 'gcp',
|
|
13555
|
+
'currents': 'gplus',
|
|
13556
|
+
'customers': 'customer',
|
|
13557
|
+
'domain': 'customer',
|
|
13558
|
+
'devices': 'mobile',
|
|
13559
|
+
'doc': 'drive',
|
|
13560
|
+
'docs': 'drive',
|
|
13561
|
+
'enterprisegroups': 'groupsenterprise',
|
|
13562
|
+
'gemini': 'geminiinworkspaceapps',
|
|
13563
|
+
'geminiforworkspace': 'geminiinworkspaceapps',
|
|
13564
|
+
'group': 'groups',
|
|
13565
|
+
'google+': 'gplus',
|
|
13566
|
+
'hangoutsmeet': 'meet',
|
|
13567
|
+
'logins': 'login',
|
|
13568
|
+
'lookerstudio': 'datastudio',
|
|
13569
|
+
'oauthtoken': 'token',
|
|
13570
|
+
'tokens': 'token',
|
|
13571
|
+
'users': 'user',
|
|
13572
|
+
}
|
|
13573
|
+
|
|
13551
13574
|
REPORT_CHOICE_MAP = {
|
|
13552
|
-
'access': 'access_transparency',
|
|
13553
13575
|
'accesstransparency': 'access_transparency',
|
|
13554
13576
|
'admin': 'admin',
|
|
13555
13577
|
'calendar': 'calendar',
|
|
13556
|
-
'calendars': 'calendar',
|
|
13557
13578
|
'chat': 'chat',
|
|
13558
13579
|
'chrome': 'chrome',
|
|
13559
|
-
'classroom': 'classroom',
|
|
13560
|
-
'cloud': 'gcp',
|
|
13561
13580
|
'contextawareaccess': 'context_aware_access',
|
|
13562
|
-
'currents': 'gplus',
|
|
13563
13581
|
'customer': 'customer',
|
|
13564
|
-
'customers': 'customer',
|
|
13565
13582
|
'datastudio': 'data_studio',
|
|
13566
|
-
'devices': 'mobile',
|
|
13567
|
-
'doc': 'drive',
|
|
13568
|
-
'docs': 'drive',
|
|
13569
|
-
'domain': 'customer',
|
|
13570
13583
|
'drive': 'drive',
|
|
13571
|
-
'enterprisegroups': 'groups_enterprise',
|
|
13572
13584
|
'gcp': 'gcp',
|
|
13573
|
-
'
|
|
13574
|
-
'geminiforworkspace': 'gemini_for_workspace',
|
|
13585
|
+
'geminiinworkspaceapps': 'gemini_in_workspace_apps',
|
|
13575
13586
|
'gplus': 'gplus',
|
|
13576
|
-
'google+': 'gplus',
|
|
13577
|
-
'group': 'groups',
|
|
13578
13587
|
'groups': 'groups',
|
|
13579
13588
|
'groupsenterprise': 'groups_enterprise',
|
|
13580
|
-
'hangoutsmeet': 'meet',
|
|
13581
13589
|
'jamboard': 'jamboard',
|
|
13582
13590
|
'keep': 'keep',
|
|
13583
13591
|
'login': 'login',
|
|
13584
|
-
'logins': 'login',
|
|
13585
|
-
'lookerstudio': 'data_studio',
|
|
13586
13592
|
'meet': 'meet',
|
|
13587
13593
|
'mobile': 'mobile',
|
|
13588
|
-
'oauthtoken': 'token',
|
|
13589
13594
|
'rules': 'rules',
|
|
13590
13595
|
'saml': 'saml',
|
|
13591
13596
|
'token': 'token',
|
|
13592
|
-
'tokens': 'token',
|
|
13593
13597
|
'usage': 'usage',
|
|
13594
13598
|
'usageparameters': 'usageparameters',
|
|
13595
13599
|
'user': 'user',
|
|
13596
|
-
'users': 'user',
|
|
13597
13600
|
'useraccounts': 'user_accounts',
|
|
13598
13601
|
'vault': 'vault',
|
|
13599
13602
|
}
|
|
@@ -13883,7 +13886,7 @@ def doReport():
|
|
|
13883
13886
|
if dyn_choice.replace('_', '') not in REPORT_CHOICE_MAP and \
|
|
13884
13887
|
dyn_choice not in REPORT_CHOICE_MAP.values():
|
|
13885
13888
|
REPORT_CHOICE_MAP[dyn_choice.replace('_', '')] = dyn_choice
|
|
13886
|
-
report = getChoice(REPORT_CHOICE_MAP, mapChoice=True)
|
|
13889
|
+
report = getChoice(REPORT_CHOICE_MAP, choiceAliases=REPORT_ALIASES_CHOICE_MAP, mapChoice=True)
|
|
13887
13890
|
if report == 'usage':
|
|
13888
13891
|
doReportUsage()
|
|
13889
13892
|
return
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
gam/__init__.py,sha256=
|
|
1
|
+
gam/__init__.py,sha256=eIHhyg9VDrX8BohVyQinhFfvP_089WBvCkSEXYFxpvw,3532402
|
|
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.10.
|
|
69
|
-
gam7-7.10.
|
|
70
|
-
gam7-7.10.
|
|
71
|
-
gam7-7.10.
|
|
72
|
-
gam7-7.10.
|
|
68
|
+
gam7-7.10.4.dist-info/METADATA,sha256=lgEqMVhCPH4Owx4FkSQFCnAlOjMb7CiKBivLhIFLYU0,2978
|
|
69
|
+
gam7-7.10.4.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
|
|
70
|
+
gam7-7.10.4.dist-info/entry_points.txt,sha256=HVUM5J7dA8YwvJfG30jiLefR19ExMs387TWugWd9sf4,42
|
|
71
|
+
gam7-7.10.4.dist-info/licenses/LICENSE,sha256=xx0jnfkXJvxRnG63LTGOxlggYnIysveWIZ6H3PNdCrQ,11357
|
|
72
|
+
gam7-7.10.4.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|