gcloud compute shared-vpc disable - disable the given project as a shared VPC host
gcloud compute shared-vpc disable PROJECT_ID [GCLOUD_WIDE_FLAG ...]
That is, after running this command, this project will not be able to share VPC networks to other projects.
To disable the project myproject as a shared VPC host, run:
$ gcloud compute shared-vpc disable myproject
- PROJECT_ID
ID for the project to disable 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 disable
$ gcloud beta compute shared-vpc disable