gam7 7.6.8__py3-none-any.whl → 7.6.9__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 +17 -2
- {gam7-7.6.8.dist-info → gam7-7.6.9.dist-info}/METADATA +1 -1
- {gam7-7.6.8.dist-info → gam7-7.6.9.dist-info}/RECORD +6 -6
- {gam7-7.6.8.dist-info → gam7-7.6.9.dist-info}/WHEEL +0 -0
- {gam7-7.6.8.dist-info → gam7-7.6.9.dist-info}/entry_points.txt +0 -0
- {gam7-7.6.8.dist-info → gam7-7.6.9.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.06.
|
|
28
|
+
__version__ = '7.06.09'
|
|
29
29
|
__license__ = 'Apache License 2.0 (http://www.apache.org/licenses/LICENSE-2.0)'
|
|
30
30
|
|
|
31
31
|
#pylint: disable=wrong-import-position
|
|
@@ -13491,6 +13491,8 @@ REPORT_CHOICE_MAP = {
|
|
|
13491
13491
|
'drive': 'drive',
|
|
13492
13492
|
'enterprisegroups': 'groups_enterprise',
|
|
13493
13493
|
'gcp': 'gcp',
|
|
13494
|
+
'gemini': 'gemini_for_workspace',
|
|
13495
|
+
'geminiforworkspace': 'gemini_for_workspace',
|
|
13494
13496
|
'gplus': 'gplus',
|
|
13495
13497
|
'google+': 'gplus',
|
|
13496
13498
|
'group': 'groups',
|
|
@@ -13788,6 +13790,20 @@ def doReport():
|
|
|
13788
13790
|
csvPF.WriteRow(row)
|
|
13789
13791
|
return (True, lastDate)
|
|
13790
13792
|
|
|
13793
|
+
# dynamically extend our choices with other reports Google dynamically adds
|
|
13794
|
+
rep = buildGAPIObject(API.REPORTS)
|
|
13795
|
+
dyn_choices = rep._rootDesc \
|
|
13796
|
+
.get('resources', {}) \
|
|
13797
|
+
.get('activities', {}) \
|
|
13798
|
+
.get('methods', {}) \
|
|
13799
|
+
.get('list', {}) \
|
|
13800
|
+
.get('parameters', {}) \
|
|
13801
|
+
.get('applicationName', {}) \
|
|
13802
|
+
.get('enum', [])
|
|
13803
|
+
for dyn_choice in dyn_choices:
|
|
13804
|
+
if dyn_choice.replace('_', '') not in REPORT_CHOICE_MAP and \
|
|
13805
|
+
dyn_choice not in REPORT_CHOICE_MAP.values():
|
|
13806
|
+
REPORT_CHOICE_MAP[dyn_choice.replace('_', '')] = dyn_choice
|
|
13791
13807
|
report = getChoice(REPORT_CHOICE_MAP, mapChoice=True)
|
|
13792
13808
|
if report == 'usage':
|
|
13793
13809
|
doReportUsage()
|
|
@@ -13795,7 +13811,6 @@ def doReport():
|
|
|
13795
13811
|
if report == 'usageparameters':
|
|
13796
13812
|
doReportUsageParameters()
|
|
13797
13813
|
return
|
|
13798
|
-
rep = buildGAPIObject(API.REPORTS)
|
|
13799
13814
|
customerId = GC.Values[GC.CUSTOMER_ID]
|
|
13800
13815
|
if customerId == GC.MY_CUSTOMER:
|
|
13801
13816
|
customerId = None
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
gam/__init__.py,sha256=
|
|
1
|
+
gam/__init__.py,sha256=It60fhbeNSIintbA7ttBwvgGF9jsA9_FTRtl1Zoxkqo,3493033
|
|
2
2
|
gam/__main__.py,sha256=amz0-959ph6zkZKqjaar4n60yho-T37w6qWI36qx0CA,1049
|
|
3
3
|
gam/cacerts.pem,sha256=nJuWha0xm5dHw_5ptGphwRoO-r36Ccpqiww9pCEDbSc,67484
|
|
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.6.
|
|
69
|
-
gam7-7.6.
|
|
70
|
-
gam7-7.6.
|
|
71
|
-
gam7-7.6.
|
|
72
|
-
gam7-7.6.
|
|
68
|
+
gam7-7.6.9.dist-info/METADATA,sha256=1BF0s8Y--r2XYAJ2uLJgJd9nyXPhFTuFox5klAt8YjY,2918
|
|
69
|
+
gam7-7.6.9.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
|
|
70
|
+
gam7-7.6.9.dist-info/entry_points.txt,sha256=HVUM5J7dA8YwvJfG30jiLefR19ExMs387TWugWd9sf4,42
|
|
71
|
+
gam7-7.6.9.dist-info/licenses/LICENSE,sha256=xx0jnfkXJvxRnG63LTGOxlggYnIysveWIZ6H3PNdCrQ,11357
|
|
72
|
+
gam7-7.6.9.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|