More APIs now work with discovery v2 URL

This commit is contained in:
Jay Lee
2021-07-01 14:47:40 -04:00
parent e5f9db129b
commit 794db5d2a4

View File

@ -286,11 +286,8 @@ PRODUCTID_NAME_MAPPINGS = {
# Legacy APIs that use v1 discovery. Newer APIs should all use v2.
V1_DISCOVERY_APIS = {
'calendar',
'drive',
'oauth2',
'reseller',
'siteVerification',
}
API_NAME_MAPPING = {
@ -298,6 +295,7 @@ API_NAME_MAPPING = {
'reports': 'admin',
'datatransfer': 'admin',
'drive3': 'drive',
'calendar': 'calendar-json',
'cloudresourcemanagerv1': 'cloudresourcemanager',
'cloudidentity_beta': 'cloudidentity',
}