---
title: "Create a cloud action for GCP | Lansweeper Platform"
slug: "create-a-cloud-action-google-cloud-platform"
description: "Create a Google Cloud Platform cloud action to automatically discover assets and collect inventory data across your GCP environment with Lansweeper."
updated: 2026-06-19T18:14:04Z
published: 2026-06-19T18:14:04Z
canonical: "docs.lansweeper.com/create-a-cloud-action-google-cloud-platform"
stale: true
---

> ## Documentation Index
> Fetch the complete documentation index at: https://docs.lansweeper.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Create a cloud action - Google Cloud Platform

Create a Google Cloud Platform (GCP) cloud action to automatically discover assets from your Google Cloud Platform environment. This lets Lansweeper collect inventory data across your GCP projects and workloads (such as Compute Engine instances, Cloud SQL databases, and storage resources), so your cloud assets stay visible and up to date in a unified inventory.

## Prerequisites

- You have completed the steps in [Prepare Google Cloud Platform for Cloud Discovery](/v1/docs/prepare-google-cloud-platform-for-cloud-discovery)
- Your **Workload Identity Pool ID**, **Workload Identity Provider**, **Project Number**, and **Service Account Email**

## Create a GCP cloud action

1. In your Lansweeper Site, go to **Discovery > Actions**.
2. Select **Create action**.
3. Select **Cloud** as the action type, and **Google Cloud Platform (GCP)** as the cloud source.
4. Select **Create**.
5. Enter a name and description for the action.
6. Enter your **Workload Identity Pool ID**, **Workload Identity Provider**, **Project Number**, and **Service Account Email**.
7. Select **List projects**.
8. Choose the GCP projects you want to add to the discovery action.
9. Under **Asset types**, select which types of assets to scan.
10. Optionally, select **Add a label** include or exclude specific labels.
11. Select **Create trigger**.
12. Select **Instant** to run at a scheduled time on select days. Enter the name, time, and days you prefer.
13. Finally, select **Save and finish**.
