gam7 7.12.1__py3-none-any.whl → 7.13.0__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 +126 -5
- gam/gamlib/glclargs.py +2 -0
- gam/gamlib/glentity.py +2 -0
- {gam7-7.12.1.dist-info → gam7-7.13.0.dist-info}/METADATA +1 -1
- {gam7-7.12.1.dist-info → gam7-7.13.0.dist-info}/RECORD +8 -8
- {gam7-7.12.1.dist-info → gam7-7.13.0.dist-info}/WHEEL +0 -0
- {gam7-7.12.1.dist-info → gam7-7.13.0.dist-info}/entry_points.txt +0 -0
- {gam7-7.12.1.dist-info → gam7-7.13.0.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.
|
|
28
|
+
__version__ = '7.13.00'
|
|
29
29
|
__license__ = 'Apache License 2.0 (http://www.apache.org/licenses/LICENSE-2.0)'
|
|
30
30
|
|
|
31
31
|
#pylint: disable=wrong-import-position
|
|
@@ -6246,6 +6246,7 @@ def getItemsToModify(entityType, entity, memberRoles=None, isSuspended=None, isA
|
|
|
6246
6246
|
result = callGAPIpages(cd.users(), 'list', 'users',
|
|
6247
6247
|
pageMessage=getPageMessage(),
|
|
6248
6248
|
throwReasons=[GAPI.BAD_REQUEST, GAPI.RESOURCE_NOT_FOUND, GAPI.FORBIDDEN],
|
|
6249
|
+
retryReasons=GAPI.SERVICE_NOT_AVAILABLE_RETRY_REASONS,
|
|
6249
6250
|
customer=GC.Values[GC.CUSTOMER_ID],
|
|
6250
6251
|
query=query, orderBy='email', fields='nextPageToken,users(primaryEmail,archived)',
|
|
6251
6252
|
maxResults=GC.Values[GC.USER_MAX_RESULTS])
|
|
@@ -6270,6 +6271,7 @@ def getItemsToModify(entityType, entity, memberRoles=None, isSuspended=None, isA
|
|
|
6270
6271
|
result = callGAPIpages(cd.users(), 'list', 'users',
|
|
6271
6272
|
pageMessage=getPageMessageForWhom(),
|
|
6272
6273
|
throwReasons=[GAPI.BAD_REQUEST, GAPI.RESOURCE_NOT_FOUND, GAPI.DOMAIN_NOT_FOUND, GAPI.FORBIDDEN],
|
|
6274
|
+
retryReasons=GAPI.SERVICE_NOT_AVAILABLE_RETRY_REASONS,
|
|
6273
6275
|
domain=domain,
|
|
6274
6276
|
query=query, orderBy='email', fields='nextPageToken,users(primaryEmail,archived)',
|
|
6275
6277
|
maxResults=GC.Values[GC.USER_MAX_RESULTS])
|
|
@@ -6448,6 +6450,7 @@ def getItemsToModify(entityType, entity, memberRoles=None, isSuspended=None, isA
|
|
|
6448
6450
|
pageMessage=pageMessage, messageAttribute='primaryEmail',
|
|
6449
6451
|
throwReasons=[GAPI.INVALID_ORGUNIT, GAPI.ORGUNIT_NOT_FOUND,
|
|
6450
6452
|
GAPI.INVALID_INPUT, GAPI.BAD_REQUEST, GAPI.RESOURCE_NOT_FOUND, GAPI.FORBIDDEN],
|
|
6453
|
+
retryReasons=GAPI.SERVICE_NOT_AVAILABLE_RETRY_REASONS,
|
|
6451
6454
|
customer=GC.Values[GC.CUSTOMER_ID], query=orgUnitPathQuery(ou, isSuspended), orderBy='email',
|
|
6452
6455
|
fields=fields, maxResults=GC.Values[GC.USER_MAX_RESULTS])
|
|
6453
6456
|
for users in feed:
|
|
@@ -6481,6 +6484,7 @@ def getItemsToModify(entityType, entity, memberRoles=None, isSuspended=None, isA
|
|
|
6481
6484
|
pageMessage=getPageMessage(),
|
|
6482
6485
|
throwReasons=[GAPI.INVALID_ORGUNIT, GAPI.ORGUNIT_NOT_FOUND,
|
|
6483
6486
|
GAPI.INVALID_INPUT, GAPI.BAD_REQUEST, GAPI.RESOURCE_NOT_FOUND, GAPI.FORBIDDEN],
|
|
6487
|
+
retryReasons=GAPI.SERVICE_NOT_AVAILABLE_RETRY_REASONS,
|
|
6484
6488
|
customer=GC.Values[GC.CUSTOMER_ID], query=query, orderBy='email',
|
|
6485
6489
|
fields='nextPageToken,users(primaryEmail,suspended,archived)',
|
|
6486
6490
|
maxResults=GC.Values[GC.USER_MAX_RESULTS])
|
|
@@ -13321,6 +13325,7 @@ def getUserOrgUnits(cd, orgUnit, orgUnitId):
|
|
|
13321
13325
|
pageMessage=getPageMessageForWhom(),
|
|
13322
13326
|
throwReasons=[GAPI.INVALID_ORGUNIT, GAPI.ORGUNIT_NOT_FOUND,
|
|
13323
13327
|
GAPI.INVALID_INPUT, GAPI.BAD_REQUEST, GAPI.RESOURCE_NOT_FOUND, GAPI.FORBIDDEN],
|
|
13328
|
+
retryReasons=GAPI.SERVICE_NOT_AVAILABLE_RETRY_REASONS,
|
|
13324
13329
|
customer=GC.Values[GC.CUSTOMER_ID], query=orgUnitPathQuery(orgUnit, None), orderBy='email',
|
|
13325
13330
|
fields='nextPageToken,users(primaryEmail,orgUnitPath)', maxResults=GC.Values[GC.USER_MAX_RESULTS])
|
|
13326
13331
|
userOrgUnits = {}
|
|
@@ -17786,6 +17791,7 @@ def _doInfoOrgs(entityList):
|
|
|
17786
17791
|
orgUnitPath = result['orgUnitPath']
|
|
17787
17792
|
users = callGAPIpages(cd.users(), 'list', 'users',
|
|
17788
17793
|
throwReasons=[GAPI.BAD_REQUEST, GAPI.INVALID_INPUT, GAPI.RESOURCE_NOT_FOUND, GAPI.FORBIDDEN],
|
|
17794
|
+
retryReasons=GAPI.SERVICE_NOT_AVAILABLE_RETRY_REASONS,
|
|
17789
17795
|
customer=GC.Values[GC.CUSTOMER_ID], query=orgUnitPathQuery(orgUnitPath, isSuspended), orderBy='email',
|
|
17790
17796
|
fields='nextPageToken,users(primaryEmail,orgUnitPath)', maxResults=GC.Values[GC.USER_MAX_RESULTS])
|
|
17791
17797
|
printEntitiesCount(entityType, None)
|
|
@@ -18053,6 +18059,7 @@ def doPrintOrgs():
|
|
|
18053
18059
|
pageMessage=pageMessage,
|
|
18054
18060
|
throwReasons=[GAPI.INVALID_ORGUNIT, GAPI.ORGUNIT_NOT_FOUND,
|
|
18055
18061
|
GAPI.INVALID_INPUT, GAPI.BAD_REQUEST, GAPI.RESOURCE_NOT_FOUND, GAPI.FORBIDDEN],
|
|
18062
|
+
retryReasons=GAPI.SERVICE_NOT_AVAILABLE_RETRY_REASONS,
|
|
18056
18063
|
customer=GC.Values[GC.CUSTOMER_ID], query=orgUnitPathQuery(orgUnitPath, None), orderBy='email',
|
|
18057
18064
|
fields='nextPageToken,users(orgUnitPath,suspended)', maxResults=GC.Values[GC.USER_MAX_RESULTS])
|
|
18058
18065
|
for users in feed:
|
|
@@ -18342,6 +18349,7 @@ def doCheckOrgUnit():
|
|
|
18342
18349
|
pageMessage=pageMessage,
|
|
18343
18350
|
throwReasons=[GAPI.INVALID_ORGUNIT, GAPI.ORGUNIT_NOT_FOUND,
|
|
18344
18351
|
GAPI.INVALID_INPUT, GAPI.BAD_REQUEST, GAPI.RESOURCE_NOT_FOUND, GAPI.FORBIDDEN],
|
|
18352
|
+
retryReasons=GAPI.SERVICE_NOT_AVAILABLE_RETRY_REASONS,
|
|
18345
18353
|
customer=GC.Values[GC.CUSTOMER_ID], query=orgUnitPathQuery(orgUnitPath, None),
|
|
18346
18354
|
fields='nextPageToken,users(orgUnitPath)', maxResults=GC.Values[GC.USER_MAX_RESULTS])
|
|
18347
18355
|
for users in feed:
|
|
@@ -18907,7 +18915,7 @@ def doPrintAliases():
|
|
|
18907
18915
|
throwReasons=[GAPI.INVALID_ORGUNIT, GAPI.INVALID_INPUT, GAPI.DOMAIN_NOT_FOUND,
|
|
18908
18916
|
GAPI.RESOURCE_NOT_FOUND, GAPI.FORBIDDEN, GAPI.BAD_REQUEST,
|
|
18909
18917
|
GAPI.UNKNOWN_ERROR, GAPI.FAILED_PRECONDITION],
|
|
18910
|
-
retryReasons=[GAPI.UNKNOWN_ERROR, GAPI.FAILED_PRECONDITION],
|
|
18918
|
+
retryReasons=GAPI.SERVICE_NOT_AVAILABLE_RETRY_REASONS+[GAPI.UNKNOWN_ERROR, GAPI.FAILED_PRECONDITION],
|
|
18911
18919
|
query=query, orderBy='email',
|
|
18912
18920
|
fields=f'nextPageToken,users({",".join(userFields)})',
|
|
18913
18921
|
maxResults=GC.Values[GC.USER_MAX_RESULTS], **kwargs)
|
|
@@ -19006,7 +19014,7 @@ def doPrintAddresses():
|
|
|
19006
19014
|
pageMessage=getPageMessage(showFirstLastItems=True), messageAttribute='primaryEmail',
|
|
19007
19015
|
throwReasons=[GAPI.RESOURCE_NOT_FOUND, GAPI.FORBIDDEN, GAPI.BAD_REQUEST,
|
|
19008
19016
|
GAPI.UNKNOWN_ERROR, GAPI.FAILED_PRECONDITION],
|
|
19009
|
-
retryReasons=[GAPI.UNKNOWN_ERROR, GAPI.FAILED_PRECONDITION],
|
|
19017
|
+
retryReasons=GAPI.SERVICE_NOT_AVAILABLE_RETRY_REASONS+[GAPI.UNKNOWN_ERROR, GAPI.FAILED_PRECONDITION],
|
|
19010
19018
|
orderBy='email', fields=f'nextPageToken,users({",".join(userFields)})',
|
|
19011
19019
|
maxResults=GC.Values[GC.USER_MAX_RESULTS], **kwargs)
|
|
19012
19020
|
except (GAPI.unknownError, GAPI.failedPrecondition) as e:
|
|
@@ -25598,7 +25606,7 @@ CHROMEPROFILE_ORDERBY_CHOICE_MAP = {
|
|
|
25598
25606
|
# [filtertime.* <Time>] [filter <String>]
|
|
25599
25607
|
# [orderby <ChromeProfileOrderByFieldName> [ascending|descending]]
|
|
25600
25608
|
# <ChromeProfileFieldName>* [fields <ChromeProfileFieldNameList>]
|
|
25601
|
-
# [
|
|
25609
|
+
# [formatjson [quotechar <Character>]]
|
|
25602
25610
|
def doPrintShowChromeProfiles():
|
|
25603
25611
|
def _printProfile(profile):
|
|
25604
25612
|
row = flattenJSON(profile, timeObjects=CHROMEPROFILE_TIME_OBJECTS)
|
|
@@ -25668,6 +25676,112 @@ def doPrintShowChromeProfiles():
|
|
|
25668
25676
|
csvPF.SetSortTitles(['name', 'profileId'])
|
|
25669
25677
|
csvPF.writeCSVfile('Chrome Profiles')
|
|
25670
25678
|
|
|
25679
|
+
CHROMEPROFILECOMMAND_TIME_OBJECTS = {
|
|
25680
|
+
'clientExecutionTime',
|
|
25681
|
+
'issueTime',
|
|
25682
|
+
}
|
|
25683
|
+
|
|
25684
|
+
def _showChromeProfileCommand(profcmd, FJQC, i=0, count=0):
|
|
25685
|
+
if FJQC.formatJSON:
|
|
25686
|
+
printLine(json.dumps(cleanJSON(profcmd, timeObjects=CHROMEPROFILECOMMAND_TIME_OBJECTS),
|
|
25687
|
+
ensure_ascii=False, sort_keys=True))
|
|
25688
|
+
return
|
|
25689
|
+
printEntity([Ent.CHROME_PROFILE_COMMAND, profcmd['name']], i, count)
|
|
25690
|
+
Ind.Increment()
|
|
25691
|
+
showJSON(None, profcmd, timeObjects=CHROMEPROFILECOMMAND_TIME_OBJECTS)
|
|
25692
|
+
Ind.Decrement()
|
|
25693
|
+
|
|
25694
|
+
# gam create chromeprofilecommand <ChromeProfileName>
|
|
25695
|
+
# [clearcache [<Boolean>]] [clearcookies [<Boolean>]]
|
|
25696
|
+
# [formatjson]
|
|
25697
|
+
def doCreateChromeProfileCommand():
|
|
25698
|
+
cm = buildGAPIObject(API.CHROMEMANAGEMENT)
|
|
25699
|
+
profileName = _getChromeProfileName()
|
|
25700
|
+
body = {'commandType': 'clearBrowsingData', 'payload': {}}
|
|
25701
|
+
FJQC = FormatJSONQuoteChar()
|
|
25702
|
+
while Cmd.ArgumentsRemaining():
|
|
25703
|
+
myarg = getArgument()
|
|
25704
|
+
if myarg == 'clearcache':
|
|
25705
|
+
body['payload']['clearCache'] = getBoolean()
|
|
25706
|
+
elif myarg == 'clearcookies':
|
|
25707
|
+
body['payload']['clearCookies'] = getBoolean()
|
|
25708
|
+
else:
|
|
25709
|
+
FJQC.GetFormatJSON(myarg)
|
|
25710
|
+
try:
|
|
25711
|
+
profcmd = callGAPI(cm.customers().profiles().commands(), 'create',
|
|
25712
|
+
throwReasons=[GAPI.INVALID_ARGUMENT, GAPI.NOT_FOUND, GAPI.PERMISSION_DENIED],
|
|
25713
|
+
parent=profileName, body=body)
|
|
25714
|
+
_showChromeProfileCommand(profcmd, FJQC)
|
|
25715
|
+
except (GAPI.invalidArgument, GAPI.notFound, GAPI.permissionDenied) as e:
|
|
25716
|
+
entityActionFailedExit([Ent.CHROME_PROFILE_COMMAND, profileName], str(e))
|
|
25717
|
+
|
|
25718
|
+
# gam info chromeprofilecommand <ChromeProfileCommandName>
|
|
25719
|
+
# [formatjson]
|
|
25720
|
+
def doInfoChromeProfileCommand():
|
|
25721
|
+
cm = buildGAPIObject(API.CHROMEMANAGEMENT)
|
|
25722
|
+
profileCommandName = _getChromeProfileName()
|
|
25723
|
+
FJQC = FormatJSONQuoteChar()
|
|
25724
|
+
while Cmd.ArgumentsRemaining():
|
|
25725
|
+
myarg = getArgument()
|
|
25726
|
+
FJQC.GetFormatJSON(myarg)
|
|
25727
|
+
try:
|
|
25728
|
+
profcmd = callGAPI(cm.customers().profiles().commands(), 'get',
|
|
25729
|
+
throwReasons=[GAPI.INVALID_ARGUMENT, GAPI.NOT_FOUND, GAPI.PERMISSION_DENIED],
|
|
25730
|
+
name=profileCommandName)
|
|
25731
|
+
_showChromeProfileCommand(profcmd, FJQC)
|
|
25732
|
+
except (GAPI.invalidArgument, GAPI.notFound, GAPI.permissionDenied) as e:
|
|
25733
|
+
entityActionFailedExit([Ent.CHROME_PROFILE, profileCommandName], str(e))
|
|
25734
|
+
|
|
25735
|
+
# gam show chromeprofilecommands <ChromeProfileName>
|
|
25736
|
+
# [formatjson]
|
|
25737
|
+
# gam print chromeprofilecommands <ChromeProfileName> [todrive <ToDriveAttribute>*]
|
|
25738
|
+
# [formatjson [quotechar <Character>]]
|
|
25739
|
+
def doPrintShowChromeProfileCommands():
|
|
25740
|
+
def _printProfileCommand(profcmd):
|
|
25741
|
+
row = flattenJSON(profcmd, timeObjects=CHROMEPROFILECOMMAND_TIME_OBJECTS)
|
|
25742
|
+
if not FJQC.formatJSON:
|
|
25743
|
+
csvPF.WriteRowTitles(row)
|
|
25744
|
+
elif csvPF.CheckRowTitles(row):
|
|
25745
|
+
csvPF.WriteRowNoFilter({'name': profcmd['name'],
|
|
25746
|
+
'JSON': json.dumps(cleanJSON(profcmd, timeObjects=CHROMEPROFILECOMMAND_TIME_OBJECTS),
|
|
25747
|
+
ensure_ascii=False, sort_keys=True)})
|
|
25748
|
+
|
|
25749
|
+
cm = buildGAPIObject(API.CHROMEMANAGEMENT)
|
|
25750
|
+
csvPF = CSVPrintFile(['name']) if Act.csvFormat() else None
|
|
25751
|
+
FJQC = FormatJSONQuoteChar(csvPF)
|
|
25752
|
+
profileName = _getChromeProfileName()
|
|
25753
|
+
while Cmd.ArgumentsRemaining():
|
|
25754
|
+
myarg = getArgument()
|
|
25755
|
+
if csvPF and myarg == 'todrive':
|
|
25756
|
+
csvPF.GetTodriveParameters()
|
|
25757
|
+
else:
|
|
25758
|
+
FJQC.GetFormatJSONQuoteChar(myarg, True)
|
|
25759
|
+
printGettingEntityItemForWhom(Ent.CHROME_PROFILE_COMMAND, profileName)
|
|
25760
|
+
pageMessage = getPageMessage()
|
|
25761
|
+
try:
|
|
25762
|
+
feed = yieldGAPIpages(cm.customers().profiles().commands(), 'list', 'chromeBrowserProfileCommands',
|
|
25763
|
+
pageMessage=pageMessage,
|
|
25764
|
+
throwReasons=[GAPI.NOT_FOUND, GAPI.INVALID_ARGUMENT, GAPI.PERMISSION_DENIED],
|
|
25765
|
+
parent=profileName, pageSize=100)
|
|
25766
|
+
for profcmds in feed:
|
|
25767
|
+
if not csvPF:
|
|
25768
|
+
jcount = len(profcmds)
|
|
25769
|
+
if not FJQC.formatJSON:
|
|
25770
|
+
performActionNumItems(jcount, Ent.CHROME_PROFILE_COMMAND)
|
|
25771
|
+
Ind.Increment()
|
|
25772
|
+
j = 0
|
|
25773
|
+
for profcmd in profcmds:
|
|
25774
|
+
j += 1
|
|
25775
|
+
_showChromeProfileCommand(profcmd, FJQC, j, jcount)
|
|
25776
|
+
Ind.Decrement()
|
|
25777
|
+
else:
|
|
25778
|
+
for profcmd in profcmds:
|
|
25779
|
+
_printProfileCommand(profcmd)
|
|
25780
|
+
except (GAPI.notFound, GAPI.invalidArgument, GAPI.permissionDenied) as e:
|
|
25781
|
+
entityActionFailedExit([Ent.CHROME_PROFILE, profileName], str(e))
|
|
25782
|
+
if csvPF:
|
|
25783
|
+
csvPF.writeCSVfile('Chrome Profile Commands')
|
|
25784
|
+
|
|
25671
25785
|
BROWSER_ORDERBY_CHOICE_MAP = {
|
|
25672
25786
|
'annotatedassetid': 'annotated_asset_id', 'asset': 'annotated_asset_id', 'assetid': 'annotated_asset_id',
|
|
25673
25787
|
'annotatedlocation': 'annotated_location', 'location': 'annotated_location',
|
|
@@ -44339,6 +44453,7 @@ def undeleteUsers(entityList):
|
|
|
44339
44453
|
try:
|
|
44340
44454
|
deleted_users = callGAPIpages(cd.users(), 'list', 'users',
|
|
44341
44455
|
throwReasons=[GAPI.BAD_REQUEST, GAPI.RESOURCE_NOT_FOUND, GAPI.FORBIDDEN],
|
|
44456
|
+
retryReasons=GAPI.SERVICE_NOT_AVAILABLE_RETRY_REASONS,
|
|
44342
44457
|
customer=GC.Values[GC.CUSTOMER_ID], showDeleted=True, orderBy='email',
|
|
44343
44458
|
maxResults=GC.Values[GC.USER_MAX_RESULTS])
|
|
44344
44459
|
except (GAPI.badRequest, GAPI.resourceNotFound, GAPI.forbidden):
|
|
@@ -45591,7 +45706,7 @@ def doPrintUsers(entityList=None):
|
|
|
45591
45706
|
throwReasons=[GAPI.DOMAIN_NOT_FOUND, GAPI.INVALID_ORGUNIT, GAPI.INVALID_INPUT,
|
|
45592
45707
|
GAPI.BAD_REQUEST, GAPI.RESOURCE_NOT_FOUND, GAPI.FORBIDDEN,
|
|
45593
45708
|
GAPI.UNKNOWN_ERROR, GAPI.FAILED_PRECONDITION],
|
|
45594
|
-
retryReasons=[GAPI.UNKNOWN_ERROR, GAPI.FAILED_PRECONDITION],
|
|
45709
|
+
retryReasons=GAPI.SERVICE_NOT_AVAILABLE_RETRY_REASONS+[GAPI.UNKNOWN_ERROR, GAPI.FAILED_PRECONDITION],
|
|
45595
45710
|
query=query, fields=fields,
|
|
45596
45711
|
showDeleted=showDeleted, orderBy=orderBy, sortOrder=sortOrder, viewType=viewType,
|
|
45597
45712
|
projection=schemaParms['projection'], customFieldMask=schemaParms['customFieldMask'],
|
|
@@ -45797,6 +45912,7 @@ def doPrintUserCountsByOrgUnit():
|
|
|
45797
45912
|
result = callGAPIpages(cd.users(), 'list', 'users',
|
|
45798
45913
|
pageMessage=pageMessage,
|
|
45799
45914
|
throwReasons=[GAPI.BAD_REQUEST, GAPI.RESOURCE_NOT_FOUND, GAPI.DOMAIN_NOT_FOUND, GAPI.FORBIDDEN],
|
|
45915
|
+
retryReasons=GAPI.SERVICE_NOT_AVAILABLE_RETRY_REASONS,
|
|
45800
45916
|
orderBy='email', fields='nextPageToken,users(orgUnitPath,archived,suspended)',
|
|
45801
45917
|
maxResults=GC.Values[GC.USER_MAX_RESULTS], **kwargs)
|
|
45802
45918
|
except (GAPI.badRequest, GAPI.resourceNotFound, GAPI.forbidden, GAPI.domainNotFound):
|
|
@@ -76606,6 +76722,7 @@ MAIN_ADD_CREATE_FUNCTIONS = {
|
|
|
76606
76722
|
Cmd.ARG_CHATMESSAGE: doCreateChatMessage,
|
|
76607
76723
|
Cmd.ARG_CHROMENETWORK: doCreateChromeNetwork,
|
|
76608
76724
|
Cmd.ARG_CHROMEPOLICYIMAGE: doCreateChromePolicyImage,
|
|
76725
|
+
Cmd.ARG_CHROMEPROFILECOMMAND: doCreateChromeProfileCommand,
|
|
76609
76726
|
Cmd.ARG_CIGROUP: doCreateCIGroup,
|
|
76610
76727
|
Cmd.ARG_CONTACT: doCreateDomainContact,
|
|
76611
76728
|
Cmd.ARG_COURSE: doCreateCourse,
|
|
@@ -76800,6 +76917,7 @@ MAIN_COMMANDS_WITH_OBJECTS = {
|
|
|
76800
76917
|
Cmd.ARG_CHATSPACE: doInfoChatSpace,
|
|
76801
76918
|
Cmd.ARG_CHROMEAPP: doInfoChromeApp,
|
|
76802
76919
|
Cmd.ARG_CHROMEPROFILE: doInfoChromeProfile,
|
|
76920
|
+
Cmd.ARG_CHROMEPROFILECOMMAND: doInfoChromeProfileCommand,
|
|
76803
76921
|
Cmd.ARG_CHROMESCHEMA: doInfoChromePolicySchemas,
|
|
76804
76922
|
Cmd.ARG_CIGROUP: doInfoCIGroups,
|
|
76805
76923
|
Cmd.ARG_CIGROUPMEMBERS: doInfoCIGroupMembers,
|
|
@@ -76886,6 +77004,7 @@ MAIN_COMMANDS_WITH_OBJECTS = {
|
|
|
76886
77004
|
Cmd.ARG_CHROMENEEDSATTN: doPrintShowChromeNeedsAttn,
|
|
76887
77005
|
Cmd.ARG_CHROMEPOLICY: doPrintShowChromePolicies,
|
|
76888
77006
|
Cmd.ARG_CHROMEPROFILE: doPrintShowChromeProfiles,
|
|
77007
|
+
Cmd.ARG_CHROMEPROFILECOMMAND: doPrintShowChromeProfileCommands,
|
|
76889
77008
|
Cmd.ARG_CHROMESCHEMA: doPrintShowChromePolicySchemas,
|
|
76890
77009
|
Cmd.ARG_CHROMESNVALIDITY: doPrintChromeSnValidity,
|
|
76891
77010
|
Cmd.ARG_CHROMEVERSIONS: doPrintShowChromeVersions,
|
|
@@ -77018,6 +77137,7 @@ MAIN_COMMANDS_WITH_OBJECTS = {
|
|
|
77018
77137
|
Cmd.ARG_CHROMENEEDSATTN: doPrintShowChromeNeedsAttn,
|
|
77019
77138
|
Cmd.ARG_CHROMEPOLICY: doPrintShowChromePolicies,
|
|
77020
77139
|
Cmd.ARG_CHROMEPROFILE: doPrintShowChromeProfiles,
|
|
77140
|
+
Cmd.ARG_CHROMEPROFILECOMMAND: doPrintShowChromeProfileCommands,
|
|
77021
77141
|
Cmd.ARG_CHROMESCHEMA: doPrintShowChromePolicySchemas,
|
|
77022
77142
|
Cmd.ARG_CHROMEVERSIONS: doPrintShowChromeVersions,
|
|
77023
77143
|
Cmd.ARG_CIGROUPMEMBERS: doShowCIGroupMembers,
|
|
@@ -77200,6 +77320,7 @@ MAIN_COMMANDS_OBJ_ALIASES = {
|
|
|
77200
77320
|
Cmd.ARG_CHROMENETWORKS: Cmd.ARG_CHROMENETWORK,
|
|
77201
77321
|
Cmd.ARG_CHROMEPOLICIES: Cmd.ARG_CHROMEPOLICY,
|
|
77202
77322
|
Cmd.ARG_CHROMEPROFILES: Cmd.ARG_CHROMEPROFILE,
|
|
77323
|
+
Cmd.ARG_CHROMEPROFILECOMMANDS: Cmd.ARG_CHROMEPROFILECOMMAND,
|
|
77203
77324
|
Cmd.ARG_CHROMESCHEMAS: Cmd.ARG_CHROMESCHEMA,
|
|
77204
77325
|
Cmd.ARG_CIGROUPS: Cmd.ARG_CIGROUP,
|
|
77205
77326
|
Cmd.ARG_CIGROUPSMEMBERS: Cmd.ARG_CIGROUPMEMBERS,
|
gam/gamlib/glclargs.py
CHANGED
|
@@ -485,6 +485,8 @@ class GamCLArgs():
|
|
|
485
485
|
ARG_CHROMEPOLICIES = 'chromepolicies'
|
|
486
486
|
ARG_CHROMEPROFILE = 'chromeprofile'
|
|
487
487
|
ARG_CHROMEPROFILES = 'chromeprofiles'
|
|
488
|
+
ARG_CHROMEPROFILECOMMAND = 'chromeprofilecommand'
|
|
489
|
+
ARG_CHROMEPROFILECOMMANDS = 'chromeprofilecommands'
|
|
488
490
|
ARG_CHROMESCHEMA = 'chromeschema'
|
|
489
491
|
ARG_CHROMESCHEMAS = 'chromeschemas'
|
|
490
492
|
ARG_CHROMESNVALIDITY = 'chromesnvalidity'
|
gam/gamlib/glentity.py
CHANGED
|
@@ -111,6 +111,7 @@ class GamEntity():
|
|
|
111
111
|
CHROME_POLICY_IMAGE = 'cpim'
|
|
112
112
|
CHROME_POLICY_SCHEMA = 'cpsc'
|
|
113
113
|
CHROME_PROFILE = 'cpro'
|
|
114
|
+
CHROME_PROFILE_COMMAND = 'cpcm'
|
|
114
115
|
CHROME_RELEASE = 'crel'
|
|
115
116
|
CHROME_VERSION = 'cver'
|
|
116
117
|
CLASSIFICATION_LABEL = 'dlab'
|
|
@@ -462,6 +463,7 @@ class GamEntity():
|
|
|
462
463
|
CHROME_POLICY_IMAGE: ['Chrome Policy Images', 'Chrome Policy Image'],
|
|
463
464
|
CHROME_POLICY_SCHEMA: ['Chrome Policy Schemas', 'Chrome Policy Schema'],
|
|
464
465
|
CHROME_PROFILE: ['Chrome Profiles', 'Chrome Profile'],
|
|
466
|
+
CHROME_PROFILE_COMMAND: ['Chrome Profile Commands', 'Chrome Profile Command'],
|
|
465
467
|
CHROME_RELEASE: ['Chrome Releases', 'Chrome Release'],
|
|
466
468
|
CHROME_VERSION: ['Chrome Versions', 'Chrome Version'],
|
|
467
469
|
CLASSIFICATION_LABEL: ['Classification Labels', 'Classification Label'],
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
gam/__init__.py,sha256=
|
|
1
|
+
gam/__init__.py,sha256=j4MR3j0E4GnHkHRn-nuBoZMBfGY_t-doW7R7QS-mB1g,3558531
|
|
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
|
|
@@ -25,8 +25,8 @@ gam/gamlib/__init__.py,sha256=z5mF-y0j8pm-YNFBaiuxB4M_GAUPG-cXWwrhYwrVReM,679
|
|
|
25
25
|
gam/gamlib/glaction.py,sha256=1Il_HrChVnPkzZwiZs5au4mFQVtq4K1Z42uIuR6qdnI,9419
|
|
26
26
|
gam/gamlib/glapi.py,sha256=27NW2etvdNK4jfR699eqFzhV4gPotijXIQeX-wxCvHA,35319
|
|
27
27
|
gam/gamlib/glcfg.py,sha256=bNTckxzIM_HruxO2DfYsDbEgqOIz1RX6CbU6XOQQQyg,28296
|
|
28
|
-
gam/gamlib/glclargs.py,sha256=
|
|
29
|
-
gam/gamlib/glentity.py,sha256=
|
|
28
|
+
gam/gamlib/glclargs.py,sha256=lp91zvalLQE-SCCbH9jipUMaeJMryGzeXPzpivQnoDs,42817
|
|
29
|
+
gam/gamlib/glentity.py,sha256=zQ64Q5MVDnJwgUTxNapO5s-KC8yfr1fS4GxXu7uGPT0,33877
|
|
30
30
|
gam/gamlib/glgapi.py,sha256=sJMWCyVd_2MP3rF2z-zqFwWEdUu6kceRA7e42u4kVv8,40181
|
|
31
31
|
gam/gamlib/glgdata.py,sha256=weRppttWm6uRyqtBoGPKoHiNZ2h28nhfUV4J_mbCszY,2707
|
|
32
32
|
gam/gamlib/glglobals.py,sha256=J0xcHggVrUBzHJ5GruenKV-qV1zPKcK2qWgAgN3i5Jw,9608
|
|
@@ -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.
|
|
69
|
-
gam7-7.
|
|
70
|
-
gam7-7.
|
|
71
|
-
gam7-7.
|
|
72
|
-
gam7-7.
|
|
68
|
+
gam7-7.13.0.dist-info/METADATA,sha256=JLzO0wMY7JZKQG8JaqFM0iMih-LGczIRTG7fZEEqqm4,2978
|
|
69
|
+
gam7-7.13.0.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
|
|
70
|
+
gam7-7.13.0.dist-info/entry_points.txt,sha256=HVUM5J7dA8YwvJfG30jiLefR19ExMs387TWugWd9sf4,42
|
|
71
|
+
gam7-7.13.0.dist-info/licenses/LICENSE,sha256=xx0jnfkXJvxRnG63LTGOxlggYnIysveWIZ6H3PNdCrQ,11357
|
|
72
|
+
gam7-7.13.0.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|