mirror of
https://github.com/GAM-team/GAM.git
synced 2025-07-07 21:23:34 +00:00
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:
@ -7014,6 +7014,8 @@ def getUserAttributes(i, cd, updateCmd):
|
|||||||
if schemaValue['type'] == 'custom':
|
if schemaValue['type'] == 'custom':
|
||||||
schemaValue['customType'] = sys.argv[i]
|
schemaValue['customType'] = sys.argv[i]
|
||||||
i += 1
|
i += 1
|
||||||
|
else:
|
||||||
|
schemaValue['type'] = 'work'
|
||||||
schemaValue['value'] = sys.argv[i]
|
schemaValue['value'] = sys.argv[i]
|
||||||
if schemaValue['value'] or multivalue != 'multinonempty':
|
if schemaValue['value'] or multivalue != 'multinonempty':
|
||||||
body[up][schemaName][fieldName].append(schemaValue)
|
body[up][schemaName][fieldName].append(schemaValue)
|
||||||
|
@ -116,6 +116,11 @@ SKUS = {
|
|||||||
'aliases': ['gvpremier', 'voicepremier', 'googlevoicepremier'],
|
'aliases': ['gvpremier', 'voicepremier', 'googlevoicepremier'],
|
||||||
'displayName': 'Google Voice Premier'
|
'displayName': 'Google Voice Premier'
|
||||||
},
|
},
|
||||||
|
'1010360001': {
|
||||||
|
'product': '101036',
|
||||||
|
'aliases': ['meetdialing','googlemeetglobaldialing'],
|
||||||
|
'displayName': 'Google Meet Global Dialing'
|
||||||
|
},
|
||||||
'1010370001': {
|
'1010370001': {
|
||||||
'product': '101037',
|
'product': '101037',
|
||||||
'aliases': ['gwetlu', 'workspaceeducationupgrade'],
|
'aliases': ['gwetlu', 'workspaceeducationupgrade'],
|
||||||
@ -282,6 +287,7 @@ PRODUCTID_NAME_MAPPINGS = {
|
|||||||
'101033': 'Google Voice',
|
'101033': 'Google Voice',
|
||||||
'101034': 'G Suite Archived',
|
'101034': 'G Suite Archived',
|
||||||
'101035': 'Cloud Search',
|
'101035': 'Cloud Search',
|
||||||
|
'101036': 'Google Meet Global Dialing',
|
||||||
'101037': 'G Suite Workspace for Education',
|
'101037': 'G Suite Workspace for Education',
|
||||||
'Google-Apps': 'Google Workspace',
|
'Google-Apps': 'Google Workspace',
|
||||||
'Google-Chrome-Device-Management': 'Google Chrome Device Management',
|
'Google-Chrome-Device-Management': 'Google Chrome Device Management',
|
||||||
|
Reference in New Issue
Block a user