gcloud compute shared-vpc enable - enable the given project as a shared VPC host
gcloud compute shared-vpc enable PROJECT_ID [GCLOUD_WIDE_FLAG ...]
That is, after running this command, one can enable another project to use the VPC networks shared by this project.
To enable the project myproject as a shared VPC host, run:
$ gcloud compute shared-vpc enable myproject
- PROJECT_ID
ID for the project to enable as a shared VPC host
These flags are available to all commands: --access-token-file, --account, --billing-project, --configuration, --flags-file, --flatten, --format, --help, --impersonate-service-account, --log-http, --project, --quiet, --trace-token, --user-output-enabled, --verbosity.
Run $ gcloud help for details.
These variants are also available:
$ gcloud alpha compute shared-vpc enable
$ gcloud beta compute shared-vpc enable