diff --git a/src/GamCommands.txt b/src/GamCommands.txt index 784d2322..cb85312a 100644 --- a/src/GamCommands.txt +++ b/src/GamCommands.txt @@ -1460,6 +1460,17 @@ gam print alias|aliases [todrive *] gam whatis [noinfo] [noinivitablecheck] +# Analytics UA + +gam print analyticuaproperties [todrive *] + accountid [accounts/] + [maxresults ] + [formatjson [quotechar ]] +gam show analyticuaproperties + accountid [accounts/] + [maxresults ] + [formatjson] + # Analytics Admin gam print analyticaccounts [todrive *] diff --git a/src/GamUpdate.txt b/src/GamUpdate.txt index e5924129..9a12bce2 100644 --- a/src/GamUpdate.txt +++ b/src/GamUpdate.txt @@ -2,6 +2,20 @@ Merged GAM-Team version +6.61.13 + +Added commands to display Analytic UA properties. +``` +gam print analyticuaproperties [todrive *] + accountid [accounts/] + [maxresults ] + [formatjson [quotechar ]] +gam show analyticuaproperties + accountid [accounts/] + [maxresults ] + [formatjson] +``` + 6.61.12 Updated `gam print|show vaultexports|vaultholds|vaultqueries` to handle the case diff --git a/src/gam/__init__.py b/src/gam/__init__.py index 4711212c..16c14a3a 100755 --- a/src/gam/__init__.py +++ b/src/gam/__init__.py @@ -14823,7 +14823,7 @@ def printShowAnalyticItems(users, entityType): elif entityType == Ent.ANALYTIC_PROPERTY and myarg == 'filter': kwargs['filter'] = getString(Cmd.OB_STRING) elif entityType == Ent.ANALYTIC_UA_PROPERTY and myarg == 'accountid': - kwargs['accountId'] = getString(Cmd.OB_STRING) + kwargs['accountId'] = getString(Cmd.OB_STRING).replace('accounts/', '') elif entityType == Ent.ANALYTIC_DATASTREAM and myarg == 'parent': kwargs['parent'] = getString(Cmd.OB_STRING) else: @@ -14935,11 +14935,11 @@ def printShowAnalyticProperties(users): printShowAnalyticItems(users, Ent.ANALYTIC_PROPERTY) # gam print analyticuaproperties [todrive *] -# accountid +# accountid [accounts/] # [maxresults ] # [formatjson [quotechar ]] # gam show analyticuaproperties -# accountid +# accountid [accounts/] # [maxresults ] # [formatjson] def printShowAnalyticUAProperties(users):