
Security News
Deno 2.2 Improves Dependency Management and Expands Node.js Compatibility
Deno 2.2 enhances Node.js compatibility, improves dependency management, adds OpenTelemetry support, and expands linting and task automation for developers.
Google-Group-Admin-API
Advanced tools
A Python library for managing Google Cloud Platform groups via Google Workspace Directory API
A Python library for managing Google Cloud Platform (GCP) groups through the Google Workspace Directory API. This tool allows easy and efficient group management within Google Workspace, including adding members to groups, retrieving group information, listing all groups in a domain, and creating new groups.
Clone the repository to your local machine:
git clone https://github.com/martialo12/Google-Group-Admin-API
cd Google-Group-Admin-API
pip install -r requirements.txt
First, set up your Google Workspace configuration:
from google_workspace_group_manager import GoogleWorkspaceConfig, GoogleWorkspaceGroupManager
scopes = ['https://www.googleapis.com/auth/admin.directory.group']
config = GoogleWorkspaceConfig('path_to_service_account.json', scopes)
group_manager = GoogleWorkspaceGroupManager(config)
Adding a member to a group:
group_manager.add_member_to_group('group@example.com', 'member@example.com', 'MEMBER')
Retrieving information about a group:
group_info = group_manager.get_group_info('group@example.com')
Listing all groups in a domain:
groups = group_manager.list_google_workspace_groups('example.com')
Creating a new group:
new_group = group_manager.create_group('newgroup@example.com', 'New Group', 'Description')
Contributions are welcome! Please read our Contributing Guide for more information.
## License This project is licensed under the MIT License - see the LICENSE file for details.
FAQs
A Python library for managing Google Cloud Platform groups via Google Workspace Directory API
We found that Google-Group-Admin-API demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Deno 2.2 enhances Node.js compatibility, improves dependency management, adds OpenTelemetry support, and expands linting and task automation for developers.
Security News
React's CRA deprecation announcement sparked community criticism over framework recommendations, leading to quick updates acknowledging build tools like Vite as valid alternatives.
Security News
Ransomware payment rates hit an all-time low in 2024 as law enforcement crackdowns, stronger defenses, and shifting policies make attacks riskier and less profitable.