gcloud beta compute networks subnets

NAME
gcloud beta compute networks subnets - list, describe, and delete, and update Compute Engine subnetworks
SYNOPSIS
gcloud beta compute networks subnetsCOMMAND[GCLOUD_WIDE_FLAG]
DESCRIPTION
(BETA) 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.

COMMANDS
COMMAND is one of the following:
add-iam-policy-binding
(BETA) Add an IAM policy binding to a Compute Engine subnetwork.
create
(BETA) Define a subnet for a network in custom subnet mode.
delete
(BETA) Delete Google Cloud subnetworks.
describe
(BETA) Describe a Compute Engine subnetwork.
expand-ip-range
(BETA) Expand the IP range of a Compute Engine subnetwork.
get-iam-policy
(BETA) Get the IAM policy for a Compute Engine subnetwork.
list
(BETA) List Google Compute Engine subnetworks.
list-usable
(BETA) List Compute Engine subnetworks permitted for use.
remove-iam-policy-binding
(BETA) Remove an IAM policy binding from a Compute Enginesubnetwork.
set-iam-policy
(BETA) Set the IAM policy for a Compute Engine subnetwork.
update
(BETA) Updates properties of an existing Compute Engine subnetwork.
NOTES
This command is currently in beta and might change without notice. Thesevariants are also available:
gcloudcomputenetworkssubnets
gcloudalphacomputenetworkssubnets

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.