Skip to content

Commit

Permalink
Merge pull request #3563 from googleapis/nodejs-notebooks-migration
Browse files Browse the repository at this point in the history
migrate code from googleapis/nodejs-notebooks
  • Loading branch information
sofisl authored Nov 12, 2022
2 parents 6f50f66 + 32a966f commit 592cda2
Show file tree
Hide file tree
Showing 125 changed files with 115,618 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 @@ -29,6 +29,7 @@
"packages/google-cloud-language": "5.1.2",
"packages/google-cloud-memcache": "2.1.4",
"packages/google-cloud-monitoring": "3.0.3",
"packages/google-cloud-notebooks": "2.1.2",
"packages/google-cloud-osconfig": "2.1.2",
"packages/google-cloud-oslogin": "4.0.4",
"packages/google-cloud-phishingprotection": "3.0.6",
Expand Down
23 changes: 23 additions & 0 deletions packages/google-cloud-notebooks/.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/notebooks/(.*)/.*-nodejs
dest: /owl-bot-staging/google-cloud-notebooks/$1

begin-after-commit-hash: 8102fcde8b94671eecebe7ba1fc34be2faeba7b4

7 changes: 7 additions & 0 deletions packages/google-cloud-notebooks/.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-notebooks/.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-notebooks/.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-notebooks/.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-notebooks/.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/notebooks',
theme: 'lumen',
default: {
outputSourceFiles: false
}
},
markdown: {
idInHeadings: true
}
};
29 changes: 29 additions & 0 deletions packages/google-cloud-notebooks/.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-notebooks/.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-notebooks/.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-notebooks/.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')
}
17 changes: 17 additions & 0 deletions packages/google-cloud-notebooks/.repo-metadata.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
{
"repo": "googleapis/google-cloud-node",
"codeowner_team": "@googleapis/ml-apis",
"requires_billing": true,
"name": "notebooks",
"issue_tracker": "",
"client_documentation": "https://cloud.google.com/nodejs/docs/reference/notebooks/latest",
"language": "nodejs",
"release_level": "stable",
"product_documentation": "https://cloud.google.com/ai-platform/notebooks/docs",
"default_version": "v1",
"name_pretty": "AI Platform Notebooks",
"distribution_name": "@google-cloud/notebooks",
"api_id": "notebooks.googleapis.com",
"api_shortname": "notebooks",
"library_type": "GAPIC_AUTO"
}
149 changes: 149 additions & 0 deletions packages/google-cloud-notebooks/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,149 @@
# Changelog

## [2.1.2](https://github.com/googleapis/nodejs-notebooks/compare/v2.1.1...v2.1.2) (2022-11-11)


### Bug Fixes

* **deps:** Use google-gax v3.5.2 ([#174](https://github.com/googleapis/nodejs-notebooks/issues/174)) ([53ef94c](https://github.com/googleapis/nodejs-notebooks/commit/53ef94cba2356023c85ae8cf1812b64d8736ddfd))
* Preserve default values in x-goog-request-params header ([#167](https://github.com/googleapis/nodejs-notebooks/issues/167)) ([3bbba83](https://github.com/googleapis/nodejs-notebooks/commit/3bbba8390a8d40453ebae6f03aad6c1265ed6935))
* Regenerated protos JS and TS definitions ([#177](https://github.com/googleapis/nodejs-notebooks/issues/177)) ([085d2cc](https://github.com/googleapis/nodejs-notebooks/commit/085d2ccf4a2b8c20575e69ca8cb5680146ed0672))

## [2.1.1](https://github.com/googleapis/nodejs-notebooks/compare/v2.1.0...v2.1.1) (2022-09-01)


### Bug Fixes

* Allow passing gax instance to client constructor ([#163](https://github.com/googleapis/nodejs-notebooks/issues/163)) ([66090cb](https://github.com/googleapis/nodejs-notebooks/commit/66090cb78f638fb0a7e2c95c5ce7fb4146a2bd42))
* Better support for fallback mode ([#156](https://github.com/googleapis/nodejs-notebooks/issues/156)) ([51ca0cd](https://github.com/googleapis/nodejs-notebooks/commit/51ca0cd37591dc8b1ab1c79ae84216845ebd2d64))
* Change import long to require ([#158](https://github.com/googleapis/nodejs-notebooks/issues/158)) ([c774bcb](https://github.com/googleapis/nodejs-notebooks/commit/c774bcbc1957df9c60b608c6d96b3d9a090f30f3))
* Do not import the whole google-gax from proto JS ([#1553](https://github.com/googleapis/nodejs-notebooks/issues/1553)) ([#162](https://github.com/googleapis/nodejs-notebooks/issues/162)) ([284f924](https://github.com/googleapis/nodejs-notebooks/commit/284f92495e8a7ec4875988a48d6b3f2627f25eb2))
* Remove pip install statements ([#1546](https://github.com/googleapis/nodejs-notebooks/issues/1546)) ([#161](https://github.com/googleapis/nodejs-notebooks/issues/161)) ([6723a6b](https://github.com/googleapis/nodejs-notebooks/commit/6723a6ba01aad07b0775d33f3ccf7507986457bc))

## [2.1.0](https://github.com/googleapis/nodejs-notebooks/compare/v2.0.0...v2.1.0) (2022-06-30)


### Features

* support regapic LRO, add import for system tests ([#146](https://github.com/googleapis/nodejs-notebooks/issues/146)) ([be0c483](https://github.com/googleapis/nodejs-notebooks/commit/be0c48337e659cc1e1ce94069e25722b05de215b))

## [2.0.0](https://github.com/googleapis/nodejs-notebooks/compare/v1.3.1...v2.0.0) (2022-06-09)


### ⚠ BREAKING CHANGES

* update library to use Node 12 (#140)
* make v1 default service (#126)

### Features

* make v1 default service ([#126](https://github.com/googleapis/nodejs-notebooks/issues/126)) ([57b21a7](https://github.com/googleapis/nodejs-notebooks/commit/57b21a7926f2170afdb8536fb4ad14311ef70e90))


### Build System

* update library to use Node 12 ([#140](https://github.com/googleapis/nodejs-notebooks/issues/140)) ([9a2359e](https://github.com/googleapis/nodejs-notebooks/commit/9a2359e000b052950ddab5cead1db77868499e65))

### [1.3.1](https://www.github.com/googleapis/nodejs-notebooks/compare/v1.3.0...v1.3.1) (2021-09-09)


### Bug Fixes

* **build:** switch primary branch to main ([#89](https://www.github.com/googleapis/nodejs-notebooks/issues/89)) ([87276a1](https://www.github.com/googleapis/nodejs-notebooks/commit/87276a11f6410e5e6cb03c61c6e662c1bc92a063))

## [1.3.0](https://www.github.com/googleapis/nodejs-notebooks/compare/v1.2.0...v1.3.0) (2021-08-30)


### Features

* added support for Notebooks v1 ([#87](https://www.github.com/googleapis/nodejs-notebooks/issues/87)) ([81c1c83](https://www.github.com/googleapis/nodejs-notebooks/commit/81c1c83a056839971fc7ed4fd273343812c207b5))

## [1.2.0](https://www.github.com/googleapis/nodejs-notebooks/compare/v1.1.7...v1.2.0) (2021-08-23)


### Features

* turns on self-signed JWT feature flag ([#84](https://www.github.com/googleapis/nodejs-notebooks/issues/84)) ([9aacdd1](https://www.github.com/googleapis/nodejs-notebooks/commit/9aacdd13e029aeedb51a56664998e899078cebc4))

### [1.1.7](https://www.github.com/googleapis/nodejs-notebooks/compare/v1.1.6...v1.1.7) (2021-08-17)


### Bug Fixes

* **deps:** google-gax v2.24.1 ([#82](https://www.github.com/googleapis/nodejs-notebooks/issues/82)) ([e14dcb8](https://www.github.com/googleapis/nodejs-notebooks/commit/e14dcb83207e0e42534f6f81e862eacc0c209fc7))

### [1.1.6](https://www.github.com/googleapis/nodejs-notebooks/compare/v1.1.5...v1.1.6) (2021-07-21)


### Bug Fixes

* Updating WORKSPACE files to use the newest version of the Typescript generator. ([#74](https://www.github.com/googleapis/nodejs-notebooks/issues/74)) ([497f853](https://www.github.com/googleapis/nodejs-notebooks/commit/497f853592ede51ab126837bf7fc2860f3cd2c5f))

### [1.1.5](https://www.github.com/googleapis/nodejs-notebooks/compare/v1.1.4...v1.1.5) (2021-07-12)


### Bug Fixes

* **deps:** google-gax v2.17.1 ([#72](https://www.github.com/googleapis/nodejs-notebooks/issues/72)) ([95fb793](https://www.github.com/googleapis/nodejs-notebooks/commit/95fb7938435f2e77add1cd0bec4bf35bf524ba00))

### [1.1.4](https://www.github.com/googleapis/nodejs-notebooks/compare/v1.1.3...v1.1.4) (2021-07-01)


### Bug Fixes

* **deps:** google-gax v2.17.0 with mTLS ([#69](https://www.github.com/googleapis/nodejs-notebooks/issues/69)) ([d4d8d8d](https://www.github.com/googleapis/nodejs-notebooks/commit/d4d8d8dd5981fca6117417d2d259a28150e62a9a))

### [1.1.3](https://www.github.com/googleapis/nodejs-notebooks/compare/v1.1.2...v1.1.3) (2021-06-23)


### Bug Fixes

* make request optional in all cases ([#65](https://www.github.com/googleapis/nodejs-notebooks/issues/65)) ([ee49e2c](https://www.github.com/googleapis/nodejs-notebooks/commit/ee49e2c7f97aeee8ee0b1872a3f3d9416febfcd2))

### [1.1.2](https://www.github.com/googleapis/nodejs-notebooks/compare/v1.1.1...v1.1.2) (2021-06-07)


### Bug Fixes

* GoogleAdsError missing using generator version after 1.3.0 ([#58](https://www.github.com/googleapis/nodejs-notebooks/issues/58)) ([e85232e](https://www.github.com/googleapis/nodejs-notebooks/commit/e85232ee798d1de45dd13f4ba9d1d1e0982983c6))

### [1.1.1](https://www.github.com/googleapis/nodejs-notebooks/compare/v1.1.0...v1.1.1) (2021-05-12)


### Bug Fixes

* **deps:** require google-gax v2.12.0 ([#50](https://www.github.com/googleapis/nodejs-notebooks/issues/50)) ([06e8e1c](https://www.github.com/googleapis/nodejs-notebooks/commit/06e8e1cd2100e5a78c90be0e3b799b55a63dd5cd))
* use require() to load JSON protos ([#53](https://www.github.com/googleapis/nodejs-notebooks/issues/53)) ([5d38e0a](https://www.github.com/googleapis/nodejs-notebooks/commit/5d38e0a0c41450ea8ff5a8bf225d2c2db1ad79c3))

## [1.1.0](https://www.github.com/googleapis/nodejs-notebooks/compare/v1.0.2...v1.1.0) (2021-01-09)


### Features

* adds style enumeration ([#28](https://www.github.com/googleapis/nodejs-notebooks/issues/28)) ([5caf3c3](https://www.github.com/googleapis/nodejs-notebooks/commit/5caf3c38eaa8c0d27350d65a4710bb78b74b8450))

### [1.0.2](https://www.github.com/googleapis/nodejs-notebooks/compare/v1.0.1...v1.0.2) (2020-11-25)


### Bug Fixes

* **browser:** check for fetch on window ([#22](https://www.github.com/googleapis/nodejs-notebooks/issues/22)) ([9ef7f23](https://www.github.com/googleapis/nodejs-notebooks/commit/9ef7f235e134404a70ab95a96205d0bdf9610a85))

### [1.0.1](https://www.github.com/googleapis/nodejs-notebooks/compare/v1.0.0...v1.0.1) (2020-11-14)


### Bug Fixes

* export type for NotebookServiceClient ([#16](https://www.github.com/googleapis/nodejs-notebooks/issues/16)) ([a54fef9](https://www.github.com/googleapis/nodejs-notebooks/commit/a54fef99d2745b540f81421a2aff8c2f00bcf731))

## 1.0.0 (2020-09-03)


### ⚠ BREAKING CHANGES

* generation of @google-cloud/notebooks (#1)

### Features

* generation of @google-cloud/notebooks ([#1](https://www.github.com/googleapis/nodejs-notebooks/issues/1)) ([c02d503](https://www.github.com/googleapis/nodejs-notebooks/commit/c02d503970dc27bcc2fb20df86cb70760821cba0))
* initial files for launch ([5e7b097](https://www.github.com/googleapis/nodejs-notebooks/commit/5e7b0970a32a8803bed7450fcb854c05725a8d58))
Loading

0 comments on commit 592cda2

Please sign in to comment.