-
Notifications
You must be signed in to change notification settings - Fork 597
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge remote-tracking branch 'migration/main' into nodejs-org-policy-…
…migration
- Loading branch information
Showing
47 changed files
with
30,781 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
**/node_modules | ||
**/coverage | ||
test/fixtures | ||
build/ | ||
docs/ | ||
protos/ | ||
samples/generated/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
{ | ||
"extends": "./node_modules/gts" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
# 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. | ||
docker: | ||
image: gcr.io/cloud-devrel-public-resources/owlbot-nodejs:latest | ||
|
||
deep-remove-regex: | ||
- /owl-bot-staging | ||
|
||
deep-copy-regex: | ||
- source: /google/cloud/orgpolicy/(.*)/.*-nodejs/(.*) | ||
dest: /owl-bot-staging/$1/$2 | ||
|
||
begin-after-commit-hash: fb91803ccef5d7c695139b22788b309e2197856b | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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__ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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/org-policy', | ||
theme: 'lumen', | ||
default: { | ||
outputSourceFiles: false | ||
} | ||
}, | ||
markdown: { | ||
idInHeadings: true | ||
} | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
// Copyright 2020 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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
**/node_modules | ||
**/coverage | ||
test/fixtures | ||
build/ | ||
docs/ | ||
protos/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
// Copyright 2020 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') | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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/resource-manager/docs/organization-policy/overview", | ||
"repo": "googleapis/nodejs-org-policy", | ||
"default_version": "v2", | ||
"name_pretty": "Organization Policy", | ||
"release_level": "stable", | ||
"distribution_name": "@google-cloud/org-policy", | ||
"name": "org-policy", | ||
"client_documentation": "https://cloud.google.com/nodejs/docs/reference/org-policy/latest", | ||
"api_id": "orgpolicy.googleapis.com", | ||
"issue_tracker": "https://github.com/googleapis/nodejs-org-policy/issues", | ||
"api_shortname": "orgpolicy", | ||
"library_type": "GAPIC_AUTO" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,135 @@ | ||
# Changelog | ||
|
||
## [2.0.3](https://github.com/googleapis/nodejs-org-policy/compare/v2.0.2...v2.0.3) (2022-11-11) | ||
|
||
|
||
### Bug Fixes | ||
|
||
* Allow passing gax instance to client constructor ([#126](https://github.com/googleapis/nodejs-org-policy/issues/126)) ([c7147d4](https://github.com/googleapis/nodejs-org-policy/commit/c7147d40a9ed114ec42997d49c2f5dfcff948aad)) | ||
* **deps:** Use google-gax v3.5.2 ([#134](https://github.com/googleapis/nodejs-org-policy/issues/134)) ([0f1bfb0](https://github.com/googleapis/nodejs-org-policy/commit/0f1bfb0007ade736c2ec91f32ff187c80b2d6761)) | ||
* Do not import the whole google-gax from proto JS ([#1553](https://github.com/googleapis/nodejs-org-policy/issues/1553)) ([#125](https://github.com/googleapis/nodejs-org-policy/issues/125)) ([068b0a5](https://github.com/googleapis/nodejs-org-policy/commit/068b0a55fe805cedab9e66f62071c8be56f465ed)) | ||
* Preserve default values in x-goog-request-params header ([#128](https://github.com/googleapis/nodejs-org-policy/issues/128)) ([3f80014](https://github.com/googleapis/nodejs-org-policy/commit/3f80014a3c75311555df6cfde8470ae1f72a686f)) | ||
* Regenerated protos JS and TS definitions ([#137](https://github.com/googleapis/nodejs-org-policy/issues/137)) ([1606459](https://github.com/googleapis/nodejs-org-policy/commit/1606459c847f2ed945dccc8e43d57d273fac7ea9)) | ||
* use google-gax v3.3.0 ([068b0a5](https://github.com/googleapis/nodejs-org-policy/commit/068b0a55fe805cedab9e66f62071c8be56f465ed)) | ||
|
||
## [2.0.2](https://github.com/googleapis/nodejs-org-policy/compare/v2.0.1...v2.0.2) (2022-08-23) | ||
|
||
|
||
### Bug Fixes | ||
|
||
* better support for fallback mode ([#121](https://github.com/googleapis/nodejs-org-policy/issues/121)) ([16843cd](https://github.com/googleapis/nodejs-org-policy/commit/16843cde09ec1a5c8d106995da2300216f593ea9)) | ||
* change import long to require ([#122](https://github.com/googleapis/nodejs-org-policy/issues/122)) ([6ecde2c](https://github.com/googleapis/nodejs-org-policy/commit/6ecde2c561576546b6b214dfcb3a4bd8e31814d8)) | ||
* remove pip install statements ([#1546](https://github.com/googleapis/nodejs-org-policy/issues/1546)) ([#124](https://github.com/googleapis/nodejs-org-policy/issues/124)) ([e894016](https://github.com/googleapis/nodejs-org-policy/commit/e894016082069fe0b87403977ac830df588b1ac8)) | ||
|
||
## [2.0.1](https://github.com/googleapis/nodejs-org-policy/compare/v2.0.0...v2.0.1) (2022-06-30) | ||
|
||
|
||
### Bug Fixes | ||
|
||
* **docs:** describe fallback rest option ([#115](https://github.com/googleapis/nodejs-org-policy/issues/115)) ([c54a19b](https://github.com/googleapis/nodejs-org-policy/commit/c54a19be2c28a298906ee5b451cc2180951ce1f4)) | ||
|
||
## [2.0.0](https://github.com/googleapis/nodejs-org-policy/compare/v1.1.2...v2.0.0) (2022-05-20) | ||
|
||
|
||
### ⚠ BREAKING CHANGES | ||
|
||
* Update library to use Node 12 | ||
* update library to use Node 12 (#108) | ||
|
||
### Build System | ||
|
||
* update library to use Node 12 ([#108](https://github.com/googleapis/nodejs-org-policy/issues/108)) ([310e83f](https://github.com/googleapis/nodejs-org-policy/commit/310e83ffe6f8c09ead2d4b82c01ec29aa09a6b6b)) | ||
|
||
|
||
### *build | ||
|
||
* Update library to use Node 12 ([310e83f](https://github.com/googleapis/nodejs-org-policy/commit/310e83ffe6f8c09ead2d4b82c01ec29aa09a6b6b)) | ||
|
||
### [1.1.2](https://github.com/googleapis/nodejs-org-policy/compare/v1.1.1...v1.1.2) (2022-02-16) | ||
|
||
|
||
### Bug Fixes | ||
|
||
* deprecate AlternativePolicySpec ([#90](https://github.com/googleapis/nodejs-org-policy/issues/90)) ([f25e613](https://github.com/googleapis/nodejs-org-policy/commit/f25e61305d09c3b5215e203bb36753568bb53d0a)) | ||
|
||
### [1.1.1](https://www.github.com/googleapis/nodejs-org-policy/compare/v1.1.0...v1.1.1) (2021-09-09) | ||
|
||
|
||
### Bug Fixes | ||
|
||
* **build:** switch primary branch to main ([#60](https://www.github.com/googleapis/nodejs-org-policy/issues/60)) ([b15a6d6](https://www.github.com/googleapis/nodejs-org-policy/commit/b15a6d675382145f2a270d24ee456f8400dd2a99)) | ||
|
||
## [1.1.0](https://www.github.com/googleapis/nodejs-org-policy/compare/v1.0.7...v1.1.0) (2021-08-23) | ||
|
||
|
||
### Features | ||
|
||
* turns on self-signed JWT feature flag ([#56](https://www.github.com/googleapis/nodejs-org-policy/issues/56)) ([79c838f](https://www.github.com/googleapis/nodejs-org-policy/commit/79c838f5666f033942c4c2d4b65fac32e074a871)) | ||
|
||
### [1.0.7](https://www.github.com/googleapis/nodejs-org-policy/compare/v1.0.6...v1.0.7) (2021-08-17) | ||
|
||
|
||
### Bug Fixes | ||
|
||
* **deps:** google-gax v2.24.1 ([#54](https://www.github.com/googleapis/nodejs-org-policy/issues/54)) ([a833560](https://www.github.com/googleapis/nodejs-org-policy/commit/a83356087f9ac4e51a031eeb13f536d9f30e2946)) | ||
|
||
### [1.0.6](https://www.github.com/googleapis/nodejs-org-policy/compare/v1.0.5...v1.0.6) (2021-07-16) | ||
|
||
|
||
### Bug Fixes | ||
|
||
* Updating WORKSPACE files to use the newest version of the Typescript generator. ([#46](https://www.github.com/googleapis/nodejs-org-policy/issues/46)) ([d63afc5](https://www.github.com/googleapis/nodejs-org-policy/commit/d63afc5cf696d28498e272e94f63f1706d2f7f00)) | ||
|
||
### [1.0.5](https://www.github.com/googleapis/nodejs-org-policy/compare/v1.0.4...v1.0.5) (2021-07-12) | ||
|
||
|
||
### Bug Fixes | ||
|
||
* **deps:** google-gax v2.17.1 ([#44](https://www.github.com/googleapis/nodejs-org-policy/issues/44)) ([3e76c8d](https://www.github.com/googleapis/nodejs-org-policy/commit/3e76c8d8e3255b2fef3d17c7ab79b25da599d0c7)) | ||
|
||
### [1.0.4](https://www.github.com/googleapis/nodejs-org-policy/compare/v1.0.3...v1.0.4) (2021-06-30) | ||
|
||
|
||
### Bug Fixes | ||
|
||
* **deps:** google-gax v2.17.0 with mTLS ([#41](https://www.github.com/googleapis/nodejs-org-policy/issues/41)) ([e5b7d66](https://www.github.com/googleapis/nodejs-org-policy/commit/e5b7d66e9284bb2f7ac14bb1196fc05f7c7f1bc4)) | ||
|
||
### [1.0.3](https://www.github.com/googleapis/nodejs-org-policy/compare/v1.0.2...v1.0.3) (2021-06-25) | ||
|
||
|
||
### Bug Fixes | ||
|
||
* make request optional in all cases ([#37](https://www.github.com/googleapis/nodejs-org-policy/issues/37)) ([4129413](https://www.github.com/googleapis/nodejs-org-policy/commit/4129413f5cb8a6efd6bc205a337d0a69549920d0)) | ||
|
||
### [1.0.2](https://www.github.com/googleapis/nodejs-org-policy/compare/v1.0.1...v1.0.2) (2021-05-25) | ||
|
||
|
||
### Bug Fixes | ||
|
||
* GoogleAdsError missing using generator version after 1.3.0 ([#30](https://www.github.com/googleapis/nodejs-org-policy/issues/30)) ([8df94f7](https://www.github.com/googleapis/nodejs-org-policy/commit/8df94f7fb7ef3b47924048c878ea9827b3db1236)) | ||
|
||
### [1.0.1](https://www.github.com/googleapis/nodejs-org-policy/compare/v1.0.0...v1.0.1) (2021-05-12) | ||
|
||
|
||
### Bug Fixes | ||
|
||
* **deps:** require google-gax v2.12.0 ([#22](https://www.github.com/googleapis/nodejs-org-policy/issues/22)) ([6cedadc](https://www.github.com/googleapis/nodejs-org-policy/commit/6cedadc06a04f7ab6fe0f9c0610ad4caef9be2d6)) | ||
* use require() to load JSON protos ([#25](https://www.github.com/googleapis/nodejs-org-policy/issues/25)) ([56ff04c](https://www.github.com/googleapis/nodejs-org-policy/commit/56ff04c79de8be8a6d7554732b5e92d37a08440c)) | ||
|
||
## 1.0.0 (2021-02-24) | ||
|
||
|
||
### ⚠ BREAKING CHANGES | ||
|
||
* initial stub of library | ||
|
||
### Features | ||
|
||
* add tests and samples to library ([9815c45](https://www.github.com/googleapis/nodejs-org-policy/commit/9815c4580cd4cac10a54d44823463955a96cd1dc)) | ||
* initial stub of library ([e4747f7](https://www.github.com/googleapis/nodejs-org-policy/commit/e4747f7250d3ef8ea50c9d7422e7c8f2788435b2)) | ||
|
||
|
||
### Bug Fixes | ||
|
||
* name ([6e75f44](https://www.github.com/googleapis/nodejs-org-policy/commit/6e75f441b9edc089c98694f1a44c68aec97c1674)) | ||
* naming ([73587b3](https://www.github.com/googleapis/nodejs-org-policy/commit/73587b3be98fae59645ec4c71de25322a2002f40)) |
Oops, something went wrong.