Skip to content

Commit

Permalink
Merge branch 'main' into nodejs-security-private-ca-migration
Browse files Browse the repository at this point in the history
  • Loading branch information
sofisl authored Nov 12, 2022
2 parents 7475a03 + a1d888c commit cc6e07b
Show file tree
Hide file tree
Showing 55 changed files with 35,976 additions and 0 deletions.
1 change: 1 addition & 0 deletions .release-please-manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@
"packages/google-cloud-datalabeling": "3.1.1",
"packages/google-cloud-dataplex": "2.2.2",
"packages/google-cloud-dataproc": "4.1.1",
"packages/google-cloud-dataqna": "2.0.2",
"packages/google-cloud-deploy": "2.2.2",
"packages/google-cloud-dialogflow": "5.3.0",
"packages/google-cloud-discoveryengine": "0.2.0",
Expand Down
23 changes: 23 additions & 0 deletions packages/google-cloud-dataqna/.OwlBot.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
# Copyright 2021 Google LLC
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.

deep-remove-regex:
- /owl-bot-staging

deep-copy-regex:
- source: /google/cloud/dataqna/(.*)/.*-nodejs
dest: /owl-bot-staging/google-cloud-dataqna/$1

begin-after-commit-hash: fb91803ccef5d7c695139b22788b309e2197856b

7 changes: 7 additions & 0 deletions packages/google-cloud-dataqna/.eslintignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
**/node_modules
**/coverage
test/fixtures
build/
docs/
protos/
samples/generated/
3 changes: 3 additions & 0 deletions packages/google-cloud-dataqna/.eslintrc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"extends": "./node_modules/gts"
}
4 changes: 4 additions & 0 deletions packages/google-cloud-dataqna/.gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
*.ts text eol=lf
*.js text eol=lf
protos/* linguist-generated
**/api-extractor.json linguist-language=JSON-with-Comments
14 changes: 14 additions & 0 deletions packages/google-cloud-dataqna/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
**/*.log
**/node_modules
.coverage
coverage
.nyc_output
docs/
out/
build/
system-test/secrets.js
system-test/*key.json
*.lock
.DS_Store
package-lock.json
__pycache__
55 changes: 55 additions & 0 deletions packages/google-cloud-dataqna/.jsdoc.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,55 @@
// Copyright 2022 Google LLC
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// https://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.
//
// ** This file is automatically generated by gapic-generator-typescript. **
// ** https://github.com/googleapis/gapic-generator-typescript **
// ** All changes to this file may be overwritten. **

'use strict';

module.exports = {
opts: {
readme: './README.md',
package: './package.json',
template: './node_modules/jsdoc-fresh',
recurse: true,
verbose: true,
destination: './docs/'
},
plugins: [
'plugins/markdown',
'jsdoc-region-tag'
],
source: {
excludePattern: '(^|\\/|\\\\)[._]',
include: [
'build/src',
'protos'
],
includePattern: '\\.js$'
},
templates: {
copyright: 'Copyright 2022 Google LLC',
includeDate: false,
sourceFiles: false,
systemName: '@google-cloud/data-qna',
theme: 'lumen',
default: {
outputSourceFiles: false
}
},
markdown: {
idInHeadings: true
}
};
29 changes: 29 additions & 0 deletions packages/google-cloud-dataqna/.mocharc.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
// Copyright 2022 Google LLC
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.
const config = {
"enable-source-maps": true,
"throw-deprecation": true,
"timeout": 10000,
"recursive": true
}
if (process.env.MOCHA_THROW_DEPRECATION === 'false') {
delete config['throw-deprecation'];
}
if (process.env.MOCHA_REPORTER) {
config.reporter = process.env.MOCHA_REPORTER;
}
if (process.env.MOCHA_REPORTER_OUTPUT) {
config['reporter-option'] = `output=${process.env.MOCHA_REPORTER_OUTPUT}`;
}
module.exports = config
24 changes: 24 additions & 0 deletions packages/google-cloud-dataqna/.nycrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
{
"report-dir": "./.coverage",
"reporter": ["text", "lcov"],
"exclude": [
"**/*-test",
"**/.coverage",
"**/apis",
"**/benchmark",
"**/conformance",
"**/docs",
"**/samples",
"**/scripts",
"**/protos",
"**/test",
"**/*.d.ts",
".jsdoc.js",
"**/.jsdoc.js",
"karma.conf.js",
"webpack-tests.config.js",
"webpack.config.js"
],
"exclude-after-remap": false,
"all": true
}
6 changes: 6 additions & 0 deletions packages/google-cloud-dataqna/.prettierignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
**/node_modules
**/coverage
test/fixtures
build/
docs/
protos/
17 changes: 17 additions & 0 deletions packages/google-cloud-dataqna/.prettierrc.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
// Copyright 2022 Google LLC
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// https://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.

module.exports = {
...require('gts/.prettierrc.json')
}
16 changes: 16 additions & 0 deletions packages/google-cloud-dataqna/.repo-metadata.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
{
"language": "nodejs",
"requires_billing": true,
"product_documentation": "https://cloud.google.com/bigquery/docs",
"repo": "googleapis/google-cloud-node",
"default_version": "v1alpha",
"name_pretty": "Data QnA",
"release_level": "preview",
"distribution_name": "@google-cloud/data-qna",
"name": "dataqna",
"client_documentation": "https://cloud.google.com/nodejs/docs/reference/data-qna/latest",
"api_id": "dataqna.googleapis.com",
"issue_tracker": "https://github.com/googleapis/google-cloud-node/issues",
"api_shortname": "dataqna",
"library_type": "GAPIC_AUTO"
}
111 changes: 111 additions & 0 deletions packages/google-cloud-dataqna/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,111 @@
# Changelog

## [2.0.2](https://github.com/googleapis/nodejs-data-qna/compare/v2.0.1...v2.0.2) (2022-11-10)


### Bug Fixes

* **deps:** Use google-gax v3.5.2 ([#133](https://github.com/googleapis/nodejs-data-qna/issues/133)) ([22faab9](https://github.com/googleapis/nodejs-data-qna/commit/22faab9ab9bcaee1c4bd71f7fce4ba8a1a824aa7))
* Preserve default values in x-goog-request-params header ([#127](https://github.com/googleapis/nodejs-data-qna/issues/127)) ([0bd099f](https://github.com/googleapis/nodejs-data-qna/commit/0bd099f012c187b567465812db08533cc624b755))
* Regenerated protos JS and TS definitions ([#136](https://github.com/googleapis/nodejs-data-qna/issues/136)) ([7f5f180](https://github.com/googleapis/nodejs-data-qna/commit/7f5f180f250a347dddb9fc95baaa2b5337e16fcf))

## [2.0.1](https://github.com/googleapis/nodejs-data-qna/compare/v2.0.0...v2.0.1) (2022-09-01)


### Bug Fixes

* Allow passing gax instance to client constructor ([#126](https://github.com/googleapis/nodejs-data-qna/issues/126)) ([8d03113](https://github.com/googleapis/nodejs-data-qna/commit/8d03113db0ef47a09691bbaede4f6234da55200b))
* Better support for fallback mode ([#122](https://github.com/googleapis/nodejs-data-qna/issues/122)) ([12947ca](https://github.com/googleapis/nodejs-data-qna/commit/12947cab0f97b89d0afc3bb7b84fb124322d9c60))
* Change import long to require ([#123](https://github.com/googleapis/nodejs-data-qna/issues/123)) ([9b0f93d](https://github.com/googleapis/nodejs-data-qna/commit/9b0f93dee65eda577fa0e7a1d159019dfeba7121))
* Do not import the whole google-gax from proto JS ([#1553](https://github.com/googleapis/nodejs-data-qna/issues/1553)) ([#125](https://github.com/googleapis/nodejs-data-qna/issues/125)) ([a408179](https://github.com/googleapis/nodejs-data-qna/commit/a408179604ce35e32d3d2233388777abdbba3d3b))
* **docs:** Document fallback rest option ([#118](https://github.com/googleapis/nodejs-data-qna/issues/118)) ([34380af](https://github.com/googleapis/nodejs-data-qna/commit/34380af413735866ab87d19a10e8edd9517a75de))
* Remove pip install statements ([#1546](https://github.com/googleapis/nodejs-data-qna/issues/1546)) ([#124](https://github.com/googleapis/nodejs-data-qna/issues/124)) ([54ca160](https://github.com/googleapis/nodejs-data-qna/commit/54ca16066ca21f6d3d990469044873beba4390e2))

## [2.0.0](https://github.com/googleapis/nodejs-data-qna/compare/v1.1.0...v2.0.0) (2022-06-10)


### ⚠ BREAKING CHANGES

* update library to use Node 12 (#112)

### Build System

* update library to use Node 12 ([#112](https://github.com/googleapis/nodejs-data-qna/issues/112)) ([7ff17f3](https://github.com/googleapis/nodejs-data-qna/commit/7ff17f3aaad5ad986b2b1432664424b14be3cfae))

## [1.1.0](https://www.github.com/googleapis/nodejs-data-qna/compare/v1.0.8...v1.1.0) (2021-09-13)


### Features

* turns on self-signed JWT feature flag ([#66](https://www.github.com/googleapis/nodejs-data-qna/issues/66)) ([aa0c29d](https://www.github.com/googleapis/nodejs-data-qna/commit/aa0c29d27dc464fa437ca9f412b162e13ed4531f))

### [1.0.8](https://www.github.com/googleapis/nodejs-data-qna/compare/v1.0.7...v1.0.8) (2021-08-17)


### Bug Fixes

* **build:** migrate to using main branch ([#63](https://www.github.com/googleapis/nodejs-data-qna/issues/63)) ([1020177](https://www.github.com/googleapis/nodejs-data-qna/commit/1020177e792a4deed38279fc6b9c74601262342f))
* **deps:** google-gax v2.24.1 ([#65](https://www.github.com/googleapis/nodejs-data-qna/issues/65)) ([f298787](https://www.github.com/googleapis/nodejs-data-qna/commit/f2987878347e3d3a1f56b70bb5794aada913f246))

### [1.0.7](https://www.github.com/googleapis/nodejs-data-qna/compare/v1.0.6...v1.0.7) (2021-07-21)


### Bug Fixes

* Updating WORKSPACE files to use the newest version of the Typescript generator. ([#55](https://www.github.com/googleapis/nodejs-data-qna/issues/55)) ([1fd0307](https://www.github.com/googleapis/nodejs-data-qna/commit/1fd0307ddd711128e4e4b31f2b8836095f1588db))

### [1.0.6](https://www.github.com/googleapis/nodejs-data-qna/compare/v1.0.5...v1.0.6) (2021-07-12)


### Bug Fixes

* **deps:** google-gax v2.17.1 ([#53](https://www.github.com/googleapis/nodejs-data-qna/issues/53)) ([977a8c3](https://www.github.com/googleapis/nodejs-data-qna/commit/977a8c3daf153a2e090a7e29780f498b4ec2ff20))

### [1.0.5](https://www.github.com/googleapis/nodejs-data-qna/compare/v1.0.4...v1.0.5) (2021-06-29)


### Bug Fixes

* **deps:** google-gax v2.17.0 with mTLS ([#50](https://www.github.com/googleapis/nodejs-data-qna/issues/50)) ([458d196](https://www.github.com/googleapis/nodejs-data-qna/commit/458d1966ee8cb9cdbe13357a5cb4f0f7549100df))

### [1.0.4](https://www.github.com/googleapis/nodejs-data-qna/compare/v1.0.3...v1.0.4) (2021-06-22)


### Bug Fixes

* make request optional in all cases ([#43](https://www.github.com/googleapis/nodejs-data-qna/issues/43)) ([0e4009b](https://www.github.com/googleapis/nodejs-data-qna/commit/0e4009b1fc0d63eed93071df2b9db891977be047))

### [1.0.3](https://www.github.com/googleapis/nodejs-data-qna/compare/v1.0.2...v1.0.3) (2021-05-25)


### Bug Fixes

* GoogleAdsError missing using generator version after 1.3.0 ([#36](https://www.github.com/googleapis/nodejs-data-qna/issues/36)) ([40c69dc](https://www.github.com/googleapis/nodejs-data-qna/commit/40c69dc32d2db3b871459dcec2e2b883fa866097))

### [1.0.2](https://www.github.com/googleapis/nodejs-data-qna/compare/v1.0.1...v1.0.2) (2021-05-12)


### Bug Fixes

* **deps:** require google-gax v2.12.0 ([#28](https://www.github.com/googleapis/nodejs-data-qna/issues/28)) ([df1e1cf](https://www.github.com/googleapis/nodejs-data-qna/commit/df1e1cfbe00985ec6d10418ebdef313b4601985a))
* use require() to load JSON protos ([#31](https://www.github.com/googleapis/nodejs-data-qna/issues/31)) ([1ab9737](https://www.github.com/googleapis/nodejs-data-qna/commit/1ab9737dc7901bfd397e8ea13682bc1a7e6d78cb))

### [1.0.1](https://www.github.com/googleapis/nodejs-data-qna/compare/v1.0.0...v1.0.1) (2021-01-22)


### Bug Fixes

* fix docs links ([#6](https://www.github.com/googleapis/nodejs-data-qna/issues/6)) ([48558f2](https://www.github.com/googleapis/nodejs-data-qna/commit/48558f2c18da5b404fc97aec6fd57ae17e0fb7c2))

## 1.0.0 (2020-12-17)


### ⚠ BREAKING CHANGES

* add samples to library (#1)
* initial library stub

### Features

* add samples to library ([#1](https://www.github.com/googleapis/nodejs-data-qna/issues/1)) ([35ad521](https://www.github.com/googleapis/nodejs-data-qna/commit/35ad521b43b896152c3652b3b265b66d6c66b9cd))
* initial library stub ([03b5a88](https://www.github.com/googleapis/nodejs-data-qna/commit/03b5a88d51e77dfb2c19d44d22e18db3135db9fb))
Loading

0 comments on commit cc6e07b

Please sign in to comment.