- NAME
-
- gcloud beta compute shared-vpc - configure shared VPC
- SYNOPSIS
-
-
gcloud beta compute shared-vpcGROUP|COMMAND[GCLOUD_WIDE_FLAG …]
-
- DESCRIPTION
-
(BETA)Configure Shared VPC configurations.For more information about Shared VPC, see the Shared VPC documentation .
- GCLOUD WIDE FLAGS
- These flags are available to all commands:
--help.Run
$ gcloud helpfor details. - GROUPS
-
is one of the following:GROUP-
associated-projects -
(BETA)Configure associated projects for Shared VPC networking. -
organizations -
(BETA)Configure organizations for Shared VPC networking.
-
- COMMANDS
-
is one of the following:COMMAND-
disable -
(BETA)Disable the given project as a shared VPC host. -
enable -
(BETA)Enable the given project as a shared VPC host. -
get-host-project -
(BETA)Get the shared VPC host project that the given project is associated with. -
list-associated-resources -
(BETA)List the resources associated with the given shared VPC host project.
-
- NOTES
- This command is currently in beta and might change without notice. These
variants are also available:
gcloud compute shared-vpcgcloud alpha compute shared-vpcgcloud preview compute shared-vpc
gcloud beta compute shared-vpc
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2026-05-27 UTC.

