gam7 7.3.4__py3-none-any.whl → 7.3.6__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 +11 -2
- gam/gamlib/glclargs.py +1 -0
- {gam7-7.3.4.dist-info → gam7-7.3.6.dist-info}/METADATA +2 -2
- {gam7-7.3.4.dist-info → gam7-7.3.6.dist-info}/RECORD +7 -6
- gam7-7.3.6.dist-info/entry_points.txt +2 -0
- {gam7-7.3.4.dist-info → gam7-7.3.6.dist-info}/WHEEL +0 -0
- {gam7-7.3.4.dist-info → gam7-7.3.6.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.03.
|
|
28
|
+
__version__ = '7.03.06'
|
|
29
29
|
__license__ = 'Apache License 2.0 (http://www.apache.org/licenses/LICENSE-2.0)'
|
|
30
30
|
|
|
31
31
|
#pylint: disable=wrong-import-position
|
|
@@ -7768,6 +7768,9 @@ def RowFilterMatch(row, titlesList, rowFilter, rowFilterModeAll, rowDropFilter,
|
|
|
7768
7768
|
return False
|
|
7769
7769
|
return True
|
|
7770
7770
|
|
|
7771
|
+
def getFieldsRaw():
|
|
7772
|
+
return getString(Cmd.OB_FIELDS)
|
|
7773
|
+
|
|
7771
7774
|
# myarg is command line argument
|
|
7772
7775
|
# fieldChoiceMap maps myarg to API field names
|
|
7773
7776
|
#FIELD_CHOICE_MAP = {
|
|
@@ -25502,6 +25505,7 @@ def doPrintShowBrowsers():
|
|
|
25502
25505
|
csvPF = CSVPrintFile(['deviceId']) if Act.csvFormat() else None
|
|
25503
25506
|
FJQC = FormatJSONQuoteChar(csvPF)
|
|
25504
25507
|
fieldsList = []
|
|
25508
|
+
fields = None
|
|
25505
25509
|
projection = 'BASIC'
|
|
25506
25510
|
orderBy = 'id'
|
|
25507
25511
|
sortOrder = 'ASCENDING'
|
|
@@ -25538,13 +25542,18 @@ def doPrintShowBrowsers():
|
|
|
25538
25542
|
fieldsList = []
|
|
25539
25543
|
elif myarg == 'sortheaders':
|
|
25540
25544
|
sortHeaders = True
|
|
25545
|
+
elif myarg == 'rawfields':
|
|
25546
|
+
projection = 'FULL'
|
|
25547
|
+
fields = getFieldsRaw()
|
|
25541
25548
|
elif getFieldsList(myarg, BROWSER_FIELDS_CHOICE_MAP, fieldsList, initialField='deviceId'):
|
|
25542
25549
|
pass
|
|
25543
25550
|
else:
|
|
25544
25551
|
FJQC.GetFormatJSONQuoteChar(myarg, True)
|
|
25545
25552
|
if projection == 'BASIC' and set(fieldsList).intersection(BROWSER_FULL_ACCESS_FIELDS):
|
|
25546
25553
|
projection = 'FULL'
|
|
25547
|
-
|
|
25554
|
+
if not fields:
|
|
25555
|
+
fields = getItemFieldsFromFieldsList('browsers', fieldsList)
|
|
25556
|
+
print(f'fields: {fields}')
|
|
25548
25557
|
if FJQC.formatJSON:
|
|
25549
25558
|
sortHeaders = False
|
|
25550
25559
|
substituteQueryTimes(queries, queryTimes)
|
gam/gamlib/glclargs.py
CHANGED
|
@@ -922,6 +922,7 @@ class GamCLArgs():
|
|
|
922
922
|
OB_EVENT_ID_ENTITY = 'EventIDEntity'
|
|
923
923
|
OB_EVENT_NAME_LIST = "EventNameList"
|
|
924
924
|
OB_EXPORT_ITEM = 'ExportItem'
|
|
925
|
+
OB_FIELDS = 'Fields'
|
|
925
926
|
OB_FIELD_NAME = 'FieldName'
|
|
926
927
|
OB_FIELD_NAME_LIST = "FieldNameList"
|
|
927
928
|
OB_FILE_NAME = 'FileName'
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: gam7
|
|
3
|
-
Version: 7.3.
|
|
3
|
+
Version: 7.3.6
|
|
4
4
|
Summary: CLI tool to manage Google Workspace
|
|
5
5
|
Project-URL: Homepage, https://github.com/GAM-team/GAM
|
|
6
6
|
Project-URL: Issues, https://github.com/GAM-team/GAM/issues
|
|
@@ -23,7 +23,7 @@ Requires-Dist: lxml
|
|
|
23
23
|
Requires-Dist: passlib>=1.7.2
|
|
24
24
|
Requires-Dist: pathvalidate
|
|
25
25
|
Requires-Dist: python-dateutil
|
|
26
|
-
Requires-Dist: yubikey-manager>=5.0
|
|
26
|
+
Requires-Dist: yubikey-manager[yubikey]>=5.0
|
|
27
27
|
Description-Content-Type: text/markdown
|
|
28
28
|
|
|
29
29
|
GAM is a command line tool for Google Workspace admins to manage domain and user settings quickly and easily.
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
gam/__init__.py,sha256=
|
|
1
|
+
gam/__init__.py,sha256=rUkpQj51MUfNoWnIYZQbWk40uWVWoq7qt9exfYIxqNo,3497611
|
|
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
|
|
@@ -24,7 +24,7 @@ gam/gamlib/__init__.py,sha256=z5mF-y0j8pm-YNFBaiuxB4M_GAUPG-cXWwrhYwrVReM,679
|
|
|
24
24
|
gam/gamlib/glaction.py,sha256=1Il_HrChVnPkzZwiZs5au4mFQVtq4K1Z42uIuR6qdnI,9419
|
|
25
25
|
gam/gamlib/glapi.py,sha256=t8E0oM1negh5PydXDyzKoer-vjuCLGHcw7bh4NBs_dY,34499
|
|
26
26
|
gam/gamlib/glcfg.py,sha256=3ix3GFXP8riaD4z4ubt4qUCxznhmLU-bZHCw8TxLiz8,27484
|
|
27
|
-
gam/gamlib/glclargs.py,sha256=
|
|
27
|
+
gam/gamlib/glclargs.py,sha256=o3JeJFi43unboSe11NmEY28U-GYL7pFxH486bxYDb7Q,42094
|
|
28
28
|
gam/gamlib/glentity.py,sha256=4DGlmRxugViY1K3zObva8ByL3yA9sccXxjAVQz-xIjg,33907
|
|
29
29
|
gam/gamlib/glgapi.py,sha256=W1nFH0sY7P8pnb98_4uzMSCs8gre0rvG5pBRI6HJq0c,38274
|
|
30
30
|
gam/gamlib/glgdata.py,sha256=weRppttWm6uRyqtBoGPKoHiNZ2h28nhfUV4J_mbCszY,2707
|
|
@@ -66,7 +66,8 @@ gam/googleapiclient/discovery_cache/base.py,sha256=yCDPtxnbNN-p5_9fzBacC6P3wcUPl
|
|
|
66
66
|
gam/googleapiclient/discovery_cache/file_cache.py,sha256=sim3Mg4HgRYo3vX75jvcKy_aV568EvIrtBfvfbw-044,4774
|
|
67
67
|
gam/iso8601/__init__.py,sha256=Z2PsYbXgAH5a5xzUvgczCboPzqWpm65kRcIngCnhViU,1218
|
|
68
68
|
gam/iso8601/iso8601.py,sha256=Li2FHZ4sBTWuthuQhyCvmvj0j6At8JbGzkSv2fc2RHU,4384
|
|
69
|
-
gam7-7.3.
|
|
70
|
-
gam7-7.3.
|
|
71
|
-
gam7-7.3.
|
|
72
|
-
gam7-7.3.
|
|
69
|
+
gam7-7.3.6.dist-info/METADATA,sha256=sWLzcosnQ14C45AW9SidDRCyHo0V8awe2VUNmvSMG3I,2423
|
|
70
|
+
gam7-7.3.6.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
|
|
71
|
+
gam7-7.3.6.dist-info/entry_points.txt,sha256=HVUM5J7dA8YwvJfG30jiLefR19ExMs387TWugWd9sf4,42
|
|
72
|
+
gam7-7.3.6.dist-info/licenses/LICENSE,sha256=xx0jnfkXJvxRnG63LTGOxlggYnIysveWIZ6H3PNdCrQ,11357
|
|
73
|
+
gam7-7.3.6.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|