Hello ,
I am not sure if I got your query correctly , You need to ping "www.google.com" from your SRX sourcing an interface . If this is correct , you need to define a DNS under "edit system name-server " . To ping google you can issue the following command from SRX :
> ping www.google.com interface <interface name >