Does setting up sidecar egress rule affect transparent proxying of external traffic

I have a service foo which makes a bunch of 3rd party api calls. Also it needs to talk to another service bar within the same namespace. I want restrict foo's access to bar on the sidecar level (to conserve memory usgae) using sidecar configuration. Will this also restrict outgoing traffic to google.com ?

Found the answer here: https://istio.io/docs/reference/config/networking/sidecar/#OutboundTrafficPolicy-Mode