Google Cloud Platform
Setup
To setup the GCP integration, navigate to the Integrations > Add integration > Google Cloud Platform and click Continue.
Troubleshooting
Error 400: admin_policy_enforced
Encountering the Error 400: admin_policy_enforced
error while connecting Google Workspace indicates that your organization’s policies are restricting access to your account data.
To fix this issue:
- Go to Google Admin and navigate to Security > Access and data control > API Controls > Manage Third Party App Access
- Click on Configure new app and choose OAuth app name or client ID
- Use the following Client ID for the verified Oneleet app:
487371732991-7o3p4g81rmvdj7vj8sh9kh4rqfk5hhgc.apps.googleusercontent.com
- Set it as Trusted and click Configure at the bottom right
- Once these steps are completed, attempt to link Google Workspace again
Google Cloud VPC Setup
What is a VPC?
Virtual Private Clouds are virtual networks in GCP. They’re most commonly used to allow services to communicate with each other. VPCs allow you to control access to services and resources you host on GCP, and the firewall and routing systems prevent unauthorized network access.
Basic VPC Setup Guide
- Open the Google Cloud Console.
- Open “VPC networks” from the search bar.
- Click “Create VPC Network” from the title bar.
- Name your VPC (name can only contain letters, numbers, and -)
- Add a new subnet
- Subnets are a complex subject, for this guide just make sure the IP range isn’t already used within your organization / network.
- Name your subnet something relevant to the VPC. Example: VPC-NAME-1
- Select your preferred GCP region. Example: us-central1
- Pick an IPv4 range, these will be the IP addresses assigned to services in the VPC. Make sure the range is available in your network. If you’re unfamiliar CIDR notation, 10.25.0.0/24 would be 10.25.0.0 to 10.25.0.255.
- Enable “Flow logs” for additional security.
- Click “Create” to complete the process.
Now you will be able to assign services to your VPC from the configuration UI of those services.