mirror of
https://github.com/GAM-team/GAM.git
synced 2026-07-03 12:21:35 +00:00
Updated gam create datatransfer to handle API change
This commit is contained in:
@@ -3444,8 +3444,7 @@ gam print|show transferapps
|
|||||||
|
|
||||||
<DataTransferService> ::=
|
<DataTransferService> ::=
|
||||||
calendar|
|
calendar|
|
||||||
currents|
|
datastudio|lookerstudio|"looker studio"|
|
||||||
datastudio|lookerstudio|"google data studio"|
|
|
||||||
googledrive|gdrive|drive|"drive and docs"
|
googledrive|gdrive|drive|"drive and docs"
|
||||||
<DataTransferServiceList> ::= "<DataTransferService>(,<DataTransferService>)*"
|
<DataTransferServiceList> ::= "<DataTransferService>(,<DataTransferService>)*"
|
||||||
|
|
||||||
|
|||||||
@@ -2,6 +2,12 @@
|
|||||||
|
|
||||||
Fixed bug in `gam create chromeprofilecommand` where `select|filter` were not recognized.
|
Fixed bug in `gam create chromeprofilecommand` where `select|filter` were not recognized.
|
||||||
|
|
||||||
|
Updated `gam create datatransfer <OldOwnerID> datastudio <NewOwnerID>` that generated the following
|
||||||
|
error due to an unhandled API change.
|
||||||
|
```
|
||||||
|
ERROR: Invalid choice (google data studio): Expected <calendar|looker studio|drive and docs>
|
||||||
|
```
|
||||||
|
|
||||||
7.13.01
|
7.13.01
|
||||||
|
|
||||||
Enhanced `gam create|print|show chromeprofilecommand` to allow specification
|
Enhanced `gam create|print|show chromeprofilecommand` to allow specification
|
||||||
|
|||||||
@@ -17071,14 +17071,14 @@ def _convertTransferAppIDtoName(apps, appID):
|
|||||||
return f'applicationId: {appID}'
|
return f'applicationId: {appID}'
|
||||||
|
|
||||||
DRIVE_AND_DOCS_APP_NAME = 'drive and docs'
|
DRIVE_AND_DOCS_APP_NAME = 'drive and docs'
|
||||||
GOOGLE_DATA_STUDIO_APP_NAME = 'google data studio'
|
GOOGLE_LOOKER_STUDIO_APP_NAME = 'looker studio'
|
||||||
|
|
||||||
SERVICE_NAME_CHOICE_MAP = {
|
SERVICE_NAME_CHOICE_MAP = {
|
||||||
'datastudio': GOOGLE_DATA_STUDIO_APP_NAME,
|
'datastudio': GOOGLE_LOOKER_STUDIO_APP_NAME,
|
||||||
'drive': DRIVE_AND_DOCS_APP_NAME,
|
'drive': DRIVE_AND_DOCS_APP_NAME,
|
||||||
'googledrive': DRIVE_AND_DOCS_APP_NAME,
|
'googledrive': DRIVE_AND_DOCS_APP_NAME,
|
||||||
'gdrive': DRIVE_AND_DOCS_APP_NAME,
|
'gdrive': DRIVE_AND_DOCS_APP_NAME,
|
||||||
'lookerstudio': GOOGLE_DATA_STUDIO_APP_NAME,
|
'lookerstudio': GOOGLE_LOOKER_STUDIO_APP_NAME,
|
||||||
}
|
}
|
||||||
|
|
||||||
def _validateTransferAppName(apps, appName):
|
def _validateTransferAppName(apps, appName):
|
||||||
|
|||||||
Reference in New Issue
Block a user