nodejs-bigquery icon indicating copy to clipboard operation
nodejs-bigquery copied to clipboard

Add `JWTInput` as a valid type of the options for `BigQuery` constructor

Open IvanaGyro opened this issue 2 years ago • 0 comments

Thanks for stopping by to let us know something could be better!

PLEASE READ: If you have a support contract with Google, please create an issue in the support console instead of filing on GitHub. This will ensure a timely response.

  1. Is this a client library issue or a product issue? client library

  2. Did someone already solve this? No

  3. Do you have a support contract? No

If the support paths suggested above still do not result in a resolution, please provide the following details.

Environment details

  • OS: Windows WSL (Ubuntu 22.04)
  • Node.js version: 18.15.0
  • npm version: yarn v1.22.19
  • @google-cloud/bigquery version: 6.2.0

Steps to reproduce

In the example of user auth, an object passed to BigQuery's constructor is not defined in the type definition of this repository. I found there is a similar type JWTInput defined in google-auth-library-nodejs. Can JWTInput be added as a member of BigQueryOptions to make the logic implementation consistent with the type definition?

IvanaGyro avatar Apr 03 '23 22:04 IvanaGyro