- NAME
-
- gcloud compute shared-vpc - configure shared VPC
- SYNOPSIS
-
-
gcloud compute shared-vpcGROUP|COMMAND[GCLOUD_WIDE_FLAG …]
-
- DESCRIPTION
- 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 - Configure associated projects for Shared VPC networking.
-
organizations - Configure organizations for Shared VPC networking.
-
- COMMANDS
-
is one of the following:COMMAND-
disable - Disable the given project as a shared VPC host.
-
enable - Enable the given project as a shared VPC host.
-
get-host-project - Get the shared VPC host project that the given project is associated with.
-
list-associated-resources - List the resources associated with the given shared VPC host project.
-
- NOTES
- These variants are also available:
gcloud alpha compute shared-vpcgcloud beta compute shared-vpcgcloud preview compute shared-vpc
gcloud 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.

