module/service_sync.py¶
module.service_sync ¶
Service Sync
SyncGSuite ¶
Bases: GSuite
Sync GSuite
Parameters:
Name | Type | Description | Default |
---|---|---|---|
credentialfile |
str
|
Credentialfile path. |
required |
with_subject |
str
|
Admin user mail. |
required |
Source code in module/service_sync.py
add_users_into_group ¶
Add some users into one group
Parameters:
Name | Type | Description | Default |
---|---|---|---|
group |
str
|
group_key or mail. |
required |
users |
list
|
List of user mails. |
required |
Source code in module/service_sync.py
del_users_from_group ¶
del some users from one group
Parameters:
Name | Type | Description | Default |
---|---|---|---|
group |
str
|
group_key or mail. |
required |
users |
list
|
List of user mails. |
required |