| name | gcloud-beyondcorp |
| description | BeyondCorp Enterprise (Chrome Enterprise Premium) via gcloud (`gcloud beyondcorp`). Manage Beyondcorp resources — operations, security-gateways. |
gcloud beyondcorp — BeyondCorp Enterprise (Chrome Enterprise Premium)
Overview
gcloud beyondcorp manages the Security Gateway resources of Google Cloud's BeyondCorp Enterprise zero-trust access platform (now branded Chrome Enterprise Premium). A security gateway proxies and routes traffic to internal, on-premises, or external applications based on user identity, device posture, and context — without a traditional VPN. Reach for it when you need to publish private or SaaS applications behind a context-aware, identity-driven gateway. The GA surface covers two groups: security-gateways (with a nested applications subgroup) and operations.
Quick reference — common workflows
1. Enable the API and create a security gateway
gcloud services enable beyondcorp.googleapis.com
gcloud beyondcorp security-gateways create my-gateway \
--location=global \
--display-name="My Security Gateway"
gcloud beyondcorp security-gateways create my-gateway \
--location=global \
--display-name="My Security Gateway" \
--async
gcloud beyondcorp operations list --location=global
2. List and describe security gateways
gcloud beyondcorp security-gateways list --location=global
gcloud beyondcorp security-gateways describe my-gateway \
--location=global
3. Register an application on a security gateway
gcloud beyondcorp security-gateways applications create my-app \
--security-gateway=my-gateway \
--location=global \
--display-name="My Application" \
--endpoint-matchers=hostname=myapp.internal.example.com,ports=[443]
gcloud beyondcorp security-gateways applications list \
--security-gateway=my-gateway \
--location=global
gcloud beyondcorp security-gateways applications describe my-app \
--security-gateway=my-gateway \
--location=global
4. Update a gateway and its regional hubs
gcloud beyondcorp security-gateways update my-gateway \
--location=global \
--display-name="Updated Gateway Name"
gcloud beyondcorp security-gateways update my-gateway \
--location=global \
--hubs='{"us-central1": {}}'
5. Manage IAM policy on a gateway or application
gcloud beyondcorp security-gateways get-iam-policy my-gateway \
--location=global \
--project=my-project-id
gcloud beyondcorp security-gateways set-iam-policy my-gateway policy.json \
--location=global
gcloud beyondcorp security-gateways applications get-iam-policy my-app \
--security-gateway=my-gateway \
--location=global \
--project=my-project-id
6. Delete an application and gateway
gcloud beyondcorp security-gateways applications delete my-app \
--security-gateway=my-gateway \
--location=global \
--validate-only
gcloud beyondcorp security-gateways applications delete my-app \
--security-gateway=my-gateway \
--location=global
gcloud beyondcorp security-gateways delete my-gateway \
--location=global
Command groups
| Group | Reference file | Commands | Description |
|---|
operations | operations.md | describe, list | Track long-running BeyondCorp operations |
security-gateways | security-gateways.md | create, delete, describe, list, update, get-iam-policy, set-iam-policy | Manage zero-trust security gateways |
security-gateways applications | security-gateways.md | create, delete, describe, list, update, get-iam-policy, set-iam-policy | Manage applications published behind a gateway |
Common flags & tips
beta / alpha
The brand surface is broader under beta/alpha than the GA gcloud beyondcorp:
gcloud beta beyondcorp adds the connector-based architecture:
app — connections, connectors, gateways, operations (App Connectors / App Connections for routing private and on-prem traffic).
client-connector (deprecated) — gateways and services for context-aware access to non-web apps.
security-gateways — same surface as GA.
gcloud alpha beyondcorp exposes only app (connections, connectors, operations); no security-gateways or client-connector. Alpha commands carry a "may change without notice" warning.
Summary: GA = security gateways only; beta adds the App Connector model; alpha = App Connectors/Connections only.
Official documentation
- Chrome Enterprise Premium docs home — product home for Zero Trust access, DLP, threat protection, and context-aware access (redirects to docs.cloud.google.com).
- Product overview — the three pillars: Data Loss Prevention, Threat Protection, Context-Aware Access.
- Manage a security gateway — create, update hubs, list, describe, and delete gateways and their applications.
- App Connector overview — securing non-Google-Cloud and on-prem apps via the connector model (beta/alpha
app surface).
- BeyondCorp IAM roles — predefined
roles/beyondcorp.* roles (admin, editor, viewer, subscriptionAdmin, subscriptionViewer).
- gcloud beyondcorp reference — full GA command and flag reference.