gam7 7.16.0__py3-none-any.whl → 7.16.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 +17 -1
- {gam7-7.16.0.dist-info → gam7-7.16.1.dist-info}/METADATA +1 -1
- {gam7-7.16.0.dist-info → gam7-7.16.1.dist-info}/RECORD +6 -6
- {gam7-7.16.0.dist-info → gam7-7.16.1.dist-info}/WHEEL +0 -0
- {gam7-7.16.0.dist-info → gam7-7.16.1.dist-info}/entry_points.txt +0 -0
- {gam7-7.16.0.dist-info → gam7-7.16.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.16.
|
|
28
|
+
__version__ = '7.16.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
|
|
@@ -53817,6 +53817,11 @@ DRIVE_FILE_CONTENT_RESTRICTIONS_CHOICE_MAP = {
|
|
|
53817
53817
|
'ownerrestricted': 'ownerRestricted',
|
|
53818
53818
|
}
|
|
53819
53819
|
|
|
53820
|
+
DRIVE_FILE_ITEM_DOWNLOAD_RESTRICTION_CHOICE_MAP = {
|
|
53821
|
+
'restrictedforreaders': 'restrictedForReaders',
|
|
53822
|
+
'restrictedforwriters': 'restrictedForWriters',
|
|
53823
|
+
}
|
|
53824
|
+
|
|
53820
53825
|
def getDriveFileProperty(visibility=None):
|
|
53821
53826
|
key = getString(Cmd.OB_PROPERTY_KEY)
|
|
53822
53827
|
value = getString(Cmd.OB_PROPERTY_VALUE, minLen=0) or None
|
|
@@ -53903,6 +53908,10 @@ def getDriveFileCopyAttribute(myarg, body, parameters):
|
|
|
53903
53908
|
else:
|
|
53904
53909
|
Cmd.Backup()
|
|
53905
53910
|
usageErrorExit(Msg.REASON_ONLY_VALID_WITH_CONTENTRESTRICTIONS_READONLY_TRUE)
|
|
53911
|
+
elif myarg == 'itemdownloadrestriction':
|
|
53912
|
+
body.setdefault('downloadRestrictions', {'itemDownloadRestriction': {}})
|
|
53913
|
+
restriction = getChoice(DRIVE_FILE_ITEM_DOWNLOAD_RESTRICTION_CHOICE_MAP, mapChoice=True)
|
|
53914
|
+
body['downloadRestrictions']['itemDownloadRestriction'][restriction] = getBoolean()
|
|
53906
53915
|
elif myarg == 'inheritedpermissionsdisabled':
|
|
53907
53916
|
body['inheritedPermissionsDisabled'] = getBoolean()
|
|
53908
53917
|
elif myarg == 'property':
|
|
@@ -54657,6 +54666,7 @@ DRIVE_FIELDS_CHOICE_MAP = {
|
|
|
54657
54666
|
'createddate': 'createdTime',
|
|
54658
54667
|
'createdtime': 'createdTime',
|
|
54659
54668
|
'description': 'description',
|
|
54669
|
+
'downloadrestrictions': 'downloadRestrictions',
|
|
54660
54670
|
'driveid': 'driveId',
|
|
54661
54671
|
'drivename': 'driveId',
|
|
54662
54672
|
'editable': 'capabilities.canEdit',
|
|
@@ -54803,6 +54813,11 @@ DRIVE_CONTENT_RESTRICTIONS_SUBFIELDS_CHOICE_MAP = {
|
|
|
54803
54813
|
'type': 'type',
|
|
54804
54814
|
}
|
|
54805
54815
|
|
|
54816
|
+
DRIVE_DOWNLOAD_RESTRICTIONS_SUBFIELDS_CHOICE_MAP = {
|
|
54817
|
+
'itemdownloadrestriction': 'itemDownloadRestriction',
|
|
54818
|
+
'effectivedownloadrestrictionwithcontext': 'effectiveDownloadRestrictionWithContext',
|
|
54819
|
+
}
|
|
54820
|
+
|
|
54806
54821
|
DRIVE_LABELINFO_SUBFIELDS_CHOICE_MAP = {
|
|
54807
54822
|
'id': 'labels(id)',
|
|
54808
54823
|
'fields': 'labels(fields)',
|
|
@@ -54867,6 +54882,7 @@ DRIVE_SHORTCUTDETAILS_SUBFIELDS_CHOICE_MAP = {
|
|
|
54867
54882
|
DRIVE_SUBFIELDS_CHOICE_MAP = {
|
|
54868
54883
|
'capabilities': DRIVE_CAPABILITIES_SUBFIELDS_CHOICE_MAP,
|
|
54869
54884
|
'contentrestrictions': DRIVE_CONTENT_RESTRICTIONS_SUBFIELDS_CHOICE_MAP,
|
|
54885
|
+
'downloadrestrictions': DRIVE_DOWNLOAD_RESTRICTIONS_SUBFIELDS_CHOICE_MAP,
|
|
54870
54886
|
'labelinfo': DRIVE_LABELINFO_SUBFIELDS_CHOICE_MAP,
|
|
54871
54887
|
'labels': DRIVE_LABEL_CHOICE_MAP,
|
|
54872
54888
|
'lastmodifyinguser': DRIVE_SHARINGUSER_SUBFIELDS_CHOICE_MAP,
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
gam/__init__.py,sha256
|
|
1
|
+
gam/__init__.py,sha256=-iK1wx4zPLo48IM9piErpNOHxAqS7lFpkO3M31iF-iw,3566026
|
|
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.16.
|
|
69
|
-
gam7-7.16.
|
|
70
|
-
gam7-7.16.
|
|
71
|
-
gam7-7.16.
|
|
72
|
-
gam7-7.16.
|
|
68
|
+
gam7-7.16.1.dist-info/METADATA,sha256=bO_Ob09BGUsCLr_SHcrs3AwoCObQ7VH18w7qvX2c9mI,2940
|
|
69
|
+
gam7-7.16.1.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
|
|
70
|
+
gam7-7.16.1.dist-info/entry_points.txt,sha256=HVUM5J7dA8YwvJfG30jiLefR19ExMs387TWugWd9sf4,42
|
|
71
|
+
gam7-7.16.1.dist-info/licenses/LICENSE,sha256=xx0jnfkXJvxRnG63LTGOxlggYnIysveWIZ6H3PNdCrQ,11357
|
|
72
|
+
gam7-7.16.1.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|