بنقرة واحدة
gcloud-bq
BigQuery (Migration Service) via gcloud (`gcloud bq`). Manage Bq resources — migration-workflows.
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
القائمة
BigQuery (Migration Service) via gcloud (`gcloud bq`). Manage Bq resources — migration-workflows.
التثبيت باستخدام 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-bq |
| description | BigQuery (Migration Service) via gcloud (`gcloud bq`). Manage Bq resources — migration-workflows. |
Important:
gcloud bqis NOT the general-purpose BigQuery CLI. The full-featured BigQuery command-line tool —query,load,extract,mk,rm,show, etc. — is the separate, standalonebqcommand bundled with the Cloud SDK. It is entirely distinct fromgcloud bqand is invoked as plainbq ...(e.g.bq query,bq mk), notgcloud bq ....
The GA gcloud bq group is a small, focused surface that covers only BigQuery Migration
Service workflows via the migration-workflows subgroup (4 commands: create, delete,
describe, list). Reach for it when you are migrating an existing data warehouse (Redshift,
Teradata, Hive, Snowflake, etc.) to BigQuery and want to drive batch SQL translation and
migration tasks from a config file. For datasets, tables, jobs, and SQL translation via
gcloud, see the much broader gcloud alpha bq surface (see beta / alpha).
# Projects created after 2022-02-15 have this enabled automatically.
gcloud services enable bigquerymigration.googleapis.com
# Synchronously in EU (wait for completion)
gcloud bq migration-workflows create \
--location=EU \
--config-file=config_file.yaml \
--no-async
# Asynchronously in US (return immediately)
gcloud bq migration-workflows create \
--location=us \
--config-file=config_file.yaml \
--async
gcloud bq migration-workflows list --location=eu
# Sort by a field and cap the result count
gcloud bq migration-workflows list --location=us --sort-by=name --limit=20
# Fully-qualified resource name
gcloud bq migration-workflows describe \
projects/123/locations/eu/workflows/1234
# Or an ID plus an explicit location
gcloud bq migration-workflows describe 1234 --location=eu
# Fully-qualified resource name
gcloud bq migration-workflows delete \
projects/123/locations/eu/workflows/1234
# Or an ID plus an explicit location
gcloud bq migration-workflows delete 1234 --location=eu
gcloud services enable bigquerymigration.googleapis.com
gcloud bq migration-workflows create \
--location=us --config-file=my-migration-config.yaml --async
gcloud bq migration-workflows list --location=us
gcloud bq migration-workflows describe \
projects/123/locations/us/workflows/WORKFLOW_ID
gcloud bq migration-workflows delete \
projects/123/locations/us/workflows/WORKFLOW_ID
| Group | Reference file | Commands | Description |
|---|---|---|---|
bq migration-workflows | migration-workflows.md | 4 | manage Migration Workflow resources |
See index.md for a one-line index of all 4 GA commands.
--location is required for every command. Use the BigQuery region/multi-region the
workflow lives in (e.g. us, eu). The value is case-insensitive in the examples
(EU and eu both appear in the official help).describe / delete): pass either a fully-qualified resource name
(projects/PROJECT/locations/LOCATION/workflows/WORKFLOW_ID) — which sets project and
location implicitly — or a bare workflow ID together with --location (and --project
or the core/project property for the project).--async vs --no-async (create only): --async returns immediately; --no-async
(the default behaviour shown in the official example) blocks until the operation completes.--config-file (create only): path to the migration workflow YAML config that
defines the translation/migration tasks. There is no inline alternative — the config file
is required.migration-workflows list supports the standard gcloud paging/sorting flags
--filter, --limit, --page-size, --sort-by, and --uri.gcloud bq migration-workflows list --location=us --format="table(name, state)" or
--format=json. Use --uri to emit just the resource URIs for scripting.gcloud beta bq — same surface as GA: migration-workflows only (create, delete,
describe, list). The beta variants exist for testing pre-GA behaviour.
gcloud alpha bq — a significantly broader surface that is not in GA/beta:
alpha bq datasets — create, delete, describe, list, update, config exportalpha bq tables — copy, create, delete, describe, insert, list, show-rows, update, config exportalpha bq jobs — interact with and manage BigQuery jobsalpha bq migration-workflows — create, delete, describe, list (same as GA)alpha bq translation — translate SQL from a source dialect to GoogleSQL (invite-only early access)Run gcloud alpha bq --help to confirm current availability; alpha commands may change
without notice.