一键导入
gcloud-cloudlocationfinder
Cloud Location Finder via gcloud (`gcloud cloudlocationfinder`). Manage Cloudlocationfinder resources — cloud-locations.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Cloud Location Finder via gcloud (`gcloud cloudlocationfinder`). Manage Cloudlocationfinder resources — cloud-locations.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
gcloud CLI reference: 128 GCP services, all GA commands with full flags, plus the standalone bq CLI. Use for any Google Cloud / GCP command-line task — managing resources, debugging gcloud commands, auth/config/scripting — or whenever a GCP product is named (GKE, Cloud Run, BigQuery, Cloud SQL, Pub/Sub...), even without 'gcloud'.
Access Approval via gcloud (`gcloud access-approval`). Manage Access Approval requests and settings — requests, service-account, settings.
Access Context Manager (VPC Service Controls) via gcloud (`gcloud access-context-manager`). Manage Access Context Manager resources — authorized-orgs, cloud-bindings, levels, perimeters, policies, supported-services.
Managed Service for Microsoft AD via gcloud (`gcloud active-directory`). Manage Managed Microsoft AD resources — domains, operations, peerings.
Agent Registry via gcloud (`gcloud agent-registry`). Manage Agent Registry resources — agents, bindings, endpoints, mcp-servers, operations, services.
AI Platform (legacy) via gcloud (`gcloud ai-platform`). Manage AI Platform jobs and models — jobs, local, models, operations, versions.
| name | gcloud-cloudlocationfinder |
| description | Cloud Location Finder via gcloud (`gcloud cloudlocationfinder`). Manage Cloudlocationfinder resources — cloud-locations. |
Preview: Cloud Location Finder is in Preview and subject to the Pre-GA Offerings Terms. It is provided "as is" with potentially limited support, and its surface may change before GA.
Cloud Location Finder is a read-only discovery API that exposes a single repository of cloud locations across Google Cloud and Google Distributed Cloud, plus locations for Amazon Web Services, Microsoft Azure, and Oracle Cloud Infrastructure. Reach for it when you need to enumerate available locations, find Google Cloud regions or zones close to an existing workload in another cloud, filter locations by provider/type for placement decisions, or screen locations by attributes such as country (for compliance) or carbon data. All commands are read-only — there is no create/update/delete surface.
gcloud services enable cloudlocationfinder.googleapis.com --project PROJECT_ID
# Read access for all list / search / describe operations
gcloud projects add-iam-policy-binding PROJECT_ID \
--member="user:USER@example.com" \
--role="roles/cloudlocationfinder.viewer"
# All locations (resource scope is always global)
gcloud cloudlocationfinder cloud-locations list
# Output just the resource URIs (handy for scripting)
gcloud cloudlocationfinder cloud-locations list --uri
gcloud cloudlocationfinder cloud-locations describe gcp-us-central1
# Equivalent, with the location explicitly set (always global)
gcloud cloudlocationfinder cloud-locations describe gcp-us-central1 \
--location=global
# Only GCP regions
gcloud cloudlocationfinder cloud-locations list \
--filter="cloud_provider=CLOUD_PROVIDER_GCP AND cloud_location_type=CLOUD_LOCATION_TYPE_REGION"
# Only AWS zones
gcloud cloudlocationfinder cloud-locations list \
--filter="cloud_provider=CLOUD_PROVIDER_AWS AND cloud_location_type=CLOUD_LOCATION_TYPE_ZONE"
# GCP locations near AWS us-east-1, narrowed with a query
gcloud cloudlocationfinder cloud-locations search \
--source-cloud-location=aws-us-east-1 \
--query=display_name="us-east4"
gcloud cloudlocationfinder cloud-locations list \
--page-size=50 \
--limit=200
| Group | Reference file | Commands | Description |
|---|---|---|---|
cloudlocationfinder cloud-locations | cloud-locations.md | 3 | manage Cloud Location resources |
See index.md for a one-line index of all 3 commands.
--location accepts global (or a fully qualified name) but you can normally omit it.describe takes a positional location ID named like <provider>-<region> — e.g. gcp-us-central1, aws-us-east-1. Either pass the bare ID or supply a fully qualified name plus --location.search requires --source-cloud-location — the reference point you want results to be relative to (e.g. aws-us-east-1). Refine results with --query.--filter (list) vs --query (search). list supports the standard gcloud --filter expression language over location fields; search uses its own server-side --query string. Common fields seen in expressions: cloud_provider (CLOUD_PROVIDER_GCP, CLOUD_PROVIDER_AWS, …), cloud_location_type (CLOUD_LOCATION_TYPE_REGION, CLOUD_LOCATION_TYPE_ZONE, CLOUD_LOCATION_TYPE_GDCC_ZONE, …), display_name, and containing_cloud_location.list and search accept --page-size and --limit. --uri (list only) emits just resource URIs.# Table of provider, type and display name across all locations
gcloud cloudlocationfinder cloud-locations list \
--format="table(cloudProvider, cloudLocationType, displayName)"
There is no gcloud beta cloudlocationfinder surface. An alpha surface (gcloud alpha cloudlocationfinder) mirrors the same three commands (cloud-locations describe, list, search) and is where more advanced search/list query expressions tend to appear first. The underlying REST API also has a v1alpha version that adds an extraLocationTypes parameter to the location-list method. The whole product remains in Preview regardless of the CLI track.
list/search.cloudLocations resource (get, list, search).gcloud cloudlocationfinder command group.