Multivalued schema files default to type work; update URLs (#1522)

* multivalued schema field defaults to type work;

* Update URLs

* Add new Product/SKU

* Revert to https://jaylee.us/gam
This commit is contained in:
Ross Scroggs
2022-05-08 16:42:39 -07:00
committed by GitHub
parent c0c1355216
commit ee19c5e25f
2 changed files with 8 additions and 0 deletions

View File

@ -7014,6 +7014,8 @@ def getUserAttributes(i, cd, updateCmd):
if schemaValue['type'] == 'custom':
schemaValue['customType'] = sys.argv[i]
i += 1
else:
schemaValue['type'] = 'work'
schemaValue['value'] = sys.argv[i]
if schemaValue['value'] or multivalue != 'multinonempty':
body[up][schemaName][fieldName].append(schemaValue)

View File

@ -116,6 +116,11 @@ SKUS = {
'aliases': ['gvpremier', 'voicepremier', 'googlevoicepremier'],
'displayName': 'Google Voice Premier'
},
'1010360001': {
'product': '101036',
'aliases': ['meetdialing','googlemeetglobaldialing'],
'displayName': 'Google Meet Global Dialing'
},
'1010370001': {
'product': '101037',
'aliases': ['gwetlu', 'workspaceeducationupgrade'],
@ -282,6 +287,7 @@ PRODUCTID_NAME_MAPPINGS = {
'101033': 'Google Voice',
'101034': 'G Suite Archived',
'101035': 'Cloud Search',
'101036': 'Google Meet Global Dialing',
'101037': 'G Suite Workspace for Education',
'Google-Apps': 'Google Workspace',
'Google-Chrome-Device-Management': 'Google Chrome Device Management',