LocalCloud Cloud Resource Manager Local Emulator
Get started
local.cloud — Cloud Resource Manager Local Emulator .md Open tab

Cloud Resource Manager

Resource Manager organizes Google Cloud resources into projects, folders, and organizations. LocalCloud implements documented project lifecycle operations for local provisioning flows.

When to use Cloud Resource Manager

Typical uses

Use when automation needs to create, look up, or delete projects and carry their IDs through resource provisioning. Projects provide the scope for the rest of your setup.

Examples

  • Project provisioning
  • Project-scoped test environments
Operations

Explore another service

View all
Local workflow

Example usage

Install the CLI, start LocalCloud, and export its environment in the same shell. Generated endpoints account for remapped ports.

1. Install and start · shell
curl -fsSL https://local.cloud/install.sh | sh
localcloud start --local-only
# Export GOOGLE_CLOUD_PROJECT and CLOUD_RESOURCE_MANAGER_EMULATOR_HOST
eval "$(localcloud env)"

Create a disposable project

  1. Create a project through the supported API.
  2. Poll its long-running operation until completion.
  3. Read its metadata and remove it after the test.

Documented workflows

  • Project CRUD through v1/v3 APIs; completed operation polling
  • Project auto-registration on supported entry points outside strict mode

Service boundaries

  • No organization/folder lifecycle, moves, search, or full ancestry
  • No project auto-registration on direct emulator listeners
Try it in your project

Code examples and integrations

Start with the local guides. Official Google Cloud samples may need endpoint changes and can cover features outside the workflows listed here.

Agent testing

Use Cloud Resource Manager with an AI agent

Before the agent changes application logic, have it create local Cloud Resource Manager state, read it back with the project SDK, and note which feature the check covered. That first local call catches accidental production routing and needs no GCP account, service-account key, or billing project.

Configure this repo

Set up this repository to use LocalCloud for local GCP development. First read https://local.cloud/ai/agents.md, then inspect this repo, identify the GCP services and SDK language, configure emulator environment variables, and run the narrowest integration test against localhost. Do not use real GCP credentials or production endpoints.

Production endpoints, auth, IAM, quotas, regional behavior, and final release validation still need the target Google Cloud project.

Agent resources has more prompts and the AGENTS.md template.

Related guides

Desktop view