gam7 7.22.4__py3-none-any.whl → 7.22.5__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 +28 -15
- {gam7-7.22.4.dist-info → gam7-7.22.5.dist-info}/METADATA +1 -1
- {gam7-7.22.4.dist-info → gam7-7.22.5.dist-info}/RECORD +6 -6
- {gam7-7.22.4.dist-info → gam7-7.22.5.dist-info}/WHEEL +0 -0
- {gam7-7.22.4.dist-info → gam7-7.22.5.dist-info}/entry_points.txt +0 -0
- {gam7-7.22.4.dist-info → gam7-7.22.5.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.22.
|
|
28
|
+
__version__ = '7.22.05'
|
|
29
29
|
__license__ = 'Apache License 2.0 (http://www.apache.org/licenses/LICENSE-2.0)'
|
|
30
30
|
|
|
31
31
|
#pylint: disable=wrong-import-position
|
|
@@ -41891,7 +41891,7 @@ def _buildVaultQuery(myarg, query, corpusArgumentMap):
|
|
|
41891
41891
|
query['hangoutsChatOptions'] = {'includeRooms': getBoolean()}
|
|
41892
41892
|
# mail
|
|
41893
41893
|
elif myarg == 'excludedrafts':
|
|
41894
|
-
query
|
|
41894
|
+
query.setdefault('mailOptions', {})['excludeDrafts'] = getBoolean()
|
|
41895
41895
|
elif myarg == 'mailclientsideencryption':
|
|
41896
41896
|
query.setdefault('mailOptions', {})['clientSideEncryptedOption'] = getChoice(VAULT_CSE_OPTION_MAP, mapChoice=True)
|
|
41897
41897
|
# voice
|
|
@@ -41909,7 +41909,16 @@ def _validateVaultQuery(body, corpusArgumentMap):
|
|
|
41909
41909
|
if body['query']['corpus'] != corpus:
|
|
41910
41910
|
body['exportOptions'].pop(options, None)
|
|
41911
41911
|
|
|
41912
|
-
# gam create vaultexport|export matter <MatterItem> [name <String>]
|
|
41912
|
+
# gam create vaultexport|export matter <MatterItem> [name <String>]
|
|
41913
|
+
# vaultquery <QueryItem>
|
|
41914
|
+
# [driveclientsideencryption any|encrypted|unencrypted]
|
|
41915
|
+
# [includeaccessinfo <Boolean>]
|
|
41916
|
+
# [excludedrafts <Boolean>] [mailclientsideencryption any|encrypted|unencrypted]
|
|
41917
|
+
# [showconfidentialmodecontent <Boolean>] [usenewexport <Boolean>] [exportlinkeddrivefiles <Boolean>]
|
|
41918
|
+
# [format ics|mbox|pst|xml]
|
|
41919
|
+
# [region any|europe|us] [showdetails|returnidonly]
|
|
41920
|
+
# gam create vaultexport|export matter <MatterItem> [name <String>]
|
|
41921
|
+
# corpus calendar|drive|gemini|groups|hangouts_chat|mail|voice
|
|
41913
41922
|
# (accounts <EmailAddressEntity>) | (orgunit|org|ou <OrgUnitPath>) | everyone
|
|
41914
41923
|
# (shareddrives|teamdrives (<SharedDriveIDList>|(select <FileSelector>|<CSVFileSelector>))) |
|
|
41915
41924
|
# (rooms (<ChatSpaceList>|(select <FileSelector>|<CSVFileSelector>))) |
|
|
@@ -41919,23 +41928,25 @@ def _validateVaultQuery(body, corpusArgumentMap):
|
|
|
41919
41928
|
# [locationquery <StringList>] [peoplequery <StringList>] [minuswords <StringList>]
|
|
41920
41929
|
# [responsestatuses <AttendeeStatus>(,<AttendeeStatus>)*] [calendarversiondate <Date>|<Time>]
|
|
41921
41930
|
# [(includeshareddrives <Boolean>)|(shareddrivesoption included|included_if_account_is_not_a_member|not_included)]
|
|
41922
|
-
# [driveversiondate <Date>|<Time>]
|
|
41923
|
-
# [driveclientsideencryption any|encrypted|unencrypted]
|
|
41931
|
+
# [driveversiondate <Date>|<Time>]
|
|
41924
41932
|
# [includerooms <Boolean>]
|
|
41933
|
+
# (covereddata calllogs|textmessages|voicemails)*
|
|
41934
|
+
# [driveclientsideencryption any|encrypted|unencrypted]
|
|
41935
|
+
# [includeaccessinfo <Boolean>]
|
|
41925
41936
|
# [excludedrafts <Boolean>] [mailclientsideencryption any|encrypted|unencrypted]
|
|
41926
41937
|
# [showconfidentialmodecontent <Boolean>] [usenewexport <Boolean>] [exportlinkeddrivefiles <Boolean>]
|
|
41927
|
-
# [covereddata calllogs|textmessages|voicemails]
|
|
41928
41938
|
# [format ics|mbox|pst|xml]
|
|
41929
41939
|
# [region any|europe|us] [showdetails|returnidonly]
|
|
41930
41940
|
def doCreateVaultExport():
|
|
41931
41941
|
v = buildGAPIObject(API.VAULT)
|
|
41932
41942
|
matterId = None
|
|
41933
41943
|
body = {'query': {'dataScope': 'ALL_DATA'}, 'exportOptions': {}}
|
|
41944
|
+
includeAccessInfo = None
|
|
41934
41945
|
exportFormat = None
|
|
41946
|
+
useNewExport = None
|
|
41935
41947
|
showConfidentialModeContent = None
|
|
41936
41948
|
exportLinkedDriveFiles = None
|
|
41937
41949
|
returnIdOnly = showDetails = False
|
|
41938
|
-
useNewExport = None
|
|
41939
41950
|
while Cmd.ArgumentsRemaining():
|
|
41940
41951
|
myarg = getArgument()
|
|
41941
41952
|
if myarg == 'matter':
|
|
@@ -41943,23 +41954,22 @@ def doCreateVaultExport():
|
|
|
41943
41954
|
body['matterId'] = matterId
|
|
41944
41955
|
elif myarg == 'name':
|
|
41945
41956
|
body['name'] = getString(Cmd.OB_STRING)
|
|
41957
|
+
elif matterId is not None and myarg == 'vaultquery':
|
|
41958
|
+
_, _, _, body['query'] = convertQueryNameToID(v, getString(Cmd.OB_QUERY_ITEM), matterId, matterNameId)
|
|
41946
41959
|
elif myarg in VAULT_QUERY_ARGS:
|
|
41947
41960
|
_buildVaultQuery(myarg, body['query'], VAULT_CORPUS_ARGUMENT_MAP)
|
|
41948
|
-
elif myarg == '
|
|
41949
|
-
|
|
41961
|
+
elif myarg == 'includeaccessinfo':
|
|
41962
|
+
includeAccessInfo = getBoolean()
|
|
41950
41963
|
elif myarg == 'format':
|
|
41951
41964
|
exportFormat = getChoice(VAULT_EXPORT_FORMAT_MAP, mapChoice=True)
|
|
41965
|
+
elif myarg == 'usenewexport':
|
|
41966
|
+
useNewExport = getBoolean()
|
|
41952
41967
|
elif myarg == 'showconfidentialmodecontent':
|
|
41953
41968
|
showConfidentialModeContent = getBoolean()
|
|
41954
41969
|
elif myarg == 'exportlinkeddrivefiles':
|
|
41955
41970
|
exportLinkedDriveFiles = getBoolean()
|
|
41956
41971
|
elif myarg == 'region':
|
|
41957
41972
|
body['exportOptions']['region'] = getChoice(VAULT_EXPORT_REGION_MAP, mapChoice=True)
|
|
41958
|
-
elif myarg == 'includeaccessinfo':
|
|
41959
|
-
body['exportOptions'].setdefault('driveOptions', {})['includeAccessInfo'] = getBoolean()
|
|
41960
|
-
elif myarg == 'covereddata':
|
|
41961
|
-
body['exportOptions'].setdefault('voiceOptions', {'coveredData': []})
|
|
41962
|
-
body['exportOptions']['voiceOptions']['coveredData'].append(getChoice(VAULT_VOICE_COVERED_DATA_MAP, mapChoice=True))
|
|
41963
41973
|
elif myarg == 'showdetails':
|
|
41964
41974
|
showDetails = True
|
|
41965
41975
|
returnIdOnly = False
|
|
@@ -41979,7 +41989,10 @@ def doCreateVaultExport():
|
|
|
41979
41989
|
if 'name' not in body:
|
|
41980
41990
|
body['name'] = f'GAM {body["query"]["corpus"]} Export - {ISOformatTimeStamp(todaysTime())}'
|
|
41981
41991
|
optionsField = VAULT_CORPUS_OPTIONS_MAP[body['query']['corpus']]
|
|
41982
|
-
if body['query']['corpus']
|
|
41992
|
+
if body['query']['corpus'] == 'DRIVE':
|
|
41993
|
+
if includeAccessInfo is not None:
|
|
41994
|
+
body['exportOptions'][optionsField]['includeAccessInfo'] = includeAccessInfo
|
|
41995
|
+
else:
|
|
41983
41996
|
body['exportOptions'][optionsField] = {'exportFormat': exportFormat}
|
|
41984
41997
|
if body['query']['corpus'] == 'MAIL':
|
|
41985
41998
|
if showConfidentialModeContent is not None:
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
gam/__init__.py,sha256=
|
|
1
|
+
gam/__init__.py,sha256=ltpucQqtsz71YaDsryzmj1nc-Ls0DsKpQvDjUr04rKY,3612652
|
|
2
2
|
gam/__main__.py,sha256=amz0-959ph6zkZKqjaar4n60yho-T37w6qWI36qx0CA,1049
|
|
3
3
|
gam/cacerts.pem,sha256=DUsVo2XlFYwfkhe3gnxa-Km4Z4noz74hSApXwTT-nQE,44344
|
|
4
4
|
gam/cbcm-v1.1beta1.json,sha256=xO5XloCQQULmPbFBx5bckdqmbLFQ7sJ2TImhE1ysDIY,19439
|
|
@@ -47,8 +47,8 @@ gam/gdata/apps/audit/__init__.py,sha256=AbpHGcgLb-kRsJGnwFEktk7uzpZOCcBY74-YBdrK
|
|
|
47
47
|
gam/gdata/apps/audit/service.py,sha256=Z1eueThcNeVUMWP1DRWc_DGHrJCiJI8W_xj6L-cqu-Q,9658
|
|
48
48
|
gam/gdata/apps/contacts/__init__.py,sha256=Um6zgIkiahZns7yAEuC3pxHSMD8iciZ_EoynSLoYPfU,30463
|
|
49
49
|
gam/gdata/apps/contacts/service.py,sha256=5lNb-Ii1Gyek6ePFji3kyoYtCBc8CuJTwagx2BL2o14,15684
|
|
50
|
-
gam7-7.22.
|
|
51
|
-
gam7-7.22.
|
|
52
|
-
gam7-7.22.
|
|
53
|
-
gam7-7.22.
|
|
54
|
-
gam7-7.22.
|
|
50
|
+
gam7-7.22.5.dist-info/METADATA,sha256=iHzqp50Z_9xbSdfj98MmEr8pKLfSC4oXwcW0jaM31cw,3092
|
|
51
|
+
gam7-7.22.5.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
|
|
52
|
+
gam7-7.22.5.dist-info/entry_points.txt,sha256=HVUM5J7dA8YwvJfG30jiLefR19ExMs387TWugWd9sf4,42
|
|
53
|
+
gam7-7.22.5.dist-info/licenses/LICENSE,sha256=xx0jnfkXJvxRnG63LTGOxlggYnIysveWIZ6H3PNdCrQ,11357
|
|
54
|
+
gam7-7.22.5.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|