gcloud alpha compute networks subnets

NAME
gcloud alpha compute networks subnets - list, describe, and delete, and update Compute Engine subnetworks
SYNOPSIS
gcloud alpha compute networks subnetsGROUP |COMMAND[GCLOUD_WIDE_FLAG]
DESCRIPTION
(ALPHA) Read and manipulate VPC subnetworks.

For more information about VPC, see theVPC documentation.

See also:SubnetworksAPI.

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

Run$gcloud help for details.

GROUPS
GROUP is one of the following:
config
(ALPHA) Manage Compute Engine subnetwork configurations.
COMMANDS
COMMAND is one of the following:
add-iam-policy-binding
(ALPHA) Add IAM policy binding to a Compute Engine subnetwork.
create
(ALPHA) Define a subnet for a network in custom subnet mode.
delete
(ALPHA) Delete Google Cloud subnetworks.
describe
(ALPHA) Describe a Compute Engine subnetwork.
expand-ip-range
(ALPHA) Expand the IP range of a Compute Engine subnetwork.
get-iam-policy
(ALPHA) Get the IAM policy for a Compute Engine subnetwork.
list
(ALPHA) List Google Compute Engine subnetworks.
list-usable
(ALPHA) List Compute Engine subnetworks permitted for use.
remove-iam-policy-binding
(ALPHA) Remove IAM policy binding from a Compute Engine subnetwork.
set-iam-policy
(ALPHA) Set the IAM policy for a Compute Engine subnetwork.
update
(ALPHA) Updates properties of an existing Compute Enginesubnetwork.
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:
gcloudcomputenetworkssubnets
gcloudbetacomputenetworkssubnets

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.