Print RUNNING instances IP ADDRESSES, using FILTER and FORMAT:
gcloud compute instances list --project gcpProjectName --filter="status:RUNNING AND name~^eu-" --flatten="networkInterfaces[].accessConfigs[]" --format="value(networkInterfaces.accessConfigs.natIP.basename())"
Bash