- gcloud alpha compute shared-vpc - configure shared VPC
gcloud alpha compute shared-vpc GROUP | COMMAND [GCLOUD_WIDE_FLAG ...]
(ALPHA) Configure shared VPC.
GCLOUD WIDE FLAGS
GROUP is one of the following:
(ALPHA) Configure associated projects for cross-project networking (XPN).
(ALPHA) Configure organizations for cross-project networking (XPN).
COMMAND is one of the following:
(ALPHA) Disable the given project as a shared VPC host.
(ALPHA) Enable the given project as a shared VPC host.
(ALPHA) Get the shared VPC host project that the given project is
(ALPHA) List the resources associated with the given shared VPC host
This command is currently in ALPHA and may change without notice. If this command fails with API permission errors despite specifying the right project, you will have to apply for early access and have your projects registered on the API whitelist to use it. To do so, contact Support at cloud.google.com/support These variants are also available:
- $ gcloud compute shared-vpc $ gcloud beta compute shared-vpc