---
title: Google Cloud API Integration on Truto
slug: googlecloud
category: Application Development
canonical: "https://truto.one/integrations/detail/googlecloud/"
---

# Google Cloud API Integration on Truto



**Category:** Application Development  
**Status:** Generally available

## Unified APIs

### Unified User Directory API

- **Me** — 
- **Organizations** — Organizations are the top level entity in the source application. Users are associated with an organization.
- **Roles** — The Role object represents a role of a User.
- **Users** — The User object represents a User.
- **Workspaces** — Workspaces represent concepts like teams, workspaces, projects in apps that support them

## How it works

1. **Link your customer's Google Cloud account.** Use Truto's frontend SDK; we handle every OAuth and API key flow so you don't need to create the OAuth app.
2. **Authentication is automatic.** Truto refreshes tokens, stores credentials securely, and injects them into every API request.
3. **Call Truto's API to reach Google Cloud.** The Proxy API is a 1-to-1 mapping of the Google Cloud API.
4. **Get a unified response format.** Every response uses a single shape, with cursor-based pagination and data in the `result` field.

## Use cases

- **Sync GCP user and role data into your security dashboard** — Security and compliance SaaS companies can pull user identities, roles, and organizational structure from Google Cloud to audit access controls and detect overly permissive configurations — without building custom GCP IAM API integrations.
- **Map customer org hierarchies for multi-tenant onboarding** — Developer platforms and infrastructure tools can read a customer's GCP organization, workspaces, and user directory to auto-configure tenant structures during onboarding, reducing setup friction for enterprise customers.
- **Enrich your product's user profiles with GCP identity data** — SaaS applications that manage permissions, governance, or collaboration can pull authenticated user details and role assignments from Google Cloud to keep their internal user records in sync with the customer's cloud identity source of truth.
- **Automate user provisioning audits across cloud providers** — HR, IT management, and identity governance platforms can list all users and their roles across Google Cloud alongside other providers through Truto's Unified User Directory API, enabling cross-platform access reviews from a single integration layer.

## What you can build

- **GCP organization and project explorer** — Let your users browse their Google Cloud organization hierarchy — including workspaces and sub-organizations — directly inside your product for context-aware resource mapping.
- **Unified cloud identity dashboard** — Display Google Cloud users and their assigned roles alongside identities from other platforms using Truto's Unified User Directory API for a single-pane view of access.
- **Role-based access audit reports** — Automatically pull GCP roles and user assignments to generate compliance-ready access review reports without customers needing to export data manually.
- **Authenticated user context (Me endpoint)** — Use the Me resource to instantly identify the connected Google Cloud user and personalize your app's experience based on their identity and permissions.
- **Cross-platform user directory sync** — Sync Google Cloud user records into your product's internal directory alongside users from other integrated platforms, keeping a canonical list of identities across your customers' tool stack.

## FAQs

### What authentication methods does Truto support for Google Cloud?

Truto handles OAuth 2.0-based authentication for Google Cloud, managing token exchange and refresh so your end users can securely connect their GCP accounts without you building the auth flow from scratch.

### Which Google Cloud data can I access through Truto today?

Truto's Unified User Directory API supports the Me, Organizations, Roles, Users, and Workspaces resources for Google Cloud. Additional tools and API resources for GCP services like BigQuery, Cloud Storage, or Pub/Sub are built on request.

### Can I request support for additional Google Cloud APIs beyond the User Directory?

Yes. Google Cloud tools are built on request. If you need access to BigQuery, Cloud Storage, Compute Engine, Pub/Sub, or other GCP APIs, Truto can build and expose those as tools tailored to your use case.

### How does Truto handle pagination and rate limits for Google Cloud APIs?

Truto abstracts pagination automatically, so you get complete result sets without managing page tokens. Rate limit handling, including retries and backoff, is managed by Truto's proxy layer so your integration stays resilient.

### Can I use the same API calls for Google Cloud and other identity providers?

Yes. The Unified User Directory API provides a normalized schema for Users, Roles, Organizations, and Workspaces across Google Cloud and other supported platforms, so you write one integration and support multiple providers.

### What permissions do end users need to grant for the integration?

The required OAuth scopes depend on which resources you access. For the User Directory resources, read-only scopes for Cloud Identity or Workspace Directory are typically sufficient. Truto's connect flow guides end users through granting the correct permissions.
