Database instances should be configured so that they are not available over the public internet, but to internal compute resources which access them.
Public exposure of sensitive data
Remove public access from database instances
The following example will fail the google-sql-no-public-access check.
The following example will pass the google-sql-no-public-access check.