Comments (3)
The User-Agent cannot be overridden. It identifies the library @google-cloud/bigquery
to the API servers. What is the reason you would need to change it?
from nodejs-bigquery.
From @kwent on October 6, 2017 20:54
Hi @stephenplusplus,
In order for Google to obtain usage insights while participating to the Google Cloud Technology Partners (https://cloud.google.com/partners/), they ask us to modify the User Agent compliant with RFC
(https://tools.ietf.org/html/rfc7231#section-5.5.3) matching our product name/version ...
Suggested format
"<prod_name>/ver (GPN:<company name>; <other comments>) <other prod>/ver "*
Example
"Product_A/1.1 (GPN:Partner_ABC; staging) Product_B/1.3
GoogleHTTPJavaClient/1.20.0"
We currently use in our product the bigquery nodejs library and are trying to figure out how could we make this happen.
Regards
from nodejs-bigquery.
I see now, thank you for explaining.
@lukesneeringer we currently write the U-A string ourselves, without allowing user input. How would you like us to address this issue?
from nodejs-bigquery.
Related Issues (20)
- Tables: copy multiple source tables to a given destination failed HOT 2
- setting GOOGLE_APPLICATION_CREDENTIALS break bigquery
- Authorized View Tutorial: should create an authorized view failed HOT 1
- Models: "before all" hook for "should retrieve a model if it exists" failed
- Queries: should run a query with legacy SQL and large results failed HOT 1
- Tables: should create failed HOT 1
- BigQuery BigQuery/Model: "before all" hook for "should get a list of models" failed
- BigQuery BigQuery/Model: "after all" hook for "should extract a model" failed
- JSON not a valid type for parameterized query
- PartialFailureError loading from storage lib instead of this lib HOT 2
- Table extract to gcs and keep the kmsKeyName HOT 1
- Querying on authorized view HOT 4
- 📦 pack-n-play test: TypeScript code failed HOT 1
- Support for IAM conditions in TypeScript types HOT 1
- 7.5.0 is a breaking change HOT 4
- Use Template Strings for GoogleSQL raw queries HOT 1
- Please update documentation to indicate which function calls, or if this entire package uses, legacy APIs
- Support for RANGE type
- Loading via write streams into Tables from Datasets with manually-specified project IDs returns invalid job
- GetRowsOptions Type Error for startIndex: Expects a string when it should expect a number HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from nodejs-bigquery.