gam7 7.9.5__py3-none-any.whl → 7.9.7__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.
- gam/__init__.py +10 -9
- {gam7-7.9.5.dist-info → gam7-7.9.7.dist-info}/METADATA +1 -1
- {gam7-7.9.5.dist-info → gam7-7.9.7.dist-info}/RECORD +6 -6
- {gam7-7.9.5.dist-info → gam7-7.9.7.dist-info}/WHEEL +0 -0
- {gam7-7.9.5.dist-info → gam7-7.9.7.dist-info}/entry_points.txt +0 -0
- {gam7-7.9.5.dist-info → gam7-7.9.7.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.07'
|
|
29
29
|
__license__ = 'Apache License 2.0 (http://www.apache.org/licenses/LICENSE-2.0)'
|
|
30
30
|
|
|
31
31
|
#pylint: disable=wrong-import-position
|
|
@@ -57618,9 +57618,10 @@ FILETREE_FIELDS_CHOICE_MAP = {
|
|
|
57618
57618
|
'parents': 'parents',
|
|
57619
57619
|
'size': 'size',
|
|
57620
57620
|
'trashed': 'trashed',
|
|
57621
|
+
'webviewlink': 'webViewLink',
|
|
57621
57622
|
}
|
|
57622
57623
|
|
|
57623
|
-
FILETREE_FIELDS_PRINT_ORDER = ['id', 'parents', 'owners', 'mimeType', 'size', 'explicitlyTrashed', 'trashed']
|
|
57624
|
+
FILETREE_FIELDS_PRINT_ORDER = ['id', 'parents', 'owners', 'mimeType', 'size', 'explicitlyTrashed', 'trashed', 'webViewLink']
|
|
57624
57625
|
|
|
57625
57626
|
# gam <UserTypeEntity> print filetree [todrive <ToDriveAttribute>*]
|
|
57626
57627
|
# [select <DriveFileEntity> [selectsubquery <QueryDriveFile>] [depth <Number>]]
|
|
@@ -57785,7 +57786,7 @@ def printShowFileTree(users):
|
|
|
57785
57786
|
else:
|
|
57786
57787
|
unknownArgumentExit()
|
|
57787
57788
|
fieldsList = ['driveId', 'id', 'name', 'parents', 'mimeType', 'ownedByMe', 'owners(emailAddress)',
|
|
57788
|
-
'shared', sizeField, 'explicitlyTrashed', 'trashed']
|
|
57789
|
+
'shared', sizeField, 'explicitlyTrashed', 'trashed', 'webViewLink']
|
|
57789
57790
|
if csvPF:
|
|
57790
57791
|
if not GC.Values[GC.DRIVE_V3_NATIVE_NAMES]:
|
|
57791
57792
|
fileNameTitle = 'title'
|
|
@@ -65775,13 +65776,13 @@ def printShowSharedDrives(users, useDomainAdminAccess=False):
|
|
|
65775
65776
|
entityPerformActionNumItems([Ent.USER, user], jcount, Ent.SHAREDDRIVE, i, count)
|
|
65776
65777
|
Ind.Increment()
|
|
65777
65778
|
j = 0
|
|
65778
|
-
for shareddrive in matchedFeed:
|
|
65779
|
+
for shareddrive in sorted(matchedFeed, key=lambda k: k['name']):
|
|
65779
65780
|
j += 1
|
|
65780
65781
|
shareddrive = stripNonShowFields(shareddrive)
|
|
65781
65782
|
_showSharedDrive(user, shareddrive, j, jcount, FJQC)
|
|
65782
65783
|
Ind.Decrement()
|
|
65783
65784
|
else:
|
|
65784
|
-
for shareddrive in matchedFeed:
|
|
65785
|
+
for shareddrive in sorted(matchedFeed, key=lambda k: k['name']):
|
|
65785
65786
|
shareddrive = stripNonShowFields(shareddrive)
|
|
65786
65787
|
if FJQC.formatJSON:
|
|
65787
65788
|
row = {'User': user, 'id': shareddrive['id'], 'name': shareddrive['name']}
|
|
@@ -66156,7 +66157,7 @@ def printShowSharedDriveACLs(users, useDomainAdminAccess=False):
|
|
|
66156
66157
|
entityPerformActionNumItems([Ent.USER, user], jcount, Ent.SHAREDDRIVE, i, count)
|
|
66157
66158
|
Ind.Increment()
|
|
66158
66159
|
j = 0
|
|
66159
|
-
for shareddrive in matchFeed:
|
|
66160
|
+
for shareddrive in sorted(matchFeed, key=lambda k: k['name']):
|
|
66160
66161
|
j += 1
|
|
66161
66162
|
if not FJQC.formatJSON:
|
|
66162
66163
|
_showDriveFilePermissions(Ent.SHAREDDRIVE, f'{shareddrive["name"]} ({shareddrive["id"]}) - {shareddrive["createdTime"]}',
|
|
@@ -66170,7 +66171,7 @@ def printShowSharedDriveACLs(users, useDomainAdminAccess=False):
|
|
|
66170
66171
|
Ind.Decrement()
|
|
66171
66172
|
elif matchFeed:
|
|
66172
66173
|
if oneItemPerRow:
|
|
66173
|
-
for shareddrive in matchFeed:
|
|
66174
|
+
for shareddrive in sorted(matchFeed, key=lambda k: k['name']):
|
|
66174
66175
|
baserow = {'User': user, 'id': shareddrive['id'], 'name': shareddrive['name'], 'createdTime': shareddrive['createdTime']}
|
|
66175
66176
|
if addCSVData:
|
|
66176
66177
|
baserow.update(addCSVData)
|
|
@@ -66191,7 +66192,7 @@ def printShowSharedDriveACLs(users, useDomainAdminAccess=False):
|
|
|
66191
66192
|
baserow['JSON'] = json.dumps({})
|
|
66192
66193
|
csvPF.WriteRowNoFilter(baserow)
|
|
66193
66194
|
else:
|
|
66194
|
-
for shareddrive in matchFeed:
|
|
66195
|
+
for shareddrive in sorted(matchFeed, key=lambda k: k['name']):
|
|
66195
66196
|
baserow = {'User': user, 'id': shareddrive['id'], 'name': shareddrive['name'], 'createdTime': shareddrive['createdTime']}
|
|
66196
66197
|
if addCSVData:
|
|
66197
66198
|
baserow.update(addCSVData)
|
|
@@ -66392,7 +66393,7 @@ def printSharedDriveOrganizers(users, useDomainAdminAccess=False):
|
|
|
66392
66393
|
pass
|
|
66393
66394
|
if len(matchFeed) == 0:
|
|
66394
66395
|
setSysExitRC(NO_ENTITIES_FOUND_RC)
|
|
66395
|
-
for shareddrive in matchFeed:
|
|
66396
|
+
for shareddrive in sorted(matchFeed, key=lambda k: k['name']):
|
|
66396
66397
|
row = {'id': shareddrive['id'], 'name': shareddrive['name'],
|
|
66397
66398
|
'organizers': delimiter.join(shareddrive['organizers']),
|
|
66398
66399
|
'createdTime': shareddrive['createdTime']}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
gam/__init__.py,sha256=
|
|
1
|
+
gam/__init__.py,sha256=Ec4etcYlgkwMJv3djhU5qJw9FWHf6rE5QKXwgUCwabY,3522132
|
|
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.7.dist-info/METADATA,sha256=q07WWyeqfpMb0LITUcUkRKATrFDMP9kkLUwWlccFO6o,2977
|
|
69
|
+
gam7-7.9.7.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
|
|
70
|
+
gam7-7.9.7.dist-info/entry_points.txt,sha256=HVUM5J7dA8YwvJfG30jiLefR19ExMs387TWugWd9sf4,42
|
|
71
|
+
gam7-7.9.7.dist-info/licenses/LICENSE,sha256=xx0jnfkXJvxRnG63LTGOxlggYnIysveWIZ6H3PNdCrQ,11357
|
|
72
|
+
gam7-7.9.7.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|