Networks are created with one of two subnet modes, custom or auto. Networks using auto mode are created with one pre-configured subnet for each region. Subnets within a network must have non-overlapping IP address ranges, so auto mode provides a convenient way to avoid the need to carefully plan out subnet address ranges. Conversely, networks created in custom mode are created without subnets. This is useful in situations where teams want more control over the allocation of IP addresses within the network, such as when using many subnets within one region or using Google Cloud Interconnect.
Let's create two networks, one using the auto subnet mode and one with custom subnet mode. Creating networks requires the compute.networks.create ...