Add `user_agent` property to `ClientInfo` (#7799)

* Add `user_agent` property to `ClientInfo`

This provides a way for partners to define a prefix identifying their
tool or application, as required by many cloud partnership agreements.

* Workaround for pytype pyi error with nested class.
3 files changed