diff --git a/src/gam/__init__.py b/src/gam/__init__.py index 67079beb..4495a3b8 100755 --- a/src/gam/__init__.py +++ b/src/gam/__init__.py @@ -849,7 +849,9 @@ def _getSvcAcctData(): controlflow.system_error_exit(6, None) GM_Globals[GM_OAUTH2SERVICE_JSON_DATA] = json.loads(json_string) -jwt_apis = ['chat', 'accesscontextmanager'] # APIs which can handle OAuthless JWT tokens +jwt_apis = ['chat', + 'cloudresourcemanager', + 'accesscontextmanager'] # APIs which can handle OAuthless JWT tokens def getSvcAcctCredentials(scopes, act_as, api=None): try: _getSvcAcctData() diff --git a/src/gam/gapi/caa.py b/src/gam/gapi/caa.py index 8d27488a..c1240014 100644 --- a/src/gam/gapi/caa.py +++ b/src/gam/gapi/caa.py @@ -246,7 +246,7 @@ def delete_access_level(): if not name.startswith('accessPolicies/'): ap_name = get_access_policy(caa) name = f'{ap_name}/accessLevels/{name}' - print('Deleting access level {name}...') + print(f'Deleting access level {name}...') try: gapi.call(caa.accessPolicies().accessLevels(), 'delete', diff --git a/src/gam/var.py b/src/gam/var.py index b72adf09..acfcd079 100644 --- a/src/gam/var.py +++ b/src/gam/var.py @@ -8,7 +8,7 @@ import platform import re GAM_AUTHOR = 'Jay Lee ' -GAM_VERSION = '6.18' +GAM_VERSION = '6.19' GAM_LICENSE = 'Apache License 2.0 (http://www.apache.org/licenses/LICENSE-2.0)' GAM_URL = 'https://git.io/gam' @@ -301,6 +301,7 @@ API_NAME_MAPPING = { } API_VER_MAPPING = { + 'accesscontextmanager': 'v1', 'alertcenter': 'v1beta1', 'driveactivity': 'v2', 'calendar': 'v3',