gam7 7.5.12__tar.gz → 7.5.14__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of gam7 might be problematic. Click here for more details.
- {gam7-7.5.12 → gam7-7.5.14}/PKG-INFO +1 -1
- {gam7-7.5.12 → gam7-7.5.14}/src/GamCommands.txt +1 -0
- {gam7-7.5.12 → gam7-7.5.14}/src/GamUpdate.txt +13 -1
- {gam7-7.5.12 → gam7-7.5.14}/src/gam/__init__.py +1 -1
- {gam7-7.5.12 → gam7-7.5.14}/src/gam/atom/mock_http.py +1 -1
- {gam7-7.5.12 → gam7-7.5.14}/src/gam/gamlib/glmsgs.py +2 -2
- {gam7-7.5.12 → gam7-7.5.14}/src/gam/gamlib/glskus.py +6 -4
- {gam7-7.5.12 → gam7-7.5.14}/src/gam-install.sh +18 -20
- gam7-7.5.12/src/project-apis.txt +0 -23
- {gam7-7.5.12 → gam7-7.5.14}/.github/ISSUE_TEMPLATE/aa-question.md +0 -0
- {gam7-7.5.12 → gam7-7.5.14}/.github/ISSUE_TEMPLATE/za-bug-report.md +0 -0
- {gam7-7.5.12 → gam7-7.5.14}/.github/ISSUE_TEMPLATE/zz-feature-request.md +0 -0
- {gam7-7.5.12 → gam7-7.5.14}/.github/ISSUE_TEMPLATE.txt +0 -0
- {gam7-7.5.12 → gam7-7.5.14}/.github/actions/creds.tar.xz.gpg +0 -0
- {gam7-7.5.12 → gam7-7.5.14}/.github/actions/decrypt.sh +0 -0
- {gam7-7.5.12 → gam7-7.5.14}/.github/actions/entitlements.plist +0 -0
- {gam7-7.5.12 → gam7-7.5.14}/.github/actions/package_exclusions.txt +0 -0
- {gam7-7.5.12 → gam7-7.5.14}/.github/stale.yml +0 -0
- {gam7-7.5.12 → gam7-7.5.14}/.github/workflows/build.yml +0 -0
- {gam7-7.5.12 → gam7-7.5.14}/.github/workflows/codeql-analysis.yml +0 -0
- {gam7-7.5.12 → gam7-7.5.14}/.github/workflows/get-cacerts.yml +0 -0
- {gam7-7.5.12 → gam7-7.5.14}/.github/workflows/pypi.yml +0 -0
- {gam7-7.5.12 → gam7-7.5.14}/.pre-commit-config.yaml +0 -0
- {gam7-7.5.12 → gam7-7.5.14}/LICENSE +0 -0
- {gam7-7.5.12 → gam7-7.5.14}/README.md +0 -0
- {gam7-7.5.12 → gam7-7.5.14}/pyproject.toml +0 -0
- {gam7-7.5.12 → gam7-7.5.14}/src/.gitignore +0 -0
- {gam7-7.5.12 → gam7-7.5.14}/src/LICENSE +0 -0
- {gam7-7.5.12 → gam7-7.5.14}/src/cacerts.pem +0 -0
- {gam7-7.5.12 → gam7-7.5.14}/src/callgam.py +0 -0
- {gam7-7.5.12 → gam7-7.5.14}/src/gam/__main__.py +0 -0
- {gam7-7.5.12 → gam7-7.5.14}/src/gam/atom/__init__.py +0 -0
- {gam7-7.5.12 → gam7-7.5.14}/src/gam/atom/auth.py +0 -0
- {gam7-7.5.12 → gam7-7.5.14}/src/gam/atom/client.py +0 -0
- {gam7-7.5.12 → gam7-7.5.14}/src/gam/atom/core.py +0 -0
- {gam7-7.5.12 → gam7-7.5.14}/src/gam/atom/data.py +0 -0
- {gam7-7.5.12 → gam7-7.5.14}/src/gam/atom/http.py +0 -0
- {gam7-7.5.12 → gam7-7.5.14}/src/gam/atom/http_core.py +0 -0
- {gam7-7.5.12 → gam7-7.5.14}/src/gam/atom/http_interface.py +0 -0
- {gam7-7.5.12 → gam7-7.5.14}/src/gam/atom/mock_http_core.py +0 -0
- {gam7-7.5.12 → gam7-7.5.14}/src/gam/atom/mock_service.py +0 -0
- {gam7-7.5.12 → gam7-7.5.14}/src/gam/atom/service.py +0 -0
- {gam7-7.5.12 → gam7-7.5.14}/src/gam/atom/token_store.py +0 -0
- {gam7-7.5.12 → gam7-7.5.14}/src/gam/atom/url.py +0 -0
- {gam7-7.5.12 → gam7-7.5.14}/src/gam/cacerts.pem +0 -0
- {gam7-7.5.12 → gam7-7.5.14}/src/gam/cbcm-v1.1beta1.json +0 -0
- {gam7-7.5.12 → gam7-7.5.14}/src/gam/contactdelegation-v1.json +0 -0
- {gam7-7.5.12 → gam7-7.5.14}/src/gam/datastudio-v1.json +0 -0
- {gam7-7.5.12 → gam7-7.5.14}/src/gam/gamlib/__init__.py +0 -0
- {gam7-7.5.12 → gam7-7.5.14}/src/gam/gamlib/glaction.py +0 -0
- {gam7-7.5.12 → gam7-7.5.14}/src/gam/gamlib/glapi.py +0 -0
- {gam7-7.5.12 → gam7-7.5.14}/src/gam/gamlib/glcfg.py +0 -0
- {gam7-7.5.12 → gam7-7.5.14}/src/gam/gamlib/glclargs.py +0 -0
- {gam7-7.5.12 → gam7-7.5.14}/src/gam/gamlib/glentity.py +0 -0
- {gam7-7.5.12 → gam7-7.5.14}/src/gam/gamlib/glgapi.py +0 -0
- {gam7-7.5.12 → gam7-7.5.14}/src/gam/gamlib/glgdata.py +0 -0
- {gam7-7.5.12 → gam7-7.5.14}/src/gam/gamlib/glglobals.py +0 -0
- {gam7-7.5.12 → gam7-7.5.14}/src/gam/gamlib/glindent.py +0 -0
- {gam7-7.5.12 → gam7-7.5.14}/src/gam/gamlib/gluprop.py +0 -0
- {gam7-7.5.12 → gam7-7.5.14}/src/gam/gamlib/glverlibs.py +0 -0
- {gam7-7.5.12 → gam7-7.5.14}/src/gam/gamlib/yubikey.py +0 -0
- {gam7-7.5.12 → gam7-7.5.14}/src/gam/gdata/__init__.py +0 -0
- {gam7-7.5.12 → gam7-7.5.14}/src/gam/gdata/alt/__init__.py +0 -0
- {gam7-7.5.12 → gam7-7.5.14}/src/gam/gdata/alt/app_engine.py +0 -0
- {gam7-7.5.12 → gam7-7.5.14}/src/gam/gdata/alt/appengine.py +0 -0
- {gam7-7.5.12 → gam7-7.5.14}/src/gam/gdata/apps/__init__.py +0 -0
- {gam7-7.5.12 → gam7-7.5.14}/src/gam/gdata/apps/audit/__init__.py +0 -0
- {gam7-7.5.12 → gam7-7.5.14}/src/gam/gdata/apps/audit/service.py +0 -0
- {gam7-7.5.12 → gam7-7.5.14}/src/gam/gdata/apps/contacts/__init__.py +0 -0
- {gam7-7.5.12 → gam7-7.5.14}/src/gam/gdata/apps/contacts/service.py +0 -0
- {gam7-7.5.12 → gam7-7.5.14}/src/gam/gdata/apps/service.py +0 -0
- {gam7-7.5.12 → gam7-7.5.14}/src/gam/gdata/service.py +0 -0
- {gam7-7.5.12 → gam7-7.5.14}/src/gam/gdata/urlfetch.py +0 -0
- {gam7-7.5.12 → gam7-7.5.14}/src/gam/googleapiclient/__init__.py +0 -0
- {gam7-7.5.12 → gam7-7.5.14}/src/gam/googleapiclient/_auth.py +0 -0
- {gam7-7.5.12 → gam7-7.5.14}/src/gam/googleapiclient/_helpers.py +0 -0
- {gam7-7.5.12 → gam7-7.5.14}/src/gam/googleapiclient/channel.py +0 -0
- {gam7-7.5.12 → gam7-7.5.14}/src/gam/googleapiclient/discovery.py +0 -0
- {gam7-7.5.12 → gam7-7.5.14}/src/gam/googleapiclient/discovery_cache/__init__.py +0 -0
- {gam7-7.5.12 → gam7-7.5.14}/src/gam/googleapiclient/discovery_cache/appengine_memcache.py +0 -0
- {gam7-7.5.12 → gam7-7.5.14}/src/gam/googleapiclient/discovery_cache/base.py +0 -0
- {gam7-7.5.12 → gam7-7.5.14}/src/gam/googleapiclient/discovery_cache/file_cache.py +0 -0
- {gam7-7.5.12 → gam7-7.5.14}/src/gam/googleapiclient/errors.py +0 -0
- {gam7-7.5.12 → gam7-7.5.14}/src/gam/googleapiclient/http.py +0 -0
- {gam7-7.5.12 → gam7-7.5.14}/src/gam/googleapiclient/mimeparse.py +0 -0
- {gam7-7.5.12 → gam7-7.5.14}/src/gam/googleapiclient/model.py +0 -0
- {gam7-7.5.12 → gam7-7.5.14}/src/gam/googleapiclient/schema.py +0 -0
- {gam7-7.5.12 → gam7-7.5.14}/src/gam/googleapiclient/version.py +0 -0
- {gam7-7.5.12 → gam7-7.5.14}/src/gam/iso8601/__init__.py +0 -0
- {gam7-7.5.12 → gam7-7.5.14}/src/gam/iso8601/iso8601.py +0 -0
- {gam7-7.5.12 → gam7-7.5.14}/src/gam/meet-v2beta.json +0 -0
- {gam7-7.5.12 → gam7-7.5.14}/src/gam/serviceaccountlookup-v1.json +0 -0
- {gam7-7.5.12 → gam7-7.5.14}/src/gam/six.py +0 -0
- {gam7-7.5.12 → gam7-7.5.14}/src/gam-setup.bat +0 -0
- {gam7-7.5.12 → gam7-7.5.14}/src/gam.exe.manifest +0 -0
- {gam7-7.5.12 → gam7-7.5.14}/src/gam.py +0 -0
- {gam7-7.5.12 → gam7-7.5.14}/src/gam.spec +0 -0
- {gam7-7.5.12 → gam7-7.5.14}/src/gam.wxs +0 -0
- {gam7-7.5.12 → gam7-7.5.14}/src/license.rtf +0 -0
- {gam7-7.5.12 → gam7-7.5.14}/src/requirements-dev.txt +0 -0
- {gam7-7.5.12 → gam7-7.5.14}/src/requirements.txt +0 -0
- {gam7-7.5.12 → gam7-7.5.14}/src/setup.cfg +0 -0
- {gam7-7.5.12 → gam7-7.5.14}/src/setup.py +0 -0
- {gam7-7.5.12 → gam7-7.5.14}/src/tools/a_atleast_b.py +0 -0
- {gam7-7.5.12 → gam7-7.5.14}/src/tools/gen-wix-xml-filelist.py +0 -0
- {gam7-7.5.12 → gam7-7.5.14}/src/tools/mkGamRef.py +0 -0
- {gam7-7.5.12 → gam7-7.5.14}/src/tools/openssl.props +0 -0
- {gam7-7.5.12 → gam7-7.5.14}/src/version_info.txt.in +0 -0
|
@@ -266,6 +266,7 @@ If an item contains spaces, it should be surrounded by ".
|
|
|
266
266
|
appsheetstandard | appsheetenterprisestandard | 1010380002 | AppSheet Enterprise Standard |
|
|
267
267
|
appsheetplus | appsheetenterpriseplus | 1010380003 | AppSheet Enterprise Plus |
|
|
268
268
|
assuredcontrols | 1010390001 | Assured Controls |
|
|
269
|
+
assuredcontrolsplus | 1010390002 | Assured Controls Plus |
|
|
269
270
|
bce | beyondcorp | beyondcorpenterprise | cep | chromeenterprisepremium | 1010400001 | Chrome Enterprise Premium |
|
|
270
271
|
cdm | chrome | googlechromedevicemanagement | Google-Chrome-Device-Management |
|
|
271
272
|
cloudidentity | identity | 1010010001 | Cloud Identity |
|
|
@@ -1,3 +1,15 @@
|
|
|
1
|
+
7.05.14
|
|
2
|
+
|
|
3
|
+
Added the following License SKU:
|
|
4
|
+
```
|
|
5
|
+
ProductId SKUId Display Name
|
|
6
|
+
101039 1010390002 Assured Controls Plus
|
|
7
|
+
```
|
|
8
|
+
|
|
9
|
+
7.05.13
|
|
10
|
+
|
|
11
|
+
Updated license product names to match Google.
|
|
12
|
+
|
|
1
13
|
7.05.12
|
|
2
14
|
|
|
3
15
|
Fixed bug in `gam update chromepolicy` where `appid` was misinterpreted for `chrome.devices.kiosk` policies
|
|
@@ -6,7 +18,7 @@ and an error was generated.
|
|
|
6
18
|
ERROR: Chrome Policy Schema: customers/C123abc456/policySchemas/<Field>, Does not exist
|
|
7
19
|
```
|
|
8
20
|
|
|
9
|
-
|
|
21
|
+
7.05.11
|
|
10
22
|
|
|
11
23
|
Added the following License SKUs:
|
|
12
24
|
```
|
|
@@ -25,7 +25,7 @@ https://github.com/GAM-team/GAM/wiki
|
|
|
25
25
|
"""
|
|
26
26
|
|
|
27
27
|
__author__ = 'GAM Team <google-apps-manager@googlegroups.com>'
|
|
28
|
-
__version__ = '7.05.
|
|
28
|
+
__version__ = '7.05.14'
|
|
29
29
|
__license__ = 'Apache License 2.0 (http://www.apache.org/licenses/LICENSE-2.0)'
|
|
30
30
|
|
|
31
31
|
#pylint: disable=wrong-import-position
|
|
@@ -108,7 +108,7 @@ class MockHttpClient(atom.http_interface.GenericHttpClient):
|
|
|
108
108
|
for recording in self.recordings:
|
|
109
109
|
if recording[0].operation == operation and recording[0].url == url:
|
|
110
110
|
return recording[1]
|
|
111
|
-
raise NoRecordingFound('No
|
|
111
|
+
raise NoRecordingFound('No recordings found for %s %s' % (
|
|
112
112
|
operation, url))
|
|
113
113
|
else:
|
|
114
114
|
# There is a real HTTP client, so make the request, and record the
|
|
@@ -118,7 +118,7 @@ Your workspace is configured to disable service account private key uploads.
|
|
|
118
118
|
|
|
119
119
|
Please go to:
|
|
120
120
|
|
|
121
|
-
https://github.com/
|
|
121
|
+
https://github.com/GAM-team/GAM/wiki/Authorization#authorize-service-account-key-uploads
|
|
122
122
|
|
|
123
123
|
Follow the steps to allow a service account private key upload for the project ({0}) just created.
|
|
124
124
|
Once those steps are completed, you can continue with your project authentication.
|
|
@@ -322,7 +322,7 @@ INVALID_NUMBER_OF_CHAT_SPACE_MEMBERS = '{0} type {1} number of members, {2}, mus
|
|
|
322
322
|
INVALID_ORGUNIT = 'Invalid Organizational Unit'
|
|
323
323
|
INVALID_PATH = 'Invalid Path'
|
|
324
324
|
INVALID_PERMISSION_ATTRIBUTE_TYPE = 'permission attribute {0} not allowed with type {1}'
|
|
325
|
-
INVALID_REGION = 'See: https://github.com/
|
|
325
|
+
INVALID_REGION = 'See: https://github.com/GAM-team/GAM/wiki/Context-Aware-Access-Levels#caa-region-codes'
|
|
326
326
|
INVALID_QUERY = 'Invalid Query'
|
|
327
327
|
INVALID_RE = 'Invalid RE'
|
|
328
328
|
INVALID_REQUEST = 'Invalid Request'
|
|
@@ -22,7 +22,7 @@
|
|
|
22
22
|
|
|
23
23
|
# Products/SKUs
|
|
24
24
|
_PRODUCTS = {
|
|
25
|
-
'101001': 'Cloud Identity
|
|
25
|
+
'101001': 'Cloud Identity',
|
|
26
26
|
'101005': 'Cloud Identity Premium',
|
|
27
27
|
'101031': 'Google Workspace for Education',
|
|
28
28
|
'101033': 'Google Voice',
|
|
@@ -87,6 +87,8 @@ _SKUS = {
|
|
|
87
87
|
'product': '101038', 'aliases': ['appsheetplus', 'appsheetenterpriseplus'], 'displayName': 'AppSheet Enterprise Plus'},
|
|
88
88
|
'1010390001': {
|
|
89
89
|
'product': '101039', 'aliases': ['assuredcontrols'], 'displayName': 'Assured Controls'},
|
|
90
|
+
'1010390002': {
|
|
91
|
+
'product': '101039', 'aliases': ['assuredcontrolsplus'], 'displayName': 'Assured Controls Plus'},
|
|
90
92
|
'1010400001': {
|
|
91
93
|
'product': '101040', 'aliases': ['beyondcorp', 'beyondcorpenterprise', 'bce', 'cep', 'chromeenterprisepremium'], 'displayName': 'Chrome Enterprise Premium'},
|
|
92
94
|
'1010430001': {
|
|
@@ -127,7 +129,7 @@ _SKUS = {
|
|
|
127
129
|
'product': 'Google-Apps', 'aliases': ['gau', 'gsb', 'unlimited', 'gsuitebusiness'], 'displayName': 'G Suite Business'},
|
|
128
130
|
'1010020020': {
|
|
129
131
|
'product': 'Google-Apps', 'aliases': ['gae', 'gse', 'enterprise', 'gsuiteenterprise',
|
|
130
|
-
'wsentplus', 'workspaceenterpriseplus'], 'displayName': 'Google Workspace Enterprise Plus'},
|
|
132
|
+
'wsentplus', 'workspaceenterpriseplus'], 'displayName': 'Google Workspace Enterprise Plus (formerly G Suite Enterprise)'},
|
|
131
133
|
'1010020025': {
|
|
132
134
|
'product': 'Google-Apps', 'aliases': ['wsbizplus', 'workspacebusinessplus'], 'displayName': 'Google Workspace Business Plus'},
|
|
133
135
|
'1010020026': {
|
|
@@ -159,11 +161,11 @@ _SKUS = {
|
|
|
159
161
|
'1010060001': {
|
|
160
162
|
'product': '101006', 'aliases': ['gsuiteessentials', 'essentials',
|
|
161
163
|
'd4e', 'driveenterprise', 'drive4enterprise',
|
|
162
|
-
'wsess', 'workspaceesentials'], 'displayName': 'Google Workspace Essentials'},
|
|
164
|
+
'wsess', 'workspaceesentials'], 'displayName': 'Google Workspace Essentials (formerly G Suite Essentials)'},
|
|
163
165
|
'1010060003': {
|
|
164
166
|
'product': 'Google-Apps', 'aliases': ['wsentess', 'workspaceenterpriseessentials'], 'displayName': 'Google Workspace Enterprise Essentials'},
|
|
165
167
|
'1010060005': {
|
|
166
|
-
'product': 'Google-Apps', 'aliases': ['wsessplus', 'workspaceessentialsplus'], 'displayName': 'Google Workspace Essentials Plus'},
|
|
168
|
+
'product': 'Google-Apps', 'aliases': ['wsessplus', 'workspaceessentialsplus'], 'displayName': 'Google Workspace Enterprise Essentials Plus'},
|
|
167
169
|
'Google-Drive-storage-20GB': {
|
|
168
170
|
'product': 'Google-Drive-storage', 'aliases': ['drive20gb', '20gb', 'googledrivestorage20gb'], 'displayName': 'Google Drive Storage 20GB'},
|
|
169
171
|
'Google-Drive-storage-50GB': {
|
|
@@ -21,7 +21,7 @@ EOF
|
|
|
21
21
|
}
|
|
22
22
|
|
|
23
23
|
target_dir="$HOME/bin"
|
|
24
|
-
|
|
24
|
+
target_folder="$target_dir/gam7"
|
|
25
25
|
gamarch=$(uname -m)
|
|
26
26
|
gamos=$(uname -s)
|
|
27
27
|
osversion=""
|
|
@@ -36,7 +36,7 @@ while getopts "hd:a:o:b:lp:u:r:v:s" OPTION
|
|
|
36
36
|
do
|
|
37
37
|
case $OPTION in
|
|
38
38
|
h) usage; exit;;
|
|
39
|
-
d) target_dir="$OPTARG";;
|
|
39
|
+
d) target_dir="${OPTARG%/}"; target_folder="$target_dir/gam7";;
|
|
40
40
|
a) gamarch="$OPTARG";;
|
|
41
41
|
o) gamos="$OPTARG";;
|
|
42
42
|
b) osversion="$OPTARG";;
|
|
@@ -45,13 +45,11 @@ do
|
|
|
45
45
|
u) adminuser="$OPTARG";;
|
|
46
46
|
r) regularuser="$OPTARG";;
|
|
47
47
|
v) gamversion="$OPTARG";;
|
|
48
|
-
s) strip_gam="--strip-components 1";
|
|
48
|
+
s) strip_gam="--strip-components 1"; target_folder="$target_dir";;
|
|
49
49
|
?) usage; exit;;
|
|
50
50
|
esac
|
|
51
51
|
done
|
|
52
|
-
|
|
53
|
-
# remove possible / from end of target_dir
|
|
54
|
-
target_dir=${target_dir%/}
|
|
52
|
+
target_gam="$target_folder/gam"
|
|
55
53
|
|
|
56
54
|
update_profile() {
|
|
57
55
|
[ "$2" -eq 1 ] || [ -f "$1" ] || return 1
|
|
@@ -328,9 +326,9 @@ echo_yellow "Downloading ${download_url} to $temp_archive_dir ($check_type)..."
|
|
|
328
326
|
# Save archive to temp w/o losing our path
|
|
329
327
|
(cd "$temp_archive_dir" && curl -O -L -s "${curl_opts[@]}" "$download_url")
|
|
330
328
|
|
|
331
|
-
mkdir -p "$
|
|
332
|
-
echo_yellow "Deleting contents of $
|
|
333
|
-
rm -frv "$
|
|
329
|
+
mkdir -p "$target_folder"
|
|
330
|
+
echo_yellow "Deleting contents of $target_folder/lib"
|
|
331
|
+
rm -frv "$target_folder/lib"
|
|
334
332
|
|
|
335
333
|
echo_yellow "Extracting archive to $target_dir"
|
|
336
334
|
if [[ "$name" =~ tar.xz|tar.gz|tar ]]; then
|
|
@@ -351,7 +349,7 @@ fi
|
|
|
351
349
|
|
|
352
350
|
# Update profile to add gam command
|
|
353
351
|
if [ "$update_profile" = true ]; then
|
|
354
|
-
alias_line="alias gam=\"$
|
|
352
|
+
alias_line="alias gam=\"$target_gam\""
|
|
355
353
|
if [ "$gamos" == "linux" ]; then
|
|
356
354
|
update_profile "$HOME/.bash_aliases" 0 || update_profile "$HOME/.bash_profile" 0 || update_profile "$HOME/.bashrc" 0
|
|
357
355
|
update_profile "$HOME/.zshrc" 0
|
|
@@ -365,7 +363,7 @@ fi
|
|
|
365
363
|
|
|
366
364
|
if [ "$upgrade_only" = true ]; then
|
|
367
365
|
echo_green "Here's information about your GAM upgrade:"
|
|
368
|
-
"$
|
|
366
|
+
"$target_gam" version extended
|
|
369
367
|
rc=$?
|
|
370
368
|
if (( $rc != 0 )); then
|
|
371
369
|
echo_red "ERROR: Failed running GAM for the first time with return code $rc. Please report this error to GAM mailing list. Exiting."
|
|
@@ -387,7 +385,7 @@ while true; do
|
|
|
387
385
|
;;
|
|
388
386
|
[Nn]*)
|
|
389
387
|
# config_cmd="config no_browser true"
|
|
390
|
-
touch "$
|
|
388
|
+
touch "$target_folder/nobrowser.txt" > /dev/null 2>&1
|
|
391
389
|
break
|
|
392
390
|
;;
|
|
393
391
|
*)
|
|
@@ -405,8 +403,8 @@ while true; do
|
|
|
405
403
|
if [ "$adminuser" == "" ]; then
|
|
406
404
|
read -p "Please enter your Google Workspace admin email address: " adminuser
|
|
407
405
|
fi
|
|
408
|
-
# "$
|
|
409
|
-
"$
|
|
406
|
+
# "$target_gam" $config_cmd create project $adminuser
|
|
407
|
+
"$target_gam" create project $adminuser
|
|
410
408
|
rc=$?
|
|
411
409
|
if (( $rc == 0 )); then
|
|
412
410
|
echo_green "Project creation complete."
|
|
@@ -431,8 +429,8 @@ while $project_created; do
|
|
|
431
429
|
read -p "Are you ready to authorize GAM to perform Google Workspace management operations as your admin account? (yes or no) " yn
|
|
432
430
|
case $yn in
|
|
433
431
|
[Yy]*)
|
|
434
|
-
# "$
|
|
435
|
-
"$
|
|
432
|
+
# "$target_gam" $config_cmd oauth create $adminuser
|
|
433
|
+
"$target_gam" oauth create $adminuser
|
|
436
434
|
rc=$?
|
|
437
435
|
if (( $rc == 0 )); then
|
|
438
436
|
echo_green "Admin authorization complete."
|
|
@@ -461,8 +459,8 @@ while $admin_authorized; do
|
|
|
461
459
|
read -p "Please enter the email address of a regular Google Workspace user: " regularuser
|
|
462
460
|
fi
|
|
463
461
|
echo_yellow "Great! Checking service account scopes.This will fail the first time. Follow the steps to authorize and retry. It can take a few minutes for scopes to PASS after they've been authorized in the admin console."
|
|
464
|
-
# "$
|
|
465
|
-
"$
|
|
462
|
+
# "$target_gam" $config_cmd user $regularuser check serviceaccount
|
|
463
|
+
"$target_gam" user $regularuser check serviceaccount
|
|
466
464
|
rc=$?
|
|
467
465
|
if (( $rc == 0 )); then
|
|
468
466
|
echo_green "Service account authorization complete."
|
|
@@ -483,8 +481,8 @@ while $admin_authorized; do
|
|
|
483
481
|
done
|
|
484
482
|
|
|
485
483
|
echo_green "Here's information about your new GAM installation:"
|
|
486
|
-
#"$
|
|
487
|
-
"$
|
|
484
|
+
#"$target_gam" $config_cmd save version extended
|
|
485
|
+
"$target_gam" version extended
|
|
488
486
|
rc=$?
|
|
489
487
|
if (( $rc != 0 )); then
|
|
490
488
|
echo_red "ERROR: Failed running GAM for the first time with $rc. Please report this error to GAM mailing list. Exiting."
|
gam7-7.5.12/src/project-apis.txt
DELETED
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
accesscontextmanager.googleapis.com
|
|
2
|
-
admin.googleapis.com
|
|
3
|
-
alertcenter.googleapis.com
|
|
4
|
-
calendar-json.googleapis.com
|
|
5
|
-
chat.googleapis.com
|
|
6
|
-
chromemanagement.googleapis.com
|
|
7
|
-
chromepolicy.googleapis.com
|
|
8
|
-
classroom.googleapis.com
|
|
9
|
-
cloudidentity.googleapis.com
|
|
10
|
-
cloudresourcemanager.googleapis.com
|
|
11
|
-
contacts.googleapis.com
|
|
12
|
-
drive.googleapis.com
|
|
13
|
-
driveactivity.googleapis.com
|
|
14
|
-
iap.googleapis.com
|
|
15
|
-
gmail.googleapis.com
|
|
16
|
-
groupssettings.googleapis.com
|
|
17
|
-
iam.googleapis.com
|
|
18
|
-
licensing.googleapis.com
|
|
19
|
-
reseller.googleapis.com
|
|
20
|
-
sheets.googleapis.com
|
|
21
|
-
siteverification.googleapis.com
|
|
22
|
-
storage-api.googleapis.com
|
|
23
|
-
vault.googleapis.com
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|