Big News: Socket raises $60M Series C at a $1B valuation to secure software supply chains for AI-driven development.Announcement
Sign In

@google-cloud/bigquery-connection

Package Overview
Dependencies
Maintainers
2
Versions
34
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@google-cloud/bigquery-connection - npm Package Compare versions

Comparing version
4.0.1
to
4.1.0
+27
-27
build/src/v1/connection_service_client.d.ts

@@ -141,3 +141,3 @@ import type * as gax from 'google-gax';

protos.google.cloud.bigquery.connection.v1.IConnection,
(protos.google.cloud.bigquery.connection.v1.ICreateConnectionRequest | undefined),
protos.google.cloud.bigquery.connection.v1.ICreateConnectionRequest | undefined,
{} | undefined

@@ -166,3 +166,3 @@ ]>;

protos.google.cloud.bigquery.connection.v1.IConnection,
(protos.google.cloud.bigquery.connection.v1.IGetConnectionRequest | undefined),
protos.google.cloud.bigquery.connection.v1.IGetConnectionRequest | undefined,
{} | undefined

@@ -196,3 +196,3 @@ ]>;

protos.google.cloud.bigquery.connection.v1.IConnection,
(protos.google.cloud.bigquery.connection.v1.IUpdateConnectionRequest | undefined),
protos.google.cloud.bigquery.connection.v1.IUpdateConnectionRequest | undefined,
{} | undefined

@@ -221,3 +221,3 @@ ]>;

protos.google.protobuf.IEmpty,
(protos.google.cloud.bigquery.connection.v1.IDeleteConnectionRequest | undefined),
protos.google.cloud.bigquery.connection.v1.IDeleteConnectionRequest | undefined,
{} | undefined

@@ -330,25 +330,25 @@ ]>;

/**
* Returns a list of connections in the given project.
*
* @param {Object} request
* The request object that will be sent.
* @param {string} request.parent
* Required. Parent resource name.
* Must be in the form: `projects/{project_id}/locations/{location_id}`
* @param {number} request.pageSize
* Required. Page size.
* @param {string} request.pageToken
* Page token.
* @param {object} [options]
* Call options. See {@link https://googleapis.dev/nodejs/google-gax/latest/interfaces/CallOptions.html|CallOptions} for more details.
* @returns {Promise} - The promise which resolves to an array.
* The first element of the array is Array of {@link protos.google.cloud.bigquery.connection.v1.Connection|Connection}.
* The client library will perform auto-pagination by default: it will call the API as many
* times as needed and will merge results from all the pages into this array.
* Note that it can affect your quota.
* We recommend using `listConnectionsAsync()`
* method described below for async iteration which you can stop as needed.
* Please see the {@link https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#auto-pagination | documentation }
* for more details and examples.
*/
* Returns a list of connections in the given project.
*
* @param {Object} request
* The request object that will be sent.
* @param {string} request.parent
* Required. Parent resource name.
* Must be in the form: `projects/{project_id}/locations/{location_id}`
* @param {number} request.pageSize
* Required. Page size.
* @param {string} request.pageToken
* Page token.
* @param {object} [options]
* Call options. See {@link https://googleapis.dev/nodejs/google-gax/latest/interfaces/CallOptions.html|CallOptions} for more details.
* @returns {Promise} - The promise which resolves to an array.
* The first element of the array is Array of {@link protos.google.cloud.bigquery.connection.v1.Connection|Connection}.
* The client library will perform auto-pagination by default: it will call the API as many
* times as needed and will merge results from all the pages into this array.
* Note that it can affect your quota.
* We recommend using `listConnectionsAsync()`
* method described below for async iteration which you can stop as needed.
* Please see the {@link https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#auto-pagination | documentation }
* for more details and examples.
*/
listConnections(request?: protos.google.cloud.bigquery.connection.v1.IListConnectionsRequest, options?: CallOptions): Promise<[

@@ -355,0 +355,0 @@ protos.google.cloud.bigquery.connection.v1.IConnection[],

@@ -99,15 +99,7 @@ "use strict";

const staticMembers = this.constructor;
if (opts?.universe_domain &&
opts?.universeDomain &&
opts?.universe_domain !== opts?.universeDomain) {
if (opts?.universe_domain && opts?.universeDomain && opts?.universe_domain !== opts?.universeDomain) {
throw new Error('Please set either universe_domain or universeDomain, but not both.');
}
const universeDomainEnvVar = typeof process === 'object' && typeof process.env === 'object'
? process.env['GOOGLE_CLOUD_UNIVERSE_DOMAIN']
: undefined;
this._universeDomain =
opts?.universeDomain ??
opts?.universe_domain ??
universeDomainEnvVar ??
'googleapis.com';
const universeDomainEnvVar = (typeof process === 'object' && typeof process.env === 'object') ? process.env['GOOGLE_CLOUD_UNIVERSE_DOMAIN'] : undefined;
this._universeDomain = opts?.universeDomain ?? opts?.universe_domain ?? universeDomainEnvVar ?? 'googleapis.com';
this._servicePath = 'bigqueryconnection.' + this._universeDomain;

@@ -118,4 +110,3 @@ const servicePath = opts?.servicePath || opts?.apiEndpoint || this._servicePath;

const clientConfig = opts?.clientConfig ?? {};
const fallback = opts?.fallback ??
(typeof window !== 'undefined' && typeof window?.fetch === 'function');
const fallback = opts?.fallback ?? (typeof window !== 'undefined' && typeof window?.fetch === 'function');
opts = Object.assign({ servicePath, port, clientConfig, fallback }, opts);

@@ -149,3 +140,6 @@ // Request numeric enum values if REST transport is used.

// Determine the client header string.
const clientHeader = [`gax/${this._gaxModule.version}`, `gapic/${version}`];
const clientHeader = [
`gax/${this._gaxModule.version}`,
`gapic/${version}`,
];
if (typeof process === 'object' && 'versions' in process) {

@@ -181,3 +175,3 @@ clientHeader.push(`gl-node/${process.versions.node}`);

this.descriptors.page = {
listConnections: new this._gaxModule.PageDescriptor('pageToken', 'nextPageToken', 'connections'),
listConnections: new this._gaxModule.PageDescriptor('pageToken', 'nextPageToken', 'connections')
};

@@ -211,19 +205,9 @@ // Put together the default options sent with requests.

// google.cloud.bigquery.connection.v1.ConnectionService.
this.connectionServiceStub = this._gaxGrpc.createStub(this._opts.fallback
? this._protos.lookupService('google.cloud.bigquery.connection.v1.ConnectionService')
: // eslint-disable-next-line @typescript-eslint/no-explicit-any
this._protos.google.cloud.bigquery.connection.v1
.ConnectionService, this._opts, this._providedCustomServicePath);
this.connectionServiceStub = this._gaxGrpc.createStub(this._opts.fallback ?
this._protos.lookupService('google.cloud.bigquery.connection.v1.ConnectionService') :
// eslint-disable-next-line @typescript-eslint/no-explicit-any
this._protos.google.cloud.bigquery.connection.v1.ConnectionService, this._opts, this._providedCustomServicePath);
// Iterate over each of the methods that the service provides
// and create an API call method for each.
const connectionServiceStubMethods = [
'createConnection',
'getConnection',
'listConnections',
'updateConnection',
'deleteConnection',
'getIamPolicy',
'setIamPolicy',
'testIamPermissions',
];
const connectionServiceStubMethods = ['createConnection', 'getConnection', 'listConnections', 'updateConnection', 'deleteConnection', 'getIamPolicy', 'setIamPolicy', 'testIamPermissions'];
for (const methodName of connectionServiceStubMethods) {

@@ -239,3 +223,4 @@ const callPromise = this.connectionServiceStub.then(stub => (...args) => {

});
const descriptor = this.descriptors.page[methodName] || undefined;
const descriptor = this.descriptors.page[methodName] ||
undefined;
const apiCall = this._gaxModule.createApiCall(callPromise, this._defaults[methodName], descriptor, this._opts.fallback);

@@ -252,4 +237,3 @@ this.innerApiCalls[methodName] = apiCall;

static get servicePath() {
if (typeof process === 'object' &&
typeof process.emitWarning === 'function') {
if (typeof process === 'object' && typeof process.emitWarning === 'function') {
process.emitWarning('Static servicePath is deprecated, please use the instance method instead.', 'DeprecationWarning');

@@ -265,4 +249,3 @@ }

static get apiEndpoint() {
if (typeof process === 'object' &&
typeof process.emitWarning === 'function') {
if (typeof process === 'object' && typeof process.emitWarning === 'function') {
process.emitWarning('Static apiEndpoint is deprecated, please use the instance method instead.', 'DeprecationWarning');

@@ -297,3 +280,3 @@ }

'https://www.googleapis.com/auth/bigquery',
'https://www.googleapis.com/auth/cloud-platform',
'https://www.googleapis.com/auth/cloud-platform'
];

@@ -325,9 +308,6 @@ }

options.otherArgs.headers = options.otherArgs.headers || {};
options.otherArgs.headers['x-goog-request-params'] =
this._gaxModule.routingHeader.fromParams({
parent: request.parent ?? '',
});
this.initialize().catch(err => {
throw err;
options.otherArgs.headers['x-goog-request-params'] = this._gaxModule.routingHeader.fromParams({
'parent': request.parent ?? '',
});
this.initialize().catch(err => { throw err; });
this._log.info('createConnection request %j', request);

@@ -340,7 +320,12 @@ const wrappedCallback = callback

: undefined;
return this.innerApiCalls
.createConnection(request, options, wrappedCallback)
return this.innerApiCalls.createConnection(request, options, wrappedCallback)
?.then(([response, options, rawResponse]) => {
this._log.info('createConnection response %j', response);
return [response, options, rawResponse];
}).catch((error) => {
if (error && 'statusDetails' in error && error.statusDetails instanceof Array) {
const protos = this._gaxModule.protobuf.Root.fromJSON(jsonProtos);
error.statusDetails = (0, google_gax_1.decodeAnyProtosInArray)(error.statusDetails, protos);
}
throw error;
});

@@ -361,9 +346,6 @@ }

options.otherArgs.headers = options.otherArgs.headers || {};
options.otherArgs.headers['x-goog-request-params'] =
this._gaxModule.routingHeader.fromParams({
name: request.name ?? '',
});
this.initialize().catch(err => {
throw err;
options.otherArgs.headers['x-goog-request-params'] = this._gaxModule.routingHeader.fromParams({
'name': request.name ?? '',
});
this.initialize().catch(err => { throw err; });
this._log.info('getConnection request %j', request);

@@ -376,7 +358,12 @@ const wrappedCallback = callback

: undefined;
return this.innerApiCalls
.getConnection(request, options, wrappedCallback)
return this.innerApiCalls.getConnection(request, options, wrappedCallback)
?.then(([response, options, rawResponse]) => {
this._log.info('getConnection response %j', response);
return [response, options, rawResponse];
}).catch((error) => {
if (error && 'statusDetails' in error && error.statusDetails instanceof Array) {
const protos = this._gaxModule.protobuf.Root.fromJSON(jsonProtos);
error.statusDetails = (0, google_gax_1.decodeAnyProtosInArray)(error.statusDetails, protos);
}
throw error;
});

@@ -397,9 +384,6 @@ }

options.otherArgs.headers = options.otherArgs.headers || {};
options.otherArgs.headers['x-goog-request-params'] =
this._gaxModule.routingHeader.fromParams({
name: request.name ?? '',
});
this.initialize().catch(err => {
throw err;
options.otherArgs.headers['x-goog-request-params'] = this._gaxModule.routingHeader.fromParams({
'name': request.name ?? '',
});
this.initialize().catch(err => { throw err; });
this._log.info('updateConnection request %j', request);

@@ -412,7 +396,12 @@ const wrappedCallback = callback

: undefined;
return this.innerApiCalls
.updateConnection(request, options, wrappedCallback)
return this.innerApiCalls.updateConnection(request, options, wrappedCallback)
?.then(([response, options, rawResponse]) => {
this._log.info('updateConnection response %j', response);
return [response, options, rawResponse];
}).catch((error) => {
if (error && 'statusDetails' in error && error.statusDetails instanceof Array) {
const protos = this._gaxModule.protobuf.Root.fromJSON(jsonProtos);
error.statusDetails = (0, google_gax_1.decodeAnyProtosInArray)(error.statusDetails, protos);
}
throw error;
});

@@ -433,9 +422,6 @@ }

options.otherArgs.headers = options.otherArgs.headers || {};
options.otherArgs.headers['x-goog-request-params'] =
this._gaxModule.routingHeader.fromParams({
name: request.name ?? '',
});
this.initialize().catch(err => {
throw err;
options.otherArgs.headers['x-goog-request-params'] = this._gaxModule.routingHeader.fromParams({
'name': request.name ?? '',
});
this.initialize().catch(err => { throw err; });
this._log.info('deleteConnection request %j', request);

@@ -448,7 +434,12 @@ const wrappedCallback = callback

: undefined;
return this.innerApiCalls
.deleteConnection(request, options, wrappedCallback)
return this.innerApiCalls.deleteConnection(request, options, wrappedCallback)
?.then(([response, options, rawResponse]) => {
this._log.info('deleteConnection response %j', response);
return [response, options, rawResponse];
}).catch((error) => {
if (error && 'statusDetails' in error && error.statusDetails instanceof Array) {
const protos = this._gaxModule.protobuf.Root.fromJSON(jsonProtos);
error.statusDetails = (0, google_gax_1.decodeAnyProtosInArray)(error.statusDetails, protos);
}
throw error;
});

@@ -469,9 +460,6 @@ }

options.otherArgs.headers = options.otherArgs.headers || {};
options.otherArgs.headers['x-goog-request-params'] =
this._gaxModule.routingHeader.fromParams({
resource: request.resource ?? '',
});
this.initialize().catch(err => {
throw err;
options.otherArgs.headers['x-goog-request-params'] = this._gaxModule.routingHeader.fromParams({
'resource': request.resource ?? '',
});
this.initialize().catch(err => { throw err; });
this._log.info('getIamPolicy request %j', request);

@@ -484,7 +472,12 @@ const wrappedCallback = callback

: undefined;
return this.innerApiCalls
.getIamPolicy(request, options, wrappedCallback)
return this.innerApiCalls.getIamPolicy(request, options, wrappedCallback)
?.then(([response, options, rawResponse]) => {
this._log.info('getIamPolicy response %j', response);
return [response, options, rawResponse];
}).catch((error) => {
if (error && 'statusDetails' in error && error.statusDetails instanceof Array) {
const protos = this._gaxModule.protobuf.Root.fromJSON(jsonProtos);
error.statusDetails = (0, google_gax_1.decodeAnyProtosInArray)(error.statusDetails, protos);
}
throw error;
});

@@ -505,9 +498,6 @@ }

options.otherArgs.headers = options.otherArgs.headers || {};
options.otherArgs.headers['x-goog-request-params'] =
this._gaxModule.routingHeader.fromParams({
resource: request.resource ?? '',
});
this.initialize().catch(err => {
throw err;
options.otherArgs.headers['x-goog-request-params'] = this._gaxModule.routingHeader.fromParams({
'resource': request.resource ?? '',
});
this.initialize().catch(err => { throw err; });
this._log.info('setIamPolicy request %j', request);

@@ -520,7 +510,12 @@ const wrappedCallback = callback

: undefined;
return this.innerApiCalls
.setIamPolicy(request, options, wrappedCallback)
return this.innerApiCalls.setIamPolicy(request, options, wrappedCallback)
?.then(([response, options, rawResponse]) => {
this._log.info('setIamPolicy response %j', response);
return [response, options, rawResponse];
}).catch((error) => {
if (error && 'statusDetails' in error && error.statusDetails instanceof Array) {
const protos = this._gaxModule.protobuf.Root.fromJSON(jsonProtos);
error.statusDetails = (0, google_gax_1.decodeAnyProtosInArray)(error.statusDetails, protos);
}
throw error;
});

@@ -541,9 +536,6 @@ }

options.otherArgs.headers = options.otherArgs.headers || {};
options.otherArgs.headers['x-goog-request-params'] =
this._gaxModule.routingHeader.fromParams({
resource: request.resource ?? '',
});
this.initialize().catch(err => {
throw err;
options.otherArgs.headers['x-goog-request-params'] = this._gaxModule.routingHeader.fromParams({
'resource': request.resource ?? '',
});
this.initialize().catch(err => { throw err; });
this._log.info('testIamPermissions request %j', request);

@@ -556,7 +548,12 @@ const wrappedCallback = callback

: undefined;
return this.innerApiCalls
.testIamPermissions(request, options, wrappedCallback)
return this.innerApiCalls.testIamPermissions(request, options, wrappedCallback)
?.then(([response, options, rawResponse]) => {
this._log.info('testIamPermissions response %j', response);
return [response, options, rawResponse];
}).catch((error) => {
if (error && 'statusDetails' in error && error.statusDetails instanceof Array) {
const protos = this._gaxModule.protobuf.Root.fromJSON(jsonProtos);
error.statusDetails = (0, google_gax_1.decodeAnyProtosInArray)(error.statusDetails, protos);
}
throw error;
});

@@ -577,9 +574,6 @@ }

options.otherArgs.headers = options.otherArgs.headers || {};
options.otherArgs.headers['x-goog-request-params'] =
this._gaxModule.routingHeader.fromParams({
parent: request.parent ?? '',
});
this.initialize().catch(err => {
throw err;
options.otherArgs.headers['x-goog-request-params'] = this._gaxModule.routingHeader.fromParams({
'parent': request.parent ?? '',
});
this.initialize().catch(err => { throw err; });
const wrappedCallback = callback

@@ -626,11 +620,8 @@ ? (error, values, nextPageRequest, rawResponse) => {

options.otherArgs.headers = options.otherArgs.headers || {};
options.otherArgs.headers['x-goog-request-params'] =
this._gaxModule.routingHeader.fromParams({
parent: request.parent ?? '',
});
options.otherArgs.headers['x-goog-request-params'] = this._gaxModule.routingHeader.fromParams({
'parent': request.parent ?? '',
});
const defaultCallSettings = this._defaults['listConnections'];
const callSettings = defaultCallSettings.merge(options);
this.initialize().catch(err => {
throw err;
});
this.initialize().catch(err => { throw err; });
this._log.info('listConnections stream %j', request);

@@ -669,11 +660,8 @@ return this.descriptors.page.listConnections.createStream(this.innerApiCalls.listConnections, request, callSettings);

options.otherArgs.headers = options.otherArgs.headers || {};
options.otherArgs.headers['x-goog-request-params'] =
this._gaxModule.routingHeader.fromParams({
parent: request.parent ?? '',
});
options.otherArgs.headers['x-goog-request-params'] = this._gaxModule.routingHeader.fromParams({
'parent': request.parent ?? '',
});
const defaultCallSettings = this._defaults['listConnections'];
const callSettings = defaultCallSettings.merge(options);
this.initialize().catch(err => {
throw err;
});
this.initialize().catch(err => { throw err; });
this._log.info('listConnections iterate %j', request);

@@ -753,4 +741,3 @@ return this.descriptors.page.listConnections.asyncIterate(this.innerApiCalls['listConnections'], request, callSettings);

matchProjectFromConnectionName(connectionName) {
return this.pathTemplates.connectionPathTemplate.match(connectionName)
.project;
return this.pathTemplates.connectionPathTemplate.match(connectionName).project;
}

@@ -765,4 +752,3 @@ /**

matchLocationFromConnectionName(connectionName) {
return this.pathTemplates.connectionPathTemplate.match(connectionName)
.location;
return this.pathTemplates.connectionPathTemplate.match(connectionName).location;
}

@@ -777,4 +763,3 @@ /**

matchConnectionFromConnectionName(connectionName) {
return this.pathTemplates.connectionPathTemplate.match(connectionName)
.connection;
return this.pathTemplates.connectionPathTemplate.match(connectionName).connection;
}

@@ -781,0 +766,0 @@ /**

@@ -140,3 +140,3 @@ import type * as gax from 'google-gax';

protos.google.cloud.bigquery.connection.v1beta1.IConnection,
(protos.google.cloud.bigquery.connection.v1beta1.ICreateConnectionRequest | undefined),
protos.google.cloud.bigquery.connection.v1beta1.ICreateConnectionRequest | undefined,
{} | undefined

@@ -165,3 +165,3 @@ ]>;

protos.google.cloud.bigquery.connection.v1beta1.IConnection,
(protos.google.cloud.bigquery.connection.v1beta1.IGetConnectionRequest | undefined),
protos.google.cloud.bigquery.connection.v1beta1.IGetConnectionRequest | undefined,
{} | undefined

@@ -194,3 +194,3 @@ ]>;

protos.google.cloud.bigquery.connection.v1beta1.IListConnectionsResponse,
(protos.google.cloud.bigquery.connection.v1beta1.IListConnectionsRequest | undefined),
protos.google.cloud.bigquery.connection.v1beta1.IListConnectionsRequest | undefined,
{} | undefined

@@ -224,3 +224,3 @@ ]>;

protos.google.cloud.bigquery.connection.v1beta1.IConnection,
(protos.google.cloud.bigquery.connection.v1beta1.IUpdateConnectionRequest | undefined),
protos.google.cloud.bigquery.connection.v1beta1.IUpdateConnectionRequest | undefined,
{} | undefined

@@ -251,3 +251,3 @@ ]>;

protos.google.protobuf.IEmpty,
(protos.google.cloud.bigquery.connection.v1beta1.IUpdateConnectionCredentialRequest | undefined),
protos.google.cloud.bigquery.connection.v1beta1.IUpdateConnectionCredentialRequest | undefined,
{} | undefined

@@ -276,3 +276,3 @@ ]>;

protos.google.protobuf.IEmpty,
(protos.google.cloud.bigquery.connection.v1beta1.IDeleteConnectionRequest | undefined),
protos.google.cloud.bigquery.connection.v1beta1.IDeleteConnectionRequest | undefined,
{} | undefined

@@ -279,0 +279,0 @@ ]>;

@@ -99,15 +99,7 @@ "use strict";

const staticMembers = this.constructor;
if (opts?.universe_domain &&
opts?.universeDomain &&
opts?.universe_domain !== opts?.universeDomain) {
if (opts?.universe_domain && opts?.universeDomain && opts?.universe_domain !== opts?.universeDomain) {
throw new Error('Please set either universe_domain or universeDomain, but not both.');
}
const universeDomainEnvVar = typeof process === 'object' && typeof process.env === 'object'
? process.env['GOOGLE_CLOUD_UNIVERSE_DOMAIN']
: undefined;
this._universeDomain =
opts?.universeDomain ??
opts?.universe_domain ??
universeDomainEnvVar ??
'googleapis.com';
const universeDomainEnvVar = (typeof process === 'object' && typeof process.env === 'object') ? process.env['GOOGLE_CLOUD_UNIVERSE_DOMAIN'] : undefined;
this._universeDomain = opts?.universeDomain ?? opts?.universe_domain ?? universeDomainEnvVar ?? 'googleapis.com';
this._servicePath = 'bigqueryconnection.' + this._universeDomain;

@@ -118,4 +110,3 @@ const servicePath = opts?.servicePath || opts?.apiEndpoint || this._servicePath;

const clientConfig = opts?.clientConfig ?? {};
const fallback = opts?.fallback ??
(typeof window !== 'undefined' && typeof window?.fetch === 'function');
const fallback = opts?.fallback ?? (typeof window !== 'undefined' && typeof window?.fetch === 'function');
opts = Object.assign({ servicePath, port, clientConfig, fallback }, opts);

@@ -149,3 +140,6 @@ // Request numeric enum values if REST transport is used.

// Determine the client header string.
const clientHeader = [`gax/${this._gaxModule.version}`, `gapic/${version}`];
const clientHeader = [
`gax/${this._gaxModule.version}`,
`gapic/${version}`,
];
if (typeof process === 'object' && 'versions' in process) {

@@ -202,20 +196,9 @@ clientHeader.push(`gl-node/${process.versions.node}`);

// google.cloud.bigquery.connection.v1beta1.ConnectionService.
this.connectionServiceStub = this._gaxGrpc.createStub(this._opts.fallback
? this._protos.lookupService('google.cloud.bigquery.connection.v1beta1.ConnectionService')
: // eslint-disable-next-line @typescript-eslint/no-explicit-any
this._protos.google.cloud.bigquery.connection.v1beta1
.ConnectionService, this._opts, this._providedCustomServicePath);
this.connectionServiceStub = this._gaxGrpc.createStub(this._opts.fallback ?
this._protos.lookupService('google.cloud.bigquery.connection.v1beta1.ConnectionService') :
// eslint-disable-next-line @typescript-eslint/no-explicit-any
this._protos.google.cloud.bigquery.connection.v1beta1.ConnectionService, this._opts, this._providedCustomServicePath);
// Iterate over each of the methods that the service provides
// and create an API call method for each.
const connectionServiceStubMethods = [
'createConnection',
'getConnection',
'listConnections',
'updateConnection',
'updateConnectionCredential',
'deleteConnection',
'getIamPolicy',
'setIamPolicy',
'testIamPermissions',
];
const connectionServiceStubMethods = ['createConnection', 'getConnection', 'listConnections', 'updateConnection', 'updateConnectionCredential', 'deleteConnection', 'getIamPolicy', 'setIamPolicy', 'testIamPermissions'];
for (const methodName of connectionServiceStubMethods) {

@@ -243,4 +226,3 @@ const callPromise = this.connectionServiceStub.then(stub => (...args) => {

static get servicePath() {
if (typeof process === 'object' &&
typeof process.emitWarning === 'function') {
if (typeof process === 'object' && typeof process.emitWarning === 'function') {
process.emitWarning('Static servicePath is deprecated, please use the instance method instead.', 'DeprecationWarning');

@@ -256,4 +238,3 @@ }

static get apiEndpoint() {
if (typeof process === 'object' &&
typeof process.emitWarning === 'function') {
if (typeof process === 'object' && typeof process.emitWarning === 'function') {
process.emitWarning('Static apiEndpoint is deprecated, please use the instance method instead.', 'DeprecationWarning');

@@ -288,3 +269,3 @@ }

'https://www.googleapis.com/auth/bigquery',
'https://www.googleapis.com/auth/cloud-platform',
'https://www.googleapis.com/auth/cloud-platform'
];

@@ -316,9 +297,6 @@ }

options.otherArgs.headers = options.otherArgs.headers || {};
options.otherArgs.headers['x-goog-request-params'] =
this._gaxModule.routingHeader.fromParams({
parent: request.parent ?? '',
});
this.initialize().catch(err => {
throw err;
options.otherArgs.headers['x-goog-request-params'] = this._gaxModule.routingHeader.fromParams({
'parent': request.parent ?? '',
});
this.initialize().catch(err => { throw err; });
this._log.info('createConnection request %j', request);

@@ -331,7 +309,12 @@ const wrappedCallback = callback

: undefined;
return this.innerApiCalls
.createConnection(request, options, wrappedCallback)
return this.innerApiCalls.createConnection(request, options, wrappedCallback)
?.then(([response, options, rawResponse]) => {
this._log.info('createConnection response %j', response);
return [response, options, rawResponse];
}).catch((error) => {
if (error && 'statusDetails' in error && error.statusDetails instanceof Array) {
const protos = this._gaxModule.protobuf.Root.fromJSON(jsonProtos);
error.statusDetails = (0, google_gax_1.decodeAnyProtosInArray)(error.statusDetails, protos);
}
throw error;
});

@@ -352,9 +335,6 @@ }

options.otherArgs.headers = options.otherArgs.headers || {};
options.otherArgs.headers['x-goog-request-params'] =
this._gaxModule.routingHeader.fromParams({
name: request.name ?? '',
});
this.initialize().catch(err => {
throw err;
options.otherArgs.headers['x-goog-request-params'] = this._gaxModule.routingHeader.fromParams({
'name': request.name ?? '',
});
this.initialize().catch(err => { throw err; });
this._log.info('getConnection request %j', request);

@@ -367,7 +347,12 @@ const wrappedCallback = callback

: undefined;
return this.innerApiCalls
.getConnection(request, options, wrappedCallback)
return this.innerApiCalls.getConnection(request, options, wrappedCallback)
?.then(([response, options, rawResponse]) => {
this._log.info('getConnection response %j', response);
return [response, options, rawResponse];
}).catch((error) => {
if (error && 'statusDetails' in error && error.statusDetails instanceof Array) {
const protos = this._gaxModule.protobuf.Root.fromJSON(jsonProtos);
error.statusDetails = (0, google_gax_1.decodeAnyProtosInArray)(error.statusDetails, protos);
}
throw error;
});

@@ -388,9 +373,6 @@ }

options.otherArgs.headers = options.otherArgs.headers || {};
options.otherArgs.headers['x-goog-request-params'] =
this._gaxModule.routingHeader.fromParams({
parent: request.parent ?? '',
});
this.initialize().catch(err => {
throw err;
options.otherArgs.headers['x-goog-request-params'] = this._gaxModule.routingHeader.fromParams({
'parent': request.parent ?? '',
});
this.initialize().catch(err => { throw err; });
this._log.info('listConnections request %j', request);

@@ -403,7 +385,12 @@ const wrappedCallback = callback

: undefined;
return this.innerApiCalls
.listConnections(request, options, wrappedCallback)
return this.innerApiCalls.listConnections(request, options, wrappedCallback)
?.then(([response, options, rawResponse]) => {
this._log.info('listConnections response %j', response);
return [response, options, rawResponse];
}).catch((error) => {
if (error && 'statusDetails' in error && error.statusDetails instanceof Array) {
const protos = this._gaxModule.protobuf.Root.fromJSON(jsonProtos);
error.statusDetails = (0, google_gax_1.decodeAnyProtosInArray)(error.statusDetails, protos);
}
throw error;
});

@@ -424,9 +411,6 @@ }

options.otherArgs.headers = options.otherArgs.headers || {};
options.otherArgs.headers['x-goog-request-params'] =
this._gaxModule.routingHeader.fromParams({
name: request.name ?? '',
});
this.initialize().catch(err => {
throw err;
options.otherArgs.headers['x-goog-request-params'] = this._gaxModule.routingHeader.fromParams({
'name': request.name ?? '',
});
this.initialize().catch(err => { throw err; });
this._log.info('updateConnection request %j', request);

@@ -439,7 +423,12 @@ const wrappedCallback = callback

: undefined;
return this.innerApiCalls
.updateConnection(request, options, wrappedCallback)
return this.innerApiCalls.updateConnection(request, options, wrappedCallback)
?.then(([response, options, rawResponse]) => {
this._log.info('updateConnection response %j', response);
return [response, options, rawResponse];
}).catch((error) => {
if (error && 'statusDetails' in error && error.statusDetails instanceof Array) {
const protos = this._gaxModule.protobuf.Root.fromJSON(jsonProtos);
error.statusDetails = (0, google_gax_1.decodeAnyProtosInArray)(error.statusDetails, protos);
}
throw error;
});

@@ -460,9 +449,6 @@ }

options.otherArgs.headers = options.otherArgs.headers || {};
options.otherArgs.headers['x-goog-request-params'] =
this._gaxModule.routingHeader.fromParams({
name: request.name ?? '',
});
this.initialize().catch(err => {
throw err;
options.otherArgs.headers['x-goog-request-params'] = this._gaxModule.routingHeader.fromParams({
'name': request.name ?? '',
});
this.initialize().catch(err => { throw err; });
this._log.info('updateConnectionCredential request %j', request);

@@ -475,7 +461,12 @@ const wrappedCallback = callback

: undefined;
return this.innerApiCalls
.updateConnectionCredential(request, options, wrappedCallback)
return this.innerApiCalls.updateConnectionCredential(request, options, wrappedCallback)
?.then(([response, options, rawResponse]) => {
this._log.info('updateConnectionCredential response %j', response);
return [response, options, rawResponse];
}).catch((error) => {
if (error && 'statusDetails' in error && error.statusDetails instanceof Array) {
const protos = this._gaxModule.protobuf.Root.fromJSON(jsonProtos);
error.statusDetails = (0, google_gax_1.decodeAnyProtosInArray)(error.statusDetails, protos);
}
throw error;
});

@@ -496,9 +487,6 @@ }

options.otherArgs.headers = options.otherArgs.headers || {};
options.otherArgs.headers['x-goog-request-params'] =
this._gaxModule.routingHeader.fromParams({
name: request.name ?? '',
});
this.initialize().catch(err => {
throw err;
options.otherArgs.headers['x-goog-request-params'] = this._gaxModule.routingHeader.fromParams({
'name': request.name ?? '',
});
this.initialize().catch(err => { throw err; });
this._log.info('deleteConnection request %j', request);

@@ -511,7 +499,12 @@ const wrappedCallback = callback

: undefined;
return this.innerApiCalls
.deleteConnection(request, options, wrappedCallback)
return this.innerApiCalls.deleteConnection(request, options, wrappedCallback)
?.then(([response, options, rawResponse]) => {
this._log.info('deleteConnection response %j', response);
return [response, options, rawResponse];
}).catch((error) => {
if (error && 'statusDetails' in error && error.statusDetails instanceof Array) {
const protos = this._gaxModule.protobuf.Root.fromJSON(jsonProtos);
error.statusDetails = (0, google_gax_1.decodeAnyProtosInArray)(error.statusDetails, protos);
}
throw error;
});

@@ -532,9 +525,6 @@ }

options.otherArgs.headers = options.otherArgs.headers || {};
options.otherArgs.headers['x-goog-request-params'] =
this._gaxModule.routingHeader.fromParams({
resource: request.resource ?? '',
});
this.initialize().catch(err => {
throw err;
options.otherArgs.headers['x-goog-request-params'] = this._gaxModule.routingHeader.fromParams({
'resource': request.resource ?? '',
});
this.initialize().catch(err => { throw err; });
this._log.info('getIamPolicy request %j', request);

@@ -547,7 +537,12 @@ const wrappedCallback = callback

: undefined;
return this.innerApiCalls
.getIamPolicy(request, options, wrappedCallback)
return this.innerApiCalls.getIamPolicy(request, options, wrappedCallback)
?.then(([response, options, rawResponse]) => {
this._log.info('getIamPolicy response %j', response);
return [response, options, rawResponse];
}).catch((error) => {
if (error && 'statusDetails' in error && error.statusDetails instanceof Array) {
const protos = this._gaxModule.protobuf.Root.fromJSON(jsonProtos);
error.statusDetails = (0, google_gax_1.decodeAnyProtosInArray)(error.statusDetails, protos);
}
throw error;
});

@@ -568,9 +563,6 @@ }

options.otherArgs.headers = options.otherArgs.headers || {};
options.otherArgs.headers['x-goog-request-params'] =
this._gaxModule.routingHeader.fromParams({
resource: request.resource ?? '',
});
this.initialize().catch(err => {
throw err;
options.otherArgs.headers['x-goog-request-params'] = this._gaxModule.routingHeader.fromParams({
'resource': request.resource ?? '',
});
this.initialize().catch(err => { throw err; });
this._log.info('setIamPolicy request %j', request);

@@ -583,7 +575,12 @@ const wrappedCallback = callback

: undefined;
return this.innerApiCalls
.setIamPolicy(request, options, wrappedCallback)
return this.innerApiCalls.setIamPolicy(request, options, wrappedCallback)
?.then(([response, options, rawResponse]) => {
this._log.info('setIamPolicy response %j', response);
return [response, options, rawResponse];
}).catch((error) => {
if (error && 'statusDetails' in error && error.statusDetails instanceof Array) {
const protos = this._gaxModule.protobuf.Root.fromJSON(jsonProtos);
error.statusDetails = (0, google_gax_1.decodeAnyProtosInArray)(error.statusDetails, protos);
}
throw error;
});

@@ -604,9 +601,6 @@ }

options.otherArgs.headers = options.otherArgs.headers || {};
options.otherArgs.headers['x-goog-request-params'] =
this._gaxModule.routingHeader.fromParams({
resource: request.resource ?? '',
});
this.initialize().catch(err => {
throw err;
options.otherArgs.headers['x-goog-request-params'] = this._gaxModule.routingHeader.fromParams({
'resource': request.resource ?? '',
});
this.initialize().catch(err => { throw err; });
this._log.info('testIamPermissions request %j', request);

@@ -619,7 +613,12 @@ const wrappedCallback = callback

: undefined;
return this.innerApiCalls
.testIamPermissions(request, options, wrappedCallback)
return this.innerApiCalls.testIamPermissions(request, options, wrappedCallback)
?.then(([response, options, rawResponse]) => {
this._log.info('testIamPermissions response %j', response);
return [response, options, rawResponse];
}).catch((error) => {
if (error && 'statusDetails' in error && error.statusDetails instanceof Array) {
const protos = this._gaxModule.protobuf.Root.fromJSON(jsonProtos);
error.statusDetails = (0, google_gax_1.decodeAnyProtosInArray)(error.statusDetails, protos);
}
throw error;
});

@@ -653,4 +652,3 @@ }

matchProjectFromConnectionName(connectionName) {
return this.pathTemplates.connectionPathTemplate.match(connectionName)
.project;
return this.pathTemplates.connectionPathTemplate.match(connectionName).project;
}

@@ -665,4 +663,3 @@ /**

matchLocationFromConnectionName(connectionName) {
return this.pathTemplates.connectionPathTemplate.match(connectionName)
.location;
return this.pathTemplates.connectionPathTemplate.match(connectionName).location;
}

@@ -677,4 +674,3 @@ /**

matchConnectionFromConnectionName(connectionName) {
return this.pathTemplates.connectionPathTemplate.match(connectionName)
.connection;
return this.pathTemplates.connectionPathTemplate.match(connectionName).connection;
}

@@ -681,0 +677,0 @@ /**

{
"name": "@google-cloud/bigquery-connection",
"version": "4.0.1",
"version": "4.1.0",
"description": "BigQuery Connection client for Node.js",

@@ -48,3 +48,3 @@ "repository": {

"dependencies": {
"google-gax": "^5.0.1-rc.0"
"google-gax": "^5.0.0"
},

@@ -59,3 +59,3 @@ "devDependencies": {

"jsdoc": "^4.0.4",
"jsdoc-fresh": "^3.0.0",
"jsdoc-fresh": "^4.0.0",
"jsdoc-region-tag": "^3.0.0",

@@ -66,3 +66,3 @@ "linkinator": "^6.1.2",

"pack-n-play": "^3.0.0",
"sinon": "^19.0.2",
"sinon": "^21.0.0",
"typescript": "^5.8.2"

@@ -69,0 +69,0 @@ },

@@ -47,3 +47,3 @@ [//]: # "This README.md file is auto-generated, all changes to this file will be lost."

1. [Enable the Google BigQuery Connection API][enable_api].
1. [Set up authentication with a service account][auth] so you can access the
1. [Set up authentication][auth] so you can access the
API from your local workstation.

@@ -180,2 +180,2 @@

[enable_api]: https://console.cloud.google.com/flows/enableapi?apiid=bigqueryconnection.googleapis.com
[auth]: https://cloud.google.com/docs/authentication/getting-started
[auth]: https://cloud.google.com/docs/authentication/external/set-up-adc-local
# Changelog
## [4.0.1](https://github.com/googleapis/google-cloud-node/compare/bigquery-connection-v4.0.0...bigquery-connection-v4.0.1) (2025-03-19)
### Bug Fixes
* [Many APIs] await/catch promises, and update listOperationsAsync return type ([#6183](https://github.com/googleapis/google-cloud-node/issues/6183)) ([f91c71f](https://github.com/googleapis/google-cloud-node/commit/f91c71f71c7a08ac17a15b7bb2233cbc041ee69b))
## [4.0.0](https://github.com/googleapis/google-cloud-node/compare/bigquery-connection-v3.3.0...bigquery-connection-v4.0.0) (2025-03-18)
### ⚠ BREAKING CHANGES
* upgrade to Node 18 ([#6096](https://github.com/googleapis/google-cloud-node/issues/6096))
### Features
* [Many APIs] add request/response debug logging to gapics, update templates to gax 5 ([32fff6f](https://github.com/googleapis/google-cloud-node/commit/32fff6f5e36a33729591a9ba531cc5de07f046cc))
### Miscellaneous Chores
* Upgrade to Node 18 ([#6096](https://github.com/googleapis/google-cloud-node/issues/6096)) ([eadae64](https://github.com/googleapis/google-cloud-node/commit/eadae64d54e07aa2c65097ea52e65008d4e87436))
## [3.3.0](https://github.com/googleapis/google-cloud-node/compare/bigquery-connection-v3.2.0...bigquery-connection-v3.3.0) (2024-05-21)
### Features
* [Many APIs] update Nodejs generator to send API versions in headers for GAPICs ([#5351](https://github.com/googleapis/google-cloud-node/issues/5351)) ([01f48fc](https://github.com/googleapis/google-cloud-node/commit/01f48fce63ec4ddf801d59ee2b8c0db9f6fb8372))
* [Many APIs] update Nodejs generator to send API versions in headers for GAPICs ([#5354](https://github.com/googleapis/google-cloud-node/issues/5354)) ([a9784ed](https://github.com/googleapis/google-cloud-node/commit/a9784ed3db6ee96d171762308bbbcd57390b6866))
## [3.2.0](https://github.com/googleapis/google-cloud-node/compare/bigquery-connection-v3.1.0...bigquery-connection-v3.2.0) (2024-03-29)
### Features
* [Many APIs] add several fields to manage state of database encryption update ([#5186](https://github.com/googleapis/google-cloud-node/issues/5186)) ([97c7951](https://github.com/googleapis/google-cloud-node/commit/97c7951481ef70d8f49c3d218f7c22ce00df9174))
## [3.1.0](https://github.com/googleapis/google-cloud-node/compare/bigquery-connection-v3.0.1...bigquery-connection-v3.1.0) (2024-02-09)
### Features
* Support for Trusted Private Cloud ([895830a](https://github.com/googleapis/google-cloud-node/commit/895830a3ef91666c30a96a7f68bd4cd1f582d58d))
## [3.0.1](https://github.com/googleapis/google-cloud-node/compare/bigquery-connection-v3.0.0...bigquery-connection-v3.0.1) (2023-09-06)
### Bug Fixes
* [Many APIs] simplify logic for HTTP/1.1 REST fallback option ([#4584](https://github.com/googleapis/google-cloud-node/issues/4584)) ([13537fc](https://github.com/googleapis/google-cloud-node/commit/13537fcd6e3c552199d5057daf3b00c24033c908))
## [3.0.0](https://github.com/googleapis/google-cloud-node/compare/bigquery-connection-v2.3.0...bigquery-connection-v3.0.0) (2023-08-06)
### ⚠ BREAKING CHANGES
* migrate to Node 14 ([#4443](https://github.com/googleapis/google-cloud-node/issues/4443))
### Bug Fixes
* [Many APIs] fix typings for IAM methods ([#4460](https://github.com/googleapis/google-cloud-node/issues/4460)) ([c32965c](https://github.com/googleapis/google-cloud-node/commit/c32965c0c4a5975ba37371ecd819d9cffb080aa5))
### Miscellaneous Chores
* Migrate to Node 14 ([#4443](https://github.com/googleapis/google-cloud-node/issues/4443)) ([2260f12](https://github.com/googleapis/google-cloud-node/commit/2260f12543d171bda95345e53475f5f0fdc45770))
## [2.3.0](https://github.com/googleapis/google-cloud-node/compare/bigquery-connection-v2.2.1...bigquery-connection-v2.3.0) (2023-07-11)
### Features
* [bigquery-connection] add support for Salesforce connections, which are usable only by allowlisted partners ([#4403](https://github.com/googleapis/google-cloud-node/issues/4403)) ([fd7489a](https://github.com/googleapis/google-cloud-node/commit/fd7489a04a291555c8c31ad615236486709b645e))
## [2.2.1](https://github.com/googleapis/google-cloud-node/compare/bigquery-connection-v2.2.0...bigquery-connection-v2.2.1) (2023-04-13)
### Bug Fixes
* **deps:** Bump `google-gax` to ^3.5.8 ([#4117](https://github.com/googleapis/google-cloud-node/issues/4117)) ([0b67d88](https://github.com/googleapis/google-cloud-node/commit/0b67d883963643ce1b4f6d2ccd3e8d37adf6e029))
* Minify JSON and JS files, and remove .map files ([#4143](https://github.com/googleapis/google-cloud-node/issues/4143)) ([170f7d5](https://github.com/googleapis/google-cloud-node/commit/170f7d57b8fd344d182a8e758867b8124722eebc))
## [2.2.0](https://github.com/googleapis/google-cloud-node/compare/bigquery-connection-v2.1.1...bigquery-connection-v2.2.0) (2023-03-28)
### Features
* [bigquery-connection] add spark connection properties type ([#4096](https://github.com/googleapis/google-cloud-node/issues/4096)) ([b7e6cad](https://github.com/googleapis/google-cloud-node/commit/b7e6cad1cb83d9b35063e12ffd81316f06537428))
## [2.1.1](https://github.com/googleapis/google-cloud-node/compare/bigquery-connection-v2.1.0...bigquery-connection-v2.1.1) (2023-02-15)
### Bug Fixes
* [Many APIs] changing format of the jsdoc links ([#3986](https://github.com/googleapis/google-cloud-node/issues/3986)) ([20f493c](https://github.com/googleapis/google-cloud-node/commit/20f493c94f7d6626d932b2610e00cbdd5df55f22))
## [2.1.0](https://github.com/googleapis/google-cloud-node/compare/bigquery-connection-v2.0.2...bigquery-connection-v2.1.0) (2023-01-28)
### Features
* Added Snooze API support ([#3832](https://github.com/googleapis/google-cloud-node/issues/3832)) ([f715797](https://github.com/googleapis/google-cloud-node/commit/f715797a46cdd2bf4dffc1a82378986941fd6d79))
## [2.0.2](https://github.com/googleapis/nodejs-bigquery-connection/compare/v2.0.1...v2.0.2) (2022-09-01)
### Bug Fixes
* Allow passing gax instance to client constructor ([#192](https://github.com/googleapis/nodejs-bigquery-connection/issues/192)) ([8c0ff4f](https://github.com/googleapis/nodejs-bigquery-connection/commit/8c0ff4ff10e8f8f2d680de15f703981a769d8e38))
* Do not import the whole google-gax from proto JS ([#1553](https://github.com/googleapis/nodejs-bigquery-connection/issues/1553)) ([#191](https://github.com/googleapis/nodejs-bigquery-connection/issues/191)) ([4442884](https://github.com/googleapis/nodejs-bigquery-connection/commit/4442884234d2e6e28659379534288839225c7091))
* Remove pip install statements ([#1546](https://github.com/googleapis/nodejs-bigquery-connection/issues/1546)) ([#189](https://github.com/googleapis/nodejs-bigquery-connection/issues/189)) ([f93111c](https://github.com/googleapis/nodejs-bigquery-connection/commit/f93111c57ebfb6527a14e7af017e2c7ce379dcb8))
## [2.0.1](https://github.com/googleapis/nodejs-bigquery-connection/compare/v2.0.0...v2.0.1) (2022-08-23)
### Bug Fixes
* better support for fallback mode ([#187](https://github.com/googleapis/nodejs-bigquery-connection/issues/187)) ([e4dec92](https://github.com/googleapis/nodejs-bigquery-connection/commit/e4dec92bf2dacdedca084095283bab2393f295ed))
* **docs:** document fallback rest option ([#183](https://github.com/googleapis/nodejs-bigquery-connection/issues/183)) ([777accf](https://github.com/googleapis/nodejs-bigquery-connection/commit/777accfa5875cbe8e6e20ec33f96140cf179532a))
* update google-gax and remove obsolete deps ([#1545](https://github.com/googleapis/nodejs-bigquery-connection/issues/1545)) ([#188](https://github.com/googleapis/nodejs-bigquery-connection/issues/188)) ([e829fc6](https://github.com/googleapis/nodejs-bigquery-connection/commit/e829fc63f6c492ae78b35cc16c3a224021cf2bb2))
## [2.0.0](https://github.com/googleapis/nodejs-bigquery-connection/compare/v1.5.1...v2.0.0) (2022-06-09)
### ⚠ BREAKING CHANGES
* update library to use Node 12 (#177)
### Features
* Add Cloud_Resource Connection Support ([#162](https://github.com/googleapis/nodejs-bigquery-connection/issues/162)) ([afc2727](https://github.com/googleapis/nodejs-bigquery-connection/commit/afc272726d3600f425faca2a8b5bf22a6a24314c))
* AuditConfig for IAM v1 ([#166](https://github.com/googleapis/nodejs-bigquery-connection/issues/166)) ([53bec44](https://github.com/googleapis/nodejs-bigquery-connection/commit/53bec4434eaec4ffba927554f8cee14b45a3c646))
### Build System
* update library to use Node 12 ([#177](https://github.com/googleapis/nodejs-bigquery-connection/issues/177)) ([b034adf](https://github.com/googleapis/nodejs-bigquery-connection/commit/b034adfbd415d1138d5921b51434d28819990cee))
### [1.5.1](https://www.github.com/googleapis/nodejs-bigquery-connection/compare/v1.5.0...v1.5.1) (2021-09-27)
### Bug Fixes
* **deps:** google-gax v2.24.1 ([#123](https://www.github.com/googleapis/nodejs-bigquery-connection/issues/123)) ([2112f0a](https://www.github.com/googleapis/nodejs-bigquery-connection/commit/2112f0a9fe594c5cac19f79dd554ea3b232aae45))
## [1.5.0](https://www.github.com/googleapis/nodejs-bigquery-connection/compare/v1.4.2...v1.5.0) (2021-09-13)
### Features
* turns on self-signed JWT feature flag ([#124](https://www.github.com/googleapis/nodejs-bigquery-connection/issues/124)) ([fd91176](https://www.github.com/googleapis/nodejs-bigquery-connection/commit/fd91176a1b7a2c93b68137e66198f93fea8fe939))
### [1.4.2](https://www.github.com/googleapis/nodejs-bigquery-connection/compare/v1.4.1...v1.4.2) (2021-08-11)
### Bug Fixes
* **build:** migrate to using main branch ([#121](https://www.github.com/googleapis/nodejs-bigquery-connection/issues/121)) ([b01f5d9](https://www.github.com/googleapis/nodejs-bigquery-connection/commit/b01f5d9be2bb8574218c25efe4afc4bea8535cf4))
### [1.4.1](https://www.github.com/googleapis/nodejs-bigquery-connection/compare/v1.4.0...v1.4.1) (2021-07-21)
### Bug Fixes
* Updating WORKSPACE files to use the newest version of the Typescript generator. ([#112](https://www.github.com/googleapis/nodejs-bigquery-connection/issues/112)) ([9a2b5bb](https://www.github.com/googleapis/nodejs-bigquery-connection/commit/9a2b5bb9796be07bd13ca886061f30151c5ba235))
## [1.4.0](https://www.github.com/googleapis/nodejs-bigquery-connection/compare/v1.3.5...v1.4.0) (2021-07-14)
### Features
* add cloud spanner connection support ([#110](https://www.github.com/googleapis/nodejs-bigquery-connection/issues/110)) ([18924ba](https://www.github.com/googleapis/nodejs-bigquery-connection/commit/18924bade9c347ca3775ace87dc140743aea4a86))
### [1.3.5](https://www.github.com/googleapis/nodejs-bigquery-connection/compare/v1.3.4...v1.3.5) (2021-07-12)
### Bug Fixes
* **deps:** google-gax v2.17.1 ([#108](https://www.github.com/googleapis/nodejs-bigquery-connection/issues/108)) ([b94f6e6](https://www.github.com/googleapis/nodejs-bigquery-connection/commit/b94f6e69c6984ef5180f64e25eb5576d35471573))
### [1.3.4](https://www.github.com/googleapis/nodejs-bigquery-connection/compare/v1.3.3...v1.3.4) (2021-07-01)
### Bug Fixes
* **deps:** require google-gax v2.17.0 ([#104](https://www.github.com/googleapis/nodejs-bigquery-connection/issues/104)) ([a03eb4b](https://www.github.com/googleapis/nodejs-bigquery-connection/commit/a03eb4b9be4dac6e3cfc7d2ceb169dcff80617ef))
### [1.3.3](https://www.github.com/googleapis/nodejs-bigquery-connection/compare/v1.3.2...v1.3.3) (2021-06-22)
### Bug Fixes
* make request optional in all cases ([#98](https://www.github.com/googleapis/nodejs-bigquery-connection/issues/98)) ([779e30b](https://www.github.com/googleapis/nodejs-bigquery-connection/commit/779e30b0fbd9b2c1ed7b826c41d17e679d3d60db))
### [1.3.2](https://www.github.com/googleapis/nodejs-bigquery-connection/compare/v1.3.1...v1.3.2) (2021-06-10)
### Bug Fixes
* GoogleAdsError missing using generator version after 1.3.0 ([#89](https://www.github.com/googleapis/nodejs-bigquery-connection/issues/89)) ([dca26bf](https://www.github.com/googleapis/nodejs-bigquery-connection/commit/dca26bfe396c852e9c7e7481105b8d7387ed1977))
### [1.3.1](https://www.github.com/googleapis/nodejs-bigquery-connection/compare/v1.3.0...v1.3.1) (2021-05-12)
### Bug Fixes
* **deps:** require google-gax v2.12.0 ([#81](https://www.github.com/googleapis/nodejs-bigquery-connection/issues/81)) ([4613348](https://www.github.com/googleapis/nodejs-bigquery-connection/commit/46133486a55dc2a4d8f75bae748898397df31714))
* use require() to load JSON protos ([#84](https://www.github.com/googleapis/nodejs-bigquery-connection/issues/84)) ([00b0814](https://www.github.com/googleapis/nodejs-bigquery-connection/commit/00b0814beadc47856a58c2fea3d9f651f343245b))
## [1.3.0](https://www.github.com/googleapis/nodejs-bigquery-connection/compare/v1.2.2...v1.3.0) (2021-01-09)
### Features
* introduce style enumeration ([#60](https://www.github.com/googleapis/nodejs-bigquery-connection/issues/60)) ([44b7182](https://www.github.com/googleapis/nodejs-bigquery-connection/commit/44b7182422254a6267eef8b59271a09796503720))
### [1.2.2](https://www.github.com/googleapis/nodejs-bigquery-connection/compare/v1.2.1...v1.2.2) (2020-12-04)
### Bug Fixes
* **deps:** roll back dependency @google-cloud/bigquery-connection to ^1.2.0 ([#52](https://www.github.com/googleapis/nodejs-bigquery-connection/issues/52)) ([14f9872](https://www.github.com/googleapis/nodejs-bigquery-connection/commit/14f9872f2175791f663ccfb6511d2d3e408f4151))
### [1.2.1](https://www.github.com/googleapis/nodejs-bigquery-connection/compare/v1.2.0...v1.2.1) (2020-11-25)
### Bug Fixes
* **browser:** check for fetch on window ([5413d69](https://www.github.com/googleapis/nodejs-bigquery-connection/commit/5413d694d4b70eb338a17a5eb4a682f1673abfee))
* do not modify options object, use defaultScopes ([#46](https://www.github.com/googleapis/nodejs-bigquery-connection/issues/46)) ([07244e4](https://www.github.com/googleapis/nodejs-bigquery-connection/commit/07244e4c6375bdbee47db6c7a2b018594c9b34e5))
## [1.2.0](https://www.github.com/googleapis/nodejs-bigquery-connection/compare/v1.1.0...v1.2.0) (2020-10-17)
### Features
* add aws connection support ([#33](https://www.github.com/googleapis/nodejs-bigquery-connection/issues/33)) ([13fecb8](https://www.github.com/googleapis/nodejs-bigquery-connection/commit/13fecb87d0191a4654f14604164072570f640dc6))
## [1.1.0](https://www.github.com/googleapis/nodejs-bigquery-connection/compare/v1.0.0...v1.1.0) (2020-08-10)
### Features
* add/correct PHP namespace for BigQuery connection/reservation ([#26](https://www.github.com/googleapis/nodejs-bigquery-connection/issues/26)) ([39313b9](https://www.github.com/googleapis/nodejs-bigquery-connection/commit/39313b930e12a20203d137058899479ca83d51d5))
## 1.0.0 (2020-07-09)
### Features
* generate v1 ([6ef8fcb](https://www.github.com/googleapis/nodejs-bigquery-connection/commit/6ef8fcbc9b50f7ccef429347841968fe41ad60cf))
* generate v1 ([9125a52](https://www.github.com/googleapis/nodejs-bigquery-connection/commit/9125a52480f9259e959a6a4ce706fb574b74ae0a))
* generate v1 ([f054c74](https://www.github.com/googleapis/nodejs-bigquery-connection/commit/f054c743a5529831a5993fc0e9eb9efbeccae0cb))

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display