disablePublicIpAddresses property

bool? disablePublicIpAddresses
getter/setter pair

When set to true, disables public IP addresses for VMs.

If you disable public IP addresses, you must set up Private Google Access or Cloud NAT on your network. If you use Private Google Access and you use private.googleapis.com or restricted.googleapis.com for Container Registry and Artifact Registry, make sure that you set up DNS records for domains *.gcr.io and *.pkg.dev. Defaults to false (VMs have public IP addresses).

Optional.

Implementation

core.bool? disablePublicIpAddresses;