mirror of
https://github.com/GAM-team/GAM.git
synced 2026-06-28 18:01:36 +00:00
always use getService for building API objects
This commit is contained in:
@@ -136,6 +136,8 @@ API_VER_MAPPING = {
|
||||
'calendar': 'v3',
|
||||
'classroom': 'v1',
|
||||
'cloudprint': 'v2',
|
||||
'cloudresourcemanager': 'v2',
|
||||
'cloudresourcemanagerv1': 'v1',
|
||||
'datatransfer': 'datatransfer_v1',
|
||||
'directory': 'directory_v1',
|
||||
'drive': 'v2',
|
||||
@@ -143,11 +145,13 @@ API_VER_MAPPING = {
|
||||
'gmail': 'v1',
|
||||
'groupssettings': 'v1',
|
||||
'iam': 'v1',
|
||||
'iap': 'v1',
|
||||
'licensing': 'v1',
|
||||
'oauth2': 'v2',
|
||||
'pubsub': 'v1',
|
||||
'reports': 'reports_v1',
|
||||
'reseller': 'v1',
|
||||
'servicemanagement': 'v1',
|
||||
'sheets': 'v4',
|
||||
'siteVerification': 'v1',
|
||||
'storage': 'v1',
|
||||
@@ -1192,4 +1196,4 @@ YYYYMMDDTHHMMSS_FORMAT_REQUIRED = 'yyyy-mm-ddThh:mm:ss[.fff](Z|(+|-(hh:mm)))'
|
||||
|
||||
YYYYMMDD_PATTERN = re.compile(r'^[0-9]{4}-[0-9]{2}-[0-9]{2}$')
|
||||
|
||||
UID_PATTERN = re.compile(r'u?id: ?(.+)', re.IGNORECASE)
|
||||
UID_PATTERN = re.compile(r'u?id: ?(.+)', re.IGNORECASE)
|
||||
|
||||
Reference in New Issue
Block a user