Skip to content

Commit dc51424

Browse files
authored
Merge pull request googleworkspace#9 from kloya/master
Update README.md
2 parents bedc3d5 + 7815ce8 commit dc51424

File tree

1 file changed

+23
-1
lines changed

1 file changed

+23
-1
lines changed

admin_sdk/groups_settings/README.md

Lines changed: 23 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,5 +38,27 @@ this directory.
3838
### Run
3939

4040
```
41-
detect_external_access.py
41+
python detect_external_access.py
42+
```
43+
44+
## Restrict External Access
45+
46+
This script restricts external access to domain access for the given group.
47+
It requires the same `client_secret.json` file used by the quickstart.
48+
49+
50+
### Install
51+
52+
```
53+
pip install --upgrade google-api-python-client
54+
```
55+
56+
Follow the [Quickstart instructions](https://developers.google.com/admin-sdk/groups-settings/quickstart/python),
57+
to create an OAuth2 client ID and download the `client_secret.json` file into
58+
this directory.
59+
60+
### Run
61+
62+
```
63+
python restrict_external_access.py
4264
```

0 commit comments

Comments
 (0)