Skip to content

Commit

Permalink
Merge pull request #3605 from googleapis/nodejs-access-approval-migra…
Browse files Browse the repository at this point in the history
…tion

migrate code from googleapis/nodejs-access-approval
  • Loading branch information
sofisl authored Nov 12, 2022
2 parents 83699c7 + ce2611e commit 6d26c07
Show file tree
Hide file tree
Showing 50 changed files with 33,041 additions and 0 deletions.
1 change: 1 addition & 0 deletions .release-please-manifest.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
{
"packages/gapic-node-templating": "0.0.0",
"packages/google-api-apikeys": "0.1.3",
"packages/google-cloud-accessapproval": "2.1.2",
"packages/google-cloud-apigeeconnect": "2.1.3",
"packages/google-cloud-asset": "4.5.0",
"packages/google-cloud-assuredworkloads": "3.5.0",
Expand Down
20 changes: 20 additions & 0 deletions packages/google-cloud-accessapproval/.OwlBot.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
# 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/accessapproval/(.*)/.*-nodejs
dest: /owl-bot-staging/google-cloud-accessapproval/$1
7 changes: 7 additions & 0 deletions packages/google-cloud-accessapproval/.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-accessapproval/.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-accessapproval/.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-accessapproval/.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-accessapproval/.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/access-approval',
theme: 'lumen',
default: {
outputSourceFiles: false
}
},
markdown: {
idInHeadings: true
}
};
29 changes: 29 additions & 0 deletions packages/google-cloud-accessapproval/.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-accessapproval/.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-accessapproval/.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-accessapproval/.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-accessapproval/.repo-metadata.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
{
"name": "accessapproval",
"name_pretty": "Access Approval",
"product_documentation": "https://cloud.google.com/cloud-provider-access-management/access-approval/docs",
"client_documentation": "https://cloud.google.com/nodejs/docs/reference/access-approval/latest",
"issue_tracker": "https://github.com/googleapis/google-cloud-node/issues",
"release_level": "stable",
"language": "nodejs",
"repo": "googleapis/google-cloud-node",
"distribution_name": "@google-cloud/access-approval",
"api_id": "accessapproval.googleapis.com",
"requires_billing": true,
"default_version": "v1",
"api_shortname": "accessapproval",
"library_type": "GAPIC_AUTO"
}
126 changes: 126 additions & 0 deletions packages/google-cloud-accessapproval/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,126 @@
# Changelog

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


### Bug Fixes

* **deps:** Use google-gax v3.5.2 ([#148](https://github.com/googleapis/nodejs-access-approval/issues/148)) ([b789799](https://github.com/googleapis/nodejs-access-approval/commit/b7897999b970ca291f268d313367a750d3a8971d))
* Preserve default values in x-goog-request-params header ([#141](https://github.com/googleapis/nodejs-access-approval/issues/141)) ([4642f13](https://github.com/googleapis/nodejs-access-approval/commit/4642f13b2f1b2931a3405069607f9331809605b6))
* Regenerated protos JS and TS definitions ([#151](https://github.com/googleapis/nodejs-access-approval/issues/151)) ([f1fd7d3](https://github.com/googleapis/nodejs-access-approval/commit/f1fd7d3257c3fd3b3c55914838c0f21480aab5dd))

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


### Bug Fixes

* Allow passing gax instance to client constructor ([#139](https://github.com/googleapis/nodejs-access-approval/issues/139)) ([896c016](https://github.com/googleapis/nodejs-access-approval/commit/896c0165305b11015a92c7a87c860e9bb7c2c2c6))
* Better support for fallback mode ([#135](https://github.com/googleapis/nodejs-access-approval/issues/135)) ([23d8d85](https://github.com/googleapis/nodejs-access-approval/commit/23d8d85d8d2ff53333fb5671a02230aaa0045223))
* Change import long to require ([#136](https://github.com/googleapis/nodejs-access-approval/issues/136)) ([87f5477](https://github.com/googleapis/nodejs-access-approval/commit/87f5477aa38f970d310a8d7e70b5f09d51e6d50c))
* Do not import the whole google-gax from proto JS ([#1553](https://github.com/googleapis/nodejs-access-approval/issues/1553)) ([#140](https://github.com/googleapis/nodejs-access-approval/issues/140)) ([2a9fb11](https://github.com/googleapis/nodejs-access-approval/commit/2a9fb11dfe110e5de78762fa86504d3eeb4046d0))
* Remove pip install statements ([#1546](https://github.com/googleapis/nodejs-access-approval/issues/1546)) ([#138](https://github.com/googleapis/nodejs-access-approval/issues/138)) ([8517413](https://github.com/googleapis/nodejs-access-approval/commit/851741340fca5036ea819c41cb1188b33a181c1c))

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


### Features

* support regapic LRO ([#130](https://github.com/googleapis/nodejs-access-approval/issues/130)) ([bd6e505](https://github.com/googleapis/nodejs-access-approval/commit/bd6e5057024a00800cf343e1715023744c42dca1))

## [2.0.0](https://github.com/googleapis/nodejs-access-approval/compare/v1.1.0...v2.0.0) (2022-06-03)


### ⚠ BREAKING CHANGES

* update library to use Node 12 (#124)

### Features

* update protos to include InvalidateApprovalRequest and GetAccessApprovalServiceAccount APIs ([#126](https://github.com/googleapis/nodejs-access-approval/issues/126)) ([02dfd2c](https://github.com/googleapis/nodejs-access-approval/commit/02dfd2c72e8a87ac3ffebeb40dfa68808b159234))


### Build System

* update library to use Node 12 ([#124](https://github.com/googleapis/nodejs-access-approval/issues/124)) ([8c04620](https://github.com/googleapis/nodejs-access-approval/commit/8c04620a20559f41b173be0add720d5e1dcd05f0))

## [1.1.0](https://www.github.com/googleapis/nodejs-access-approval/compare/v1.0.8...v1.1.0) (2021-08-23)


### Features

* turns on self-signed JWT feature flag ([#76](https://www.github.com/googleapis/nodejs-access-approval/issues/76)) ([42edf5a](https://www.github.com/googleapis/nodejs-access-approval/commit/42edf5aebbe0768f1f3cc44c1056b24fc3e2dd1e))

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


### Bug Fixes

* **deps:** google-gax v2.24.1 ([#74](https://www.github.com/googleapis/nodejs-access-approval/issues/74)) ([e83da9b](https://www.github.com/googleapis/nodejs-access-approval/commit/e83da9b6ffa6ea7f268fd31db64a33ea288e651f))

### [1.0.7](https://www.github.com/googleapis/nodejs-access-approval/compare/v1.0.6...v1.0.7) (2021-08-09)


### Bug Fixes

* **build:** migrate to using main branch ([#72](https://www.github.com/googleapis/nodejs-access-approval/issues/72)) ([7a3102f](https://www.github.com/googleapis/nodejs-access-approval/commit/7a3102f5a7f3d5097c4fb2c7f88e709bc4b14404))

### [1.0.6](https://www.github.com/googleapis/nodejs-access-approval/compare/v1.0.5...v1.0.6) (2021-07-16)


### Bug Fixes

* Updating WORKSPACE files to use the newest version of the Typescript generator. ([#64](https://www.github.com/googleapis/nodejs-access-approval/issues/64)) ([03f40c1](https://www.github.com/googleapis/nodejs-access-approval/commit/03f40c1f1bbbda37467dacf8748a89ac41993015))

### [1.0.5](https://www.github.com/googleapis/nodejs-access-approval/compare/v1.0.4...v1.0.5) (2021-07-12)


### Bug Fixes

* **deps:** google-gax v2.17.1 ([#62](https://www.github.com/googleapis/nodejs-access-approval/issues/62)) ([919c005](https://www.github.com/googleapis/nodejs-access-approval/commit/919c005a4a494cbf7af6df19b86494529ce41fb7))

### [1.0.4](https://www.github.com/googleapis/nodejs-access-approval/compare/v1.0.3...v1.0.4) (2021-06-29)


### Bug Fixes

* **deps:** google-gax v2.17.0 with mTLS ([#59](https://www.github.com/googleapis/nodejs-access-approval/issues/59)) ([08855e3](https://www.github.com/googleapis/nodejs-access-approval/commit/08855e3be2505aac0716e6ee02eb094eddd49880))

### [1.0.3](https://www.github.com/googleapis/nodejs-access-approval/compare/v1.0.2...v1.0.3) (2021-06-25)


### Bug Fixes

* make request optional in all cases ([#55](https://www.github.com/googleapis/nodejs-access-approval/issues/55)) ([a2a0987](https://www.github.com/googleapis/nodejs-access-approval/commit/a2a0987235e81e1c9ec0128b71865dfef2688658))

### [1.0.2](https://www.github.com/googleapis/nodejs-access-approval/compare/v1.0.1...v1.0.2) (2021-05-25)


### Bug Fixes

* GoogleAdsError missing using generator version after 1.3.0 ([#48](https://www.github.com/googleapis/nodejs-access-approval/issues/48)) ([0726b46](https://www.github.com/googleapis/nodejs-access-approval/commit/0726b46325079a0f8d9d942a4429ca80f6f3a2ab))

### [1.0.1](https://www.github.com/googleapis/nodejs-access-approval/compare/v1.0.0...v1.0.1) (2021-05-12)


### Bug Fixes

* **deps:** require google-gax v2.12.0 ([#40](https://www.github.com/googleapis/nodejs-access-approval/issues/40)) ([836a1a7](https://www.github.com/googleapis/nodejs-access-approval/commit/836a1a74d5819060d6525142867ea36ec1958398))
* use require() to load JSON protos ([#43](https://www.github.com/googleapis/nodejs-access-approval/issues/43)) ([2050080](https://www.github.com/googleapis/nodejs-access-approval/commit/2050080f681311b75258a5718810d49c586a1bfc))

## 1.0.0 (2021-01-06)


### ⚠ BREAKING CHANGES

* add initial samples (#5)
* initial stub of library

### Features

* add initial samples ([#5](https://www.github.com/googleapis/nodejs-access-approval/issues/5)) ([b717c70](https://www.github.com/googleapis/nodejs-access-approval/commit/b717c70be561244e8a8be950291c45187b026b0e))
* initial stub of library ([0d06d7d](https://www.github.com/googleapis/nodejs-access-approval/commit/0d06d7d01146af6522f81b61ca926d20c39e9987))


### Bug Fixes

* header ([f47f743](https://www.github.com/googleapis/nodejs-access-approval/commit/f47f7432d2dca856f39171ac5051b3bfd5858d19))
Loading

0 comments on commit 6d26c07

Please sign in to comment.