spanner: allow user-agent to be passed in and not a hardcoded version #4761
Labels
api: spanner
Issues related to the Spanner API.
type: feature request
‘Nice-to-have’ improvement, new feature or different behavior or design.
We'd like to be able to pass in a user-agent from applications that build atop spanner-ruby (we are currently building an ORM plugin),
where ideally the final user-agent when set by us would be
Coming here from a report by @jiren on January 19th 2020, which I shall quote verbatim:
@odeke-em In ruby spanner this is not possible as per current implementation. Ruby spanner lib has hardcoded values.
lib_name: "gccl",
lib_version: Google::Cloud::Spanner::VERSION
Here is the file link,
google-cloud-ruby/google-cloud-spanner/lib/google/cloud/spanner/service.rb
Lines 54 to 55 in fe8f239
I think need to create an issue on spanner ruby.
This issue is to follow up with @jiren's report. /cc @skuruppu
The text was updated successfully, but these errors were encountered: