I provisioned a new project and deployed a kafka cluster on the default network in GCP. The kafka cluster stood up fine.I am able to write messages to a test topic using the following command on the primary node:

You need to open the ports or create a VPN/SSH tunnel in order to access it remotely. Please also edit the Zookeeper and Kafka configurations as explained in the link to remove the local access restriction.