Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

migrate code from googleapis/nodejs-phishing-protection #3406

Merged
merged 217 commits into from
Oct 13, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
217 commits
Select commit Hold shift + click to select a range
5633d74
chore: initial commit of phishing-protection
bcoe May 8, 2019
2ecbbde
feat: initial release of library
bcoe May 23, 2019
3b7b13e
build: get build passing and improve integration tests (#3)
bcoe May 23, 2019
1fb1295
chore: release 1.0.0 (#4)
yoshi-automation May 23, 2019
308e1aa
feat: support apiEndpoint override in client constructor (#7)
yoshi-automation Jun 6, 2019
a63e07b
chore: release 1.1.0 (#8)
yoshi-automation Jun 6, 2019
dfd78a6
fix(docs): move to new client docs URL (#9)
bcoe Jun 13, 2019
f6bbd4e
chore: release 1.1.1 (#10)
yoshi-automation Jun 14, 2019
7509387
build: switch to GitHub magic proxy (#12)
bcoe Jun 18, 2019
f5999c3
fix(docs): link to reference docs section on googleapis.dev (#13)
bcoe Jun 25, 2019
d0ec207
chore: release 1.1.2 (#14)
yoshi-automation Jun 26, 2019
5c72a24
build: use config file for linkinator (#15)
JustinBeckwith Jun 28, 2019
0b39726
chore(deps): switch to published npm package rather than GitHub sha (…
hegemonic Jul 9, 2019
9e2a11c
chore(deps): drop dependency on through2 (#17)
JustinBeckwith Jul 20, 2019
3a055f6
chore(deps): update linters (#18)
renovate-bot Jul 26, 2019
3fa2514
docs: use the jsdoc-fresh theme (#19)
JustinBeckwith Jul 31, 2019
f0d8e46
docs: document apiEndpoint over servicePath (#20)
JustinBeckwith Jul 31, 2019
3853fa5
fix: allow calls with no request, add JSON proto
yoshi-automation Aug 2, 2019
a081731
chore: release 1.1.3 (#24)
yoshi-automation Aug 3, 2019
152ec46
fix: include the correct version of node in a header (#26)
yoshi-automation Aug 26, 2019
eb7ddfc
chore: release 1.1.4 (#27)
yoshi-automation Aug 26, 2019
3bea165
docs: update link to client docs (#29)
yoshi-automation Aug 28, 2019
7ff7bf3
feat: load protos from JSON, grpc-fallback support
yoshi-automation Sep 3, 2019
290be2f
chore(deps): update dependency eslint-plugin-node to v10 (#32)
renovate-bot Sep 5, 2019
5d3877c
chore: release 1.2.0 (#31)
yoshi-automation Sep 16, 2019
2271534
chore: add protos/ to .eslintignore
alexander-fenster Sep 27, 2019
2fc5481
feat: support new phishing protection proto options (#37)
yoshi-automation Sep 27, 2019
cb8c882
fix: use compatible version of google-gax
alexander-fenster Oct 2, 2019
c73e622
chore: update pull request template (#41)
yoshi-automation Oct 8, 2019
640e19c
chore: update CONTRIBUTING.md and make releaseType node (#45)
bcoe Oct 9, 2019
e4ddfa8
chore: release 1.3.0 (#38)
release-please[bot] Oct 12, 2019
c28860b
fix(deps): bump google-gax to 1.7.5 (#46)
JustinBeckwith Oct 22, 2019
a8e0cad
chore: release 1.3.1 (#47)
release-please[bot] Oct 22, 2019
4c561be
chore(deps): update dependency c8 to v6 (#48)
renovate-bot Oct 24, 2019
232b87b
fix(docs): snippets are now replaced in jsdoc comments (#52)
bcoe Nov 13, 2019
396976c
chore: release 1.3.2 (#53)
release-please[bot] Nov 15, 2019
fddf223
feat: add plural and singular resource descriptor (#56)
yoshi-automation Nov 22, 2019
45c29ef
chore: update license headers
JustinBeckwith Nov 25, 2019
37499a5
chore: release 1.4.0 (#64)
release-please[bot] Dec 5, 2019
16640e6
feat: move to typescript code generation (#66)
xiaozhenliu-gg5 Dec 21, 2019
d64be2e
chore(deps): update dependency eslint-plugin-node to v11 (#70)
renovate-bot Dec 26, 2019
23fb0b5
docs: update jsdoc license/samples-README (#65)
bcoe Dec 26, 2019
ec9e685
build: update to file list in synth.metadata
yoshi-automation Dec 26, 2019
7a54232
chore(deps): update dependency c8 to v7 (#69)
renovate-bot Dec 27, 2019
f08f6e8
refactor: use explicit mocha imports
JustinBeckwith Dec 30, 2019
42c7222
build: add **/*.d.ts to coverage ignore list
yoshi-automation Jan 3, 2020
540b4e7
chore: release 1.5.0
release-please[bot] Jan 6, 2020
0f54c56
chore(deps): update dependency mocha to v7 (#74)
renovate-bot Jan 6, 2020
760d552
chore: clear synth.metadata
JustinBeckwith Jan 24, 2020
7a3607c
chore: fix compileProtos command in synth.py (#79)
alexander-fenster Jan 25, 2020
0dcd5cd
chore: regenerate synth.metadata (#78)
yoshi-automation Jan 28, 2020
8045930
fix: enum, bytes, and Long types now accept strings
yoshi-automation Jan 28, 2020
b9d61be
chore: release 1.5.1 (#81)
release-please[bot] Jan 30, 2020
68c86b4
chore(deps): update dependency @types/mocha to v7
renovate-bot Jan 30, 2020
6335949
chore: skip img.shields.io in docs test
JustinBeckwith Feb 1, 2020
2fb5309
test: modernize mocha config (#85)
JustinBeckwith Feb 1, 2020
15e9ce1
chore: updated .gitignore and tests
yoshi-automation Feb 7, 2020
229efcc
chore(deps): update dependency linkinator to v2
renovate-bot Feb 10, 2020
6bf233f
build: add GitHub actions config for unit tests
bcoe Feb 12, 2020
2cdd288
feat: export protos in src/index.ts
xiaozhenliu-gg5 Feb 26, 2020
b890ad1
chore: update jsdoc.js (#100)
summer-ji-eng Feb 27, 2020
05c88c7
chore: correct .jsdoc.js protos and double quotes (#102)
summer-ji-eng Feb 28, 2020
13c882d
chore: release 1.6.0 (#103)
release-please[bot] Feb 28, 2020
91f4f08
chore: update jsdoc with macro license (#105)
summer-ji-eng Feb 29, 2020
ec1bac7
feat: deferred client initialization (#108)
gcf-merge-on-green[bot] Mar 6, 2020
3a470dc
build: update linkinator config (#110)
gcf-merge-on-green[bot] Mar 6, 2020
d0c06ce
build(tests): fix coveralls and enable build cop (#111)
bcoe Mar 6, 2020
f17820b
chore: release 1.7.0 (#109)
release-please[bot] Mar 11, 2020
e0562a6
docs: mention templates in contributing section of README (#113)
bcoe Mar 18, 2020
361b911
chore: remove snippet leading whitespace (#115)
chingor13 Mar 19, 2020
3537d17
docs: document version support goals (#120)
bcoe Mar 24, 2020
c8de7e3
chore: regenerate the code (#119)
yoshi-automation Mar 25, 2020
84927e2
feat!: drop node8 support (#123)
alexander-fenster Mar 31, 2020
0df186e
build: set AUTOSYNTH_MULTIPLE_COMMITS=true for context aware commits …
bcoe Apr 1, 2020
292d8df
chore(deps): update dependency @types/sinon to v9 (#126)
renovate-bot Apr 1, 2020
dca8b47
chore: remove duplicate mocha config (#129)
JustinBeckwith Apr 5, 2020
c72a45b
fix: export explicit version from protos.js (#128)
yoshi-automation Apr 7, 2020
d3cc518
chore(deps): update dependency gts to v2.0.0 (#132)
renovate-bot Apr 10, 2020
12552d3
fix: remove eslint, update gax, fix generated protos, run the generat…
alexander-fenster Apr 11, 2020
9b60e52
build: remove unused codecov config (#134)
JustinBeckwith Apr 12, 2020
24c6c52
chore: update proto namespaces (#135)
yoshi-automation Apr 13, 2020
1971f26
fix: drop unused files from package (#137)
JustinBeckwith Apr 13, 2020
eeca2f1
chore: release 2.0.0 (#124)
release-please[bot] Apr 14, 2020
efaf70b
chore(deps): update dependency ts-loader to v7 (#138)
renovate-bot Apr 15, 2020
8881e45
chore(deps): update dependency null-loader to v4 (#139)
renovate-bot Apr 15, 2020
5ac11b6
chore: clean up synth.py (#140)
xiaozhenliu-gg5 Apr 15, 2020
78e3622
build: use codecov's action, now that it's authless (#499) (#141)
yoshi-automation Apr 20, 2020
c5648fd
build: adopt changes to generator formatter (#142)
yoshi-automation Apr 22, 2020
8f9c75a
chore: update npm scripts and synth.py (#143)
alexander-fenster Apr 24, 2020
095f33b
fix: regenerate unit tests (#144)
alexander-fenster May 6, 2020
2b844cd
fix: synth.py clean up for multiple version (#146)
summer-ji-eng May 6, 2020
4718889
build: do not fail builds on codecov errors (#528) (#147)
yoshi-automation May 8, 2020
0afc7fc
build: update protos.js (#148)
yoshi-automation Jun 4, 2020
25448e8
chore: release 2.0.1 (#145)
release-please[bot] Jun 4, 2020
ae6abc9
feat: move ts target to es2018 from es2016 (#151)
yoshi-automation Jun 10, 2020
cf7e768
chore(deps): update dependency mocha to v8 (#153)
renovate-bot Jun 11, 2020
5025615
chore(nodejs_templates): add script logging to node_library populate-…
yoshi-automation Jun 11, 2020
4fe7592
fix: proper fallback option handling
yoshi-automation Jun 15, 2020
1e5685a
chore: release 2.1.0 (#152)
release-please[bot] Jun 16, 2020
9c3229e
fix: update node issue template (#156)
yoshi-automation Jun 18, 2020
035d29a
build: add config .gitattributes (#158)
yoshi-automation Jun 29, 2020
fb3c7dc
build: use bazel build (#159)
alexander-fenster Jul 6, 2020
c7d6833
chore: release 2.1.1 (#157)
release-please[bot] Jul 7, 2020
e7fe72d
build: typeo in nodejs .gitattribute (#162)
yoshi-automation Jul 10, 2020
9469b17
chore(deps): update dependency ts-loader to v8 (#161)
renovate-bot Jul 10, 2020
2350c7a
chore(deps): update dependency @types/mocha to v8 (#163)
renovate-bot Jul 12, 2020
5e5ea0e
build: add Node 8 tests (#167)
yoshi-automation Jul 17, 2020
cb22f01
build: missing closing paren in publish script, delete template for N…
yoshi-automation Jul 17, 2020
48056f2
chore: add dev dependencies for cloud-rad ref docs (#169)
fhinkel Jul 21, 2020
fa52ee2
build: rename _toc to toc (#170)
yoshi-automation Jul 27, 2020
d2cffad
build: move gitattributes files to node templates (#171)
yoshi-automation Jul 27, 2020
67a9015
chore(node): fix kokoro build path for cloud-rad (#172)
yoshi-automation Jul 29, 2020
ea71fbc
build: update protos (#174)
yoshi-automation Jul 30, 2020
f031a81
docs: add links to the CHANGELOG from the README.md for Java and Node…
yoshi-automation Aug 3, 2020
f5e5d1c
build: update kokoro config/unblock rotted test (#190)
bcoe Aug 25, 2020
966ca30
fix: modify apiCall (#193)
yoshi-automation Aug 28, 2020
8e5e32d
build: use gapic-generator-typescript v1.0.7. (#178)
yoshi-automation Aug 28, 2020
2c07249
build: track flaky tests for "nightly", add new secrets for tagging (…
yoshi-automation Aug 31, 2020
1cd2a54
chore: release 2.2.0 (#192)
release-please[bot] Sep 1, 2020
8cd95f4
build(test): recursively find test files; fail on unsupported depende…
yoshi-automation Sep 16, 2020
7aa86e8
feat(trampoline_v2): generate trampoline v2 configuration (#202)
bcoe Oct 1, 2020
37f2a56
chore: release 2.3.0 (#203)
release-please[bot] Oct 1, 2020
fb12235
fix(build): pass AUTORELEASE_PR variable (#205)
bcoe Oct 2, 2020
e621a0b
chore: release 2.3.1 (#206)
release-please[bot] Oct 2, 2020
5fadaa3
build: use trampoline V2
yoshi-automation Oct 6, 2020
0fc168c
build: only check --engine-strict for production deps (#212)
yoshi-automation Oct 16, 2020
2bce6a0
chore(deps): update dependency webpack-cli to v4 (#211)
renovate-bot Oct 21, 2020
d7cb471
chore(deps): update dependency webpack to v5 (#210)
renovate-bot Oct 21, 2020
7cb20e2
chore: clean up Node.js TOC for cloud-rad (#213)
yoshi-automation Oct 21, 2020
cea5989
docs: updated code of conduct (includes update to actions) (#216)
bcoe Oct 26, 2020
3269eaa
build: updates to kokoro (#217)
yoshi-automation Nov 4, 2020
bf48076
fix: do not modify options object, use defaultScopes (#220)
alexander-fenster Nov 12, 2020
13ec445
chore: release 2.3.2 (#222)
release-please[bot] Nov 12, 2020
090c18e
fix: check for fetch on window
yoshi-automation Nov 23, 2020
cfda308
docs: update dates (#231)
yoshi-automation Jan 7, 2021
366696c
chore: release 2.3.3 (#225)
release-please[bot] Jan 7, 2021
e278704
docs: spelling correction for "targetting" (#227)
yoshi-automation Jan 7, 2021
30e713f
chore: generate GAPIC metadata JSON file (#228)
yoshi-automation Jan 8, 2021
9e7e3e7
feat: adds style enumeration (#233)
yoshi-automation Jan 9, 2021
90cb30d
docs: update contributing instructions (#234)
yoshi-automation Jan 9, 2021
d8f28a4
chore: release 2.4.0 (#235)
release-please[bot] Jan 12, 2021
9064379
refactor(nodejs): move build cop to flakybot (#237)
yoshi-automation Jan 27, 2021
c84c4a1
build: adds UNORDERED_LIST enum (#238)
yoshi-automation Feb 4, 2021
54a2f68
build(owlbot): configuration for real-time OwlBot updates (#239)
bcoe Feb 18, 2021
afe553d
build(owlbot): strip-prefix not supported yet (#240)
bcoe Feb 18, 2021
28a6216
refactor: new regex format for .OwlBot.yaml (#246)
SurferJeffAtGoogle Feb 25, 2021
115f56a
build: update gapic-generator-typescript to v1.2.10. (#256)
yoshi-automation Mar 7, 2021
6e031e7
chore(deps): update dependency sinon to v10 (#268)
renovate-bot Apr 1, 2021
0fa02cd
build: .OwlBot.lock.yaml was missing deep-remove (#275)
bcoe Apr 7, 2021
8291210
build: we had forgotten to remove synth.py (#277)
bcoe Apr 7, 2021
9539135
chore(deps): update dependency @types/sinon to v10 (#280)
renovate-bot Apr 14, 2021
abaa231
chore(deps): update dependency ts-loader to v9 (#284)
renovate-bot Apr 19, 2021
02b95de
fix(deps): require google-gax v2.12.0 (#288)
alexander-fenster May 7, 2021
098e382
chore: new owl bot post processor docker image (#290)
gcf-owl-bot[bot] May 10, 2021
4768032
fix: use require() to load JSON protos (#291)
gcf-owl-bot[bot] May 11, 2021
4500294
chore: update gapic-generator-typescript to v1.3.2 (#292)
gcf-owl-bot[bot] May 11, 2021
f99498b
chore: release 2.4.1 (#289)
release-please[bot] May 13, 2021
96c9a7e
chore(deps): update dependency @types/node to v14 (#296)
renovate-bot May 21, 2021
939da9b
chore(deps): update dependency sinon to v11 (#297)
renovate-bot May 25, 2021
8cfabba
fix: GoogleAdsError missing using generator version after 1.3.0 (#298)
gcf-owl-bot[bot] May 25, 2021
e77bffd
chore: release 2.4.2 (#299)
release-please[bot] May 25, 2021
5d34b56
chore(nodejs): remove api-extractor dependencies (#305)
fhinkel Jun 10, 2021
2676e47
fix(branch): primary branch is now main (#307)
bcoe Jun 16, 2021
c9905c4
build: switch primary branch to main (#308)
bcoe Jun 16, 2021
dbde262
chore: release 2.4.3 (#309)
release-please[bot] Jun 16, 2021
ab6643b
chore: release 2.4.4 (#311)
release-please[bot] Jun 16, 2021
e314529
fix: make request optional in all cases (#320)
gcf-owl-bot[bot] Jun 22, 2021
026aa49
chore: release 2.4.5 (#321)
release-please[bot] Jun 23, 2021
38b6b43
fix: Updating WORKSPACE files to use the newest version of the Typesc…
gcf-owl-bot[bot] Jul 16, 2021
53f6ff7
chore: release 2.4.6 (#327)
release-please[bot] Jul 16, 2021
53d86ac
chore(nodejs): update client ref docs link in metadata (#331)
fhinkel Aug 4, 2021
82cdc31
fix(deps): google-gax v2.24.1 (#333)
bcoe Aug 17, 2021
93b56ac
chore: release 2.4.7 (#334)
release-please[bot] Aug 17, 2021
52c825e
feat: turns on self-signed JWT feature flag (#335)
gcf-owl-bot[bot] Aug 23, 2021
7b6bf4d
chore: release 2.5.0 (#336)
release-please[bot] Aug 24, 2021
a227dd2
chore: disable renovate dependency dashboard (#1194) (#340)
gcf-owl-bot[bot] Aug 25, 2021
eb8455b
chore: relocate owl bot post processor (#342)
SurferJeffAtGoogle Sep 21, 2021
3b647b8
build(node): update deps used during postprocessing (#1243) (#347)
gcf-owl-bot[bot] Oct 14, 2021
b04ad13
chore(deps): update dependency @types/node to v16 (#348)
renovate-bot Oct 26, 2021
f4ec705
chore(cloud-rad): delete api-extractor config (#350)
fhinkel Nov 4, 2021
6d16f5d
chore(deps): update dependency sinon to v12 (#349)
renovate-bot Nov 4, 2021
1ec77f9
docs(samples): add example tags to generated samples (#351)
gcf-owl-bot[bot] Nov 10, 2021
e58c343
build: add generated samples to .eslintignore (#352)
gcf-owl-bot[bot] Dec 9, 2021
a9a1820
docs(node): support "stable"/"preview" release level (#1312) (#355)
gcf-owl-bot[bot] Dec 29, 2021
4e5628e
chore: add api_shortname and library_type to repo metadata (#354)
parthea Dec 30, 2021
4544398
docs(badges): tweak badge to use new preview/stable language (#1314) …
gcf-owl-bot[bot] Dec 30, 2021
f48c450
test(nodejs): remove 15 add 16 (#1322) (#359)
gcf-owl-bot[bot] Jan 11, 2022
ff378ca
chore(deps): update dependency gts to v3 (#360)
renovate-bot Jan 20, 2022
8fc44f3
build: update copyright year to 2022 (#362)
gcf-owl-bot[bot] Jan 20, 2022
71856a0
chore: update v2.12.0 gapic-generator-typescript (#364)
gcf-owl-bot[bot] Jan 26, 2022
e518ff3
docs(nodejs): version support policy edits (#1346) (#368)
gcf-owl-bot[bot] Feb 3, 2022
ff60808
chore(deps): update dependency sinon to v13 (#366)
renovate-bot Feb 5, 2022
c7bd5de
docs(samples): include metadata file, add exclusions for samples to h…
gcf-owl-bot[bot] Feb 18, 2022
ddc5e96
chore: update v2.14.2 gapic-generator-typescript (#373)
gcf-owl-bot[bot] Mar 16, 2022
b8ead88
build(node): update client library version in samples metadata (#1356…
gcf-owl-bot[bot] Apr 20, 2022
74c1d05
chore(deps): update dependency @types/mocha to v9 (#381)
renovate-bot May 3, 2022
6518c56
chore(deps): update dependency sinon to v14 (#384)
renovate-bot May 9, 2022
c660c95
build!: update library to use Node 12 (#386)
alexander-fenster May 17, 2022
5b27c95
chore(main): release 3.0.0 (#387)
release-please[bot] May 18, 2022
c43ecb8
chore(deps): update dependency jsdoc-fresh to v2 (#390)
renovate-bot Jun 13, 2022
886655c
chore(deps): update dependency jsdoc-region-tag to v2 (#391)
renovate-bot Jun 13, 2022
98129a8
fix(docs): describe fallback rest option (#392)
gcf-owl-bot[bot] Jun 30, 2022
3a843e0
chore(main): release 3.0.1 (#393)
release-please[bot] Jun 30, 2022
8e8a2e8
chore(deps): update dependency linkinator to v4 (#397)
renovate-bot Jul 8, 2022
fc54595
fix: better support for fallback mode (#402)
gcf-owl-bot[bot] Aug 23, 2022
b9cdbe6
fix: change import long to require (#403)
gcf-owl-bot[bot] Aug 23, 2022
e4c9f02
fix: do not import the whole google-gax from proto JS (#1553) (#406)
gcf-owl-bot[bot] Aug 27, 2022
5360b24
fix: allow passing gax instance to client constructor (#407)
gcf-owl-bot[bot] Sep 1, 2022
431a992
chore(main): release 3.0.2 (#404)
release-please[bot] Sep 7, 2022
cfccd98
chore(main): release 3.0.3 (#410)
release-please[bot] Sep 8, 2022
21305c8
fix: preserve default values in x-goog-request-params header (#411)
gcf-owl-bot[bot] Sep 14, 2022
4a4e9f4
test: use fully qualified request type name in tests (#414)
gcf-owl-bot[bot] Sep 22, 2022
1a9fa17
chore(main): release 3.0.4 (#412)
release-please[bot] Sep 22, 2022
f435765
docs(samples): revert integration test fix, is working again (#416)
sofisl Oct 13, 2022
77bf0c8
build(samples): update quickstart test (#420)
sofisl Oct 13, 2022
0e530f0
Merge remote-tracking branch 'migration/main' into nodejs-phishing-pr…
sofisl Oct 13, 2022
362036b
build: add release-please config, fix owlbot-config
sofisl Oct 13, 2022
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .release-please-manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
"packages/google-cloud-gkemulticloud": "0.1.2",
"packages/google-cloud-language": "5.1.0",
"packages/google-cloud-oslogin": "4.0.2",
"packages/google-cloud-phishingprotection": "3.0.4",
"packages/google-cloud-redis": "3.1.3",
"packages/google-cloud-resourcemanager": "4.1.1",
"packages/google-cloud-security-publicca": "0.1.1",
Expand Down
20 changes: 20 additions & 0 deletions packages/google-cloud-phishingprotection/.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/phishingprotection/(.*)/.*-nodejs
dest: /owl-bot-staging/google-cloud-phishingprotection/$1
7 changes: 7 additions & 0 deletions packages/google-cloud-phishingprotection/.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-phishingprotection/.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-phishingprotection/.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-phishingprotection/.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-phishingprotection/.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/phishing-protection',
theme: 'lumen',
default: {
outputSourceFiles: false
}
},
markdown: {
idInHeadings: true
}
};
29 changes: 29 additions & 0 deletions packages/google-cloud-phishingprotection/.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-phishingprotection/.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-phishingprotection/.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-phishingprotection/.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-phishingprotection/.repo-metadata.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
{
"name": "phishing-protection",
"name_pretty": "Phishing Protection",
"product_documentation": "https://cloud.google.com/phishing-protection/docs/",
"client_documentation": "https://cloud.google.com/nodejs/docs/reference/phishing-protection/latest",
"issue_tracker": "",
"release_level": "preview",
"language": "nodejs",
"repo": "googleapis/google-cloud-node",
"distribution_name": "@google-cloud/phishing-protection",
"api_id": "phishingprotection.googleapis.com",
"requires_billing": true,
"default_version": "v1beta1",
"api_shortname": "phishingprotection",
"library_type": "GAPIC_AUTO"
}
Loading