Upgrade gax dependency to 1.40.0. (#4534)
Upgrade gax dependency to 1.40.0. (#4534)

* Gax dependency upgrade

* Gax dependency upgrade

* code formatting fix

* Moving google-http-client-apache dependency to storage.

googleapis/java-core,googleapis/java-core,googleapis/java-core