gcloud alpha compute shared-vpc

NAME
gcloud alpha compute shared-vpc - configure shared VPC
SYNOPSIS
gcloud alpha compute shared-vpcGROUP |COMMAND[GCLOUD_WIDE_FLAG]
DESCRIPTION
(ALPHA) Configure Shared VPC configurations.

For more information about Shared VPC, see theShared VPCdocumentation.

GCLOUD WIDE FLAGS
These flags are available to all commands:--help.

Run$gcloud help for details.

GROUPS
GROUP is one of the following:
associated-projects
(ALPHA) Configure associated projects for Shared VPC networking.
organizations
(ALPHA) Configure organizations for Shared VPC networking.
COMMANDS
COMMAND is one of the following:
disable
(ALPHA) Disable the given project as a shared VPC host.
enable
(ALPHA) Enable the given project as a shared VPC host.
get-host-project
(ALPHA) Get the shared VPC host project that the given project isassociated with.
list-associated-resources
(ALPHA) List the resources associated with the given shared VPChost project.
NOTES
This command is currently in alpha and might change without notice. If thiscommand fails with API permission errors despite specifying the correct project,you might be trying to access an API with an invitation-only early accessallowlist. These variants are also available:
gcloudcomputeshared-vpc
gcloudbetacomputeshared-vpc

Except as otherwise noted, the content of this page is licensed under theCreative Commons Attribution 4.0 License, and code samples are licensed under theApache 2.0 License. For details, see theGoogle Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2025-05-07 UTC.