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-translate #3520

Merged
merged 516 commits into from
Nov 10, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
516 commits
Select commit Hold shift + click to select a range
ea9911b
fix(deps): use the latest extend (#316)
JustinBeckwith Aug 17, 2019
7f5b101
fix(deps): update dependency yargs to v14
renovate-bot Aug 20, 2019
ab3b611
fix: use correct version for x-goog-api-client header
yoshi-automation Aug 27, 2019
feeb75a
fix(docs): stop linking reference documents to anchor
yoshi-automation Aug 28, 2019
989db70
chore(deps): update dependency typescript to ~3.6.0 (#321)
renovate-bot Aug 29, 2019
d8d3256
feat: load protos from JSON, grpc-fallback support
yoshi-automation Sep 3, 2019
b3f11fb
chore(deps): update dependency eslint-plugin-node to v10 (#325)
renovate-bot Sep 5, 2019
ac2cb08
update .nycrc ignore rules (#326)
bcoe Sep 6, 2019
72e2552
build: switch to releasing with GitHub bot (#329)
yoshi-automation Sep 18, 2019
29b5673
feat: samples for hybrid glossaries tutorial (#327)
crowdus Sep 25, 2019
76dfb3d
feat: add label support (#331)
yoshi-automation Sep 27, 2019
ec224d2
fix: use compatible version of google-gax
alexander-fenster Oct 2, 2019
6fdecbb
chore: update pull request template
yoshi-automation Oct 3, 2019
9d803ca
chore: update CONTRIBUTING.md and make releaseType node (#341)
bcoe Oct 9, 2019
5921c91
fix: add filter to method signature
yoshi-automation Oct 10, 2019
60af206
chore: release 4.2.0 (#324)
yoshi-automation Oct 12, 2019
f13dc49
chore(deps): update dependency @google-cloud/storage to v4 (#342)
renovate-bot Oct 18, 2019
d54388e
chore: clean up eslint config (#344)
JustinBeckwith Oct 21, 2019
b5cb1e3
fix(deps): bump google-gax to 1.7.5 (#345)
JustinBeckwith Oct 22, 2019
b3f6e68
chore: release 4.2.1 (#346)
release-please[bot] Oct 22, 2019
877ccd8
fix: remove extra brace in snippet (#347)
gguuss Oct 23, 2019
000d30c
docs: spacing change in README
yoshi-automation Oct 25, 2019
a952243
feat!: v3 is now the default API surface (#355)
bcoe Oct 28, 2019
9c1f1be
chore: release 5.0.0 (#360)
release-please[bot] Oct 28, 2019
a5dbb2f
fix: package.json in build/ caused bad publish (#361)
bcoe Oct 28, 2019
4051c60
chore: release 5.0.1 (#362)
release-please[bot] Oct 28, 2019
61c94c3
chore(deps): update dependency typescript to ~3.7.0 (#374)
renovate-bot Nov 8, 2019
184c8bb
chore: release 5.0.2 (#368)
release-please[bot] Nov 8, 2019
e7e8d00
docs: update samples in the readme (#378)
JustinBeckwith Nov 8, 2019
4d8b647
fix(docs): snippets are now replaced in jsdoc comments (#381)
bcoe Nov 14, 2019
39ae87a
fix: get autosynth working again (#387)
bcoe Nov 19, 2019
a74837d
fix(deps): update dependency yargs to v15 (#386)
renovate-bot Nov 20, 2019
d0af497
chore: update synth.py to pass package name
xiaozhenliu-gg5 Nov 20, 2019
af13f04
feat: convert v3beta1 to TypeScript (#389)
alexander-fenster Nov 22, 2019
9dbad43
chore: release 5.1.0 (#391)
release-please[bot] Nov 22, 2019
867536e
chore: changes in test and webpack.config.js
yoshi-automation Nov 23, 2019
abcbeef
chore: update license headers (#394)
JustinBeckwith Nov 25, 2019
be67e1f
fix(deps): pin TypeScript below 3.7.0
bcoe Dec 5, 2019
6b965df
chore: release 5.1.1 (#399)
release-please[bot] Dec 5, 2019
3317c18
docs: correction to labels type in jsdoc
yoshi-automation Dec 6, 2019
82c873a
fix: make operationsClient and service stub public
yoshi-automation Dec 11, 2019
dbe941c
chore: release 5.1.2 (#407)
release-please[bot] Dec 11, 2019
b74914e
test: adds integration test for x-goog-user-project header (#404)
bcoe Dec 12, 2019
ae8f701
docs: updated jsdoc comments for generated methods
yoshi-automation Dec 13, 2019
59ca126
chore: release 5.1.3 (#409)
release-please[bot] Dec 17, 2019
2daa153
fix: increase timeout from 20s to 60s (#411)
yoshi-automation Dec 18, 2019
3dc0247
refactor: use explicit mocha imports (#416)
JustinBeckwith Dec 30, 2019
c5d0b7e
chore(deps): update dependency eslint-plugin-node to v11 (#415)
renovate-bot Dec 31, 2019
29c60f1
chore(deps): update dependency c8 to v7 (#414)
renovate-bot Dec 31, 2019
55a74b3
docs: new license format; improved sample instructions (#413)
yoshi-automation Dec 31, 2019
362853a
fix: better client close(), update .nycrc
yoshi-automation Jan 4, 2020
167476a
chore: release 5.1.4
release-please[bot] Jan 6, 2020
96ad8f4
chore(deps): update dependency mocha to v7 (#420)
renovate-bot Jan 6, 2020
cfbc3b2
chore: clear synth.metadata
JustinBeckwith Jan 24, 2020
f7f093e
chore: regenerate synth.metadata (#428)
yoshi-automation Jan 28, 2020
e64d23d
fix: enum, bytes, and Long types now accept strings
yoshi-automation Jan 28, 2020
0ddff68
chore(deps): update dependency @types/mocha to v7
renovate-bot Jan 30, 2020
3db5ff4
chore: skip img.shields.io in docs test
JustinBeckwith Feb 1, 2020
fa82904
test: modernize mocha config (#432)
JustinBeckwith Feb 4, 2020
3f9d21f
chore: release 5.1.5 (#430)
release-please[bot] Feb 5, 2020
07a1930
chore: remove header check ignore and clang (#437)
JustinBeckwith Feb 5, 2020
d27bb38
fix: pass x-goog-request-params header for streaming calls
yoshi-automation Feb 7, 2020
c3cea9c
chore: release 5.1.6 (#442)
release-please[bot] Feb 7, 2020
1b8a0fb
chore(deps): update dependency linkinator to v2
renovate-bot Feb 10, 2020
a721bd6
build: add GitHub actions config for unit tests (#446)
bcoe Feb 13, 2020
6acc297
chore(deps): update dependency uuid to v7
renovate-bot Feb 26, 2020
7d86796
feat: export protos in src/index.ts (#451)
xiaozhenliu-gg5 Feb 27, 2020
84f28e5
chore: release 5.2.0 (#454)
release-please[bot] Feb 27, 2020
8f7d6a7
chore: update jsdoc.js (#455)
summer-ji-eng Feb 27, 2020
76674e7
chore: correct .jsdoc.js protos and double quotes (#457)
summer-ji-eng Feb 28, 2020
0ebedc2
chore: update jsdoc with macro license (#459)
summer-ji-eng Feb 29, 2020
852788b
feat: deferred client initialization (#460)
gcf-merge-on-green[bot] Mar 6, 2020
fe77ecc
build: update linkinator config (#462)
gcf-merge-on-green[bot] Mar 6, 2020
63afb80
build(tests): fix coveralls and enable build cop (#463)
bcoe Mar 6, 2020
10e79b7
chore: release 5.3.0 (#461)
release-please[bot] Mar 11, 2020
742e0d2
docs: mention templates in contributing section of README (#465)
bcoe Mar 18, 2020
34fd214
refactor: drop dependency on is (#468)
JustinBeckwith Mar 19, 2020
404b032
chore: remove snippet leading whitespace (#467)
chingor13 Mar 19, 2020
d615976
docs: document version support goals (#475)
bcoe Mar 24, 2020
b5280f1
chore: regenerate the code (#474)
yoshi-automation Mar 25, 2020
5c689ca
feat!: drop node8 support, support for async iterators (#482)
alexander-fenster Mar 31, 2020
c6f9d32
build: set AUTOSYNTH_MULTIPLE_COMMITS=true for context aware commits …
bcoe Apr 1, 2020
a11c326
chore(deps): update dependency @types/sinon to v9 (#488)
renovate-bot Apr 1, 2020
dbbfc6f
fix(deps): update dependency @google-cloud/common to v3 (#481)
renovate-bot Apr 1, 2020
83981ba
fix(deps): update dependency @google-cloud/promisify to v2 (#476)
renovate-bot Apr 1, 2020
f74333a
chore(deps): update dependency google-auth-library to v6 (#479)
renovate-bot Apr 2, 2020
9d60ccd
chore: remove duplicate mocha config (#501)
JustinBeckwith Apr 5, 2020
7ba746f
fix: ensure scoped protobuf (#500)
yoshi-automation Apr 7, 2020
e87d9da
fix: remove eslint, update gax, fix generated protos, run the generat…
alexander-fenster Apr 11, 2020
5d8a902
fix(deps): update dependency @google-cloud/automl to v2 (#503)
renovate-bot Apr 12, 2020
c860422
test: translation of text added comma (#510)
bcoe Apr 13, 2020
e2e4611
build: remove unused codecov config (#508)
JustinBeckwith Apr 13, 2020
cf08f41
chore: update lint ignore files (#511)
JustinBeckwith Apr 13, 2020
acdd471
chore: remove tslint.json (#512)
JustinBeckwith Apr 14, 2020
2479ead
chore: remove unused dev packages (#513)
JustinBeckwith Apr 14, 2020
eb3f3c3
chore: apply new linting rules. (#523)
SurferJeffAtGoogle Apr 17, 2020
a0f6551
chore: linting
yoshi-automation Apr 17, 2020
58d9519
build: use codecov's action, now that it's authless (#499) (#527)
yoshi-automation Apr 20, 2020
d619acd
build: adopt changes to generator formatting (#528)
yoshi-automation Apr 22, 2020
eba3f10
chore: update npm scripts and synth.py (#529)
alexander-fenster Apr 24, 2020
8519e77
chore(deps): update dependency uuid to v8 (#530)
renovate-bot May 1, 2020
0646ba6
feat: check status of long running operation by its name; fix linting…
alexander-fenster May 6, 2020
15f54b0
chore: linting
yoshi-automation May 6, 2020
8bb2ebb
build: do not fail builds on codecov errors (#528) (#533)
yoshi-automation May 8, 2020
a21a747
chore(deps): update dependency @google-cloud/storage to v5 (#534)
renovate-bot May 15, 2020
762e1ed
chore: updates to protos.js
yoshi-automation Jun 3, 2020
ee2fc30
chore: release 6.0.0 (#483)
release-please[bot] Jun 4, 2020
5ec053a
fix(deps): update dependency @google-cloud/vision to v2 (#539)
renovate-bot Jun 5, 2020
097f8c9
chore(deps): update dependency mocha to v8 (#545)
renovate-bot Jun 11, 2020
3d1e8e7
build(secrets): begin migration to secret manager from keystore (#543)
yoshi-automation Jun 12, 2020
e007050
fix: handle fallback option properly (#547)
yoshi-automation Jun 12, 2020
c026461
fix(deps): update dependency @google-cloud/text-to-speech to v3 (#538)
renovate-bot Jun 16, 2020
cd979eb
chore(deps): update dependency http2spy to v2 (#544)
renovate-bot Jun 16, 2020
1886e2b
fix: update node issue template (#551)
yoshi-automation Jun 19, 2020
8648c8b
build: add config .gitattributes (#552)
yoshi-automation Jun 29, 2020
9b420e4
chore: release 6.0.1 (#541)
release-please[bot] Jun 29, 2020
a228c6e
build: use bazel build (#553)
alexander-fenster Jul 6, 2020
8b2bec7
chore(deps): update dependency @types/mocha to v8 (#557)
renovate-bot Jul 14, 2020
e2ab626
fix: typeo in nodejs .gitattribute (#556)
yoshi-automation Jul 15, 2020
7b4e45d
chore: release 6.0.2 (#559)
release-please[bot] Jul 15, 2020
e5a076c
build: add Node 8 tests (#561)
yoshi-automation Jul 20, 2020
32f8a3f
chore: add dev dependencies for cloud-rad ref docs (#563)
fhinkel Jul 21, 2020
6b17cb6
build: missing parenthesis in publish script, delete Node 8 tests, ad…
yoshi-automation Jul 27, 2020
f4478e8
build: move gitatrtributes files to node templates, rename __toc to t…
yoshi-automation Jul 28, 2020
6c0dbf3
docs: corrects spelling of build dependency adds backticks in docstri…
yoshi-automation Jul 30, 2020
fa54593
docs: add links to the CHANGELOG from the README.md for Java and Node…
yoshi-automation Jul 31, 2020
2545b70
build: --credential-file-override is no longer required (#572)
yoshi-automation Aug 10, 2020
722e062
build: use gapic-generator-typescript v1.0.7. (#573)
yoshi-automation Aug 14, 2020
c2b00cf
build: update config for node12 (#578)
bcoe Sep 9, 2020
4e6ed35
fix(deps): update dependency yargs to v16 (#577)
renovate-bot Sep 9, 2020
e273374
build: update test configuration (#581)
yoshi-automation Sep 17, 2020
90662b7
chore: release 6.0.3 (#579)
release-please[bot] Sep 17, 2020
56712c9
chore: update bucket for cloud-rad (#584)
yoshi-automation Oct 1, 2020
bd81ae7
build(node_library): migrate to Trampoline V2 (#585)
yoshi-automation Oct 5, 2020
79076c4
build: only check --engine-strict for production deps (#589)
yoshi-automation Oct 16, 2020
3454b36
chore: clean up Node.js TOC for cloud-rad (#590)
yoshi-automation Nov 3, 2020
6950ae7
chore(docs): update code of conduct of synthtool and templates
yoshi-automation Nov 4, 2020
ccf6481
build(node): update testing matrix
yoshi-automation Nov 4, 2020
bbe8547
build(node): don't run prepare during smoke test
yoshi-automation Nov 4, 2020
e457a10
build(node): cleanup production deps before installing dev/production
yoshi-automation Nov 4, 2020
b2ac959
build(node): add KOKORO_BUILD_ARTIFACTS_SUBDIR to env
yoshi-automation Nov 4, 2020
90c4a65
fix: do not modify options object, use defaultScopes (#593)
alexander-fenster Nov 7, 2020
ebb3b2e
chore: release 6.0.4 (#594)
release-please[bot] Nov 16, 2020
c0f0336
fix(browser): check for fetch on window
yoshi-automation Nov 23, 2020
322a188
docs: spelling correction for "targetting" (#601)
yoshi-automation Nov 30, 2020
25fe6a4
chore: generate GAPIC metadata JSON file (#603)
yoshi-automation Dec 4, 2020
e23f6bc
chore: release 6.0.5 (#599)
release-please[bot] Dec 8, 2020
39159fb
docs: add instructions for authenticating for system tests (#608)
yoshi-automation Dec 22, 2020
5529e7b
docs: update dates (#610)
yoshi-automation Jan 7, 2021
caab64f
feat: adds style enumeration (#611)
yoshi-automation Jan 9, 2021
871e250
chore: release 6.1.0 (#612)
release-please[bot] Jan 12, 2021
cc2e11a
refactor(nodejs): move build cop to flakybot (#618)
yoshi-automation Jan 27, 2021
3081b79
chore: update CODEOWNERS config (#620)
JustinBeckwith Feb 3, 2021
cb7a2f2
build: adds UNORDERED_LIST enum (#621)
yoshi-automation Feb 4, 2021
2c832dc
build: update gapic-generator-typescript to v1.2.10. (#625)
yoshi-automation Mar 7, 2021
4491c19
chore(deps): update dependency sinon to v10 (#633)
renovate-bot Mar 23, 2021
254ba13
build: compile-protos should be part of prepare (#638)
bcoe Apr 7, 2021
b4ea831
feat: added v3beta1 proto for online and batch document translation (…
yoshi-automation Apr 7, 2021
c506edb
chore: release 6.2.0 (#640)
release-please[bot] Apr 7, 2021
bbf8d05
chore(deps): update dependency @types/sinon to v10 (#643)
renovate-bot Apr 14, 2021
0b92bcd
chore: migrate to owl bot (#647)
SurferJeffAtGoogle Apr 20, 2021
7a7970b
chore: Add title back into Readme (#642)
fhinkel Apr 29, 2021
8808d64
fix(deps): require google-gax v2.12.0 (#657)
alexander-fenster May 7, 2021
7201827
chore: new owl bot post processor docker image (#660)
gcf-owl-bot[bot] May 10, 2021
1add1e7
fix: use require() to load JSON protos (#661)
gcf-owl-bot[bot] May 11, 2021
c0c0b84
chore: update gapic-generator-typescript to v1.3.2 (#662)
gcf-owl-bot[bot] May 11, 2021
c33fe59
chore: release 6.2.1 (#658)
release-please[bot] May 11, 2021
7ebe203
chore: refactored all glossaries samples to use predefined glossary i…
munkhuushmgl May 17, 2021
b11c6b2
chore(deps): update dependency @types/node to v14 (#667)
renovate-bot May 21, 2021
9a7ae2c
chore(deps): update dependency sinon to v11 (#671)
renovate-bot May 25, 2021
0f20512
fix: GoogleAdsError missing using generator version after 1.3.0 (#672)
gcf-owl-bot[bot] May 25, 2021
4f9782e
docs: clarify how to choose between v3 and v2 variants of the API (#674)
munkhuushmgl May 26, 2021
a7c96fe
chore: Increase timeout mocha (#675)
munkhuushmgl Jun 1, 2021
12b6b71
chore: release 6.2.2 (#673)
release-please[bot] Jun 3, 2021
a919f72
chore(nodejs): remove api-extractor dependencies (#682)
fhinkel Jun 10, 2021
5b3e6d1
fix: make request optional in all cases (#687)
gcf-owl-bot[bot] Jun 22, 2021
3b8c8a7
chore: release 6.2.3 (#688)
release-please[bot] Jun 24, 2021
c5fc8bb
fix(deps): google-gax v2.17.0 with mTLS (#691)
bcoe Jun 29, 2021
ab3a2bc
chore: release 6.2.4 (#692)
release-please[bot] Jun 29, 2021
ae4529c
fix(deps): google-gax v2.17.1 (#695)
bcoe Jul 12, 2021
aa7ba2e
chore: release 6.2.5 (#696)
release-please[bot] Jul 12, 2021
95b027a
fix: Updating WORKSPACE files to use the newest version of the Typesc…
gcf-owl-bot[bot] Jul 16, 2021
1c9d45d
chore: release 6.2.6 (#700)
release-please[bot] Jul 21, 2021
99c5738
chore(nodejs): update client ref docs link in metadata (#709)
fhinkel Aug 13, 2021
cdd0b3e
fix(deps): google-gax v2.24.1 (#711)
bcoe Aug 17, 2021
5c0dda1
chore: release 6.2.7 (#710)
release-please[bot] Aug 17, 2021
2fef650
feat: turns on self-signed JWT feature flag (#713)
gcf-owl-bot[bot] Aug 23, 2021
57789dd
fix: add missing annotation for batch document translation (#715)
gcf-owl-bot[bot] Aug 25, 2021
005b07d
chore: disable renovate dependency dashboard (#1194) (#718)
gcf-owl-bot[bot] Aug 25, 2021
bc9460d
fix(build): set default branch to main (#722)
bcoe Sep 10, 2021
8fe5a7d
feat: added v3 proto for online/batch document translation and update…
gcf-owl-bot[bot] Sep 10, 2021
99b426b
chore: release 6.3.0 (#714)
release-please[bot] Sep 16, 2021
19f26c7
chore: relocate owl bot post processor (#725)
SurferJeffAtGoogle Sep 21, 2021
bae1440
build(node): update deps used during postprocessing (#1243) (#734)
gcf-owl-bot[bot] Oct 14, 2021
4cf0a07
docs(samples): add auto-generated samples for Node with api short nam…
gcf-owl-bot[bot] Oct 14, 2021
c988d50
fix: add model signature for batch document translation (#735)
gcf-owl-bot[bot] Oct 18, 2021
dc42783
chore: release 6.3.1 (#736)
release-please[bot] Oct 18, 2021
a599ea0
chore(deps): update dependency @types/node to v16 (#738)
renovate-bot Oct 26, 2021
cf448d1
chore(cloud-rad): delete api-extractor config (#741)
fhinkel Nov 3, 2021
ccbba86
chore(cloud-rad): fix links for TSDocs (#742)
fhinkel Nov 3, 2021
32021fd
chore(deps): update dependency sinon to v12 (#744)
renovate-bot Nov 4, 2021
8307ad0
chore(cloud-rad): Add code fencing (#743)
fhinkel Nov 5, 2021
ba4abb1
docs(samples): add example tags to generated samples (#745)
gcf-owl-bot[bot] Nov 22, 2021
8decd6b
build: add generated samples to .eslintignore (#748)
gcf-owl-bot[bot] Dec 9, 2021
9d43974
docs(node): support "stable"/"preview" release level (#1312) (#751)
gcf-owl-bot[bot] Dec 29, 2021
d017b9f
docs(badges): tweak badge to use new preview/stable language (#1314) …
gcf-owl-bot[bot] Dec 30, 2021
c32c32c
test(nodejs): remove 15 add 16 (#1322) (#754)
gcf-owl-bot[bot] Jan 11, 2022
15d0992
chore(deps): update dependency gts to v3 (#756)
renovate-bot Jan 11, 2022
57cef1d
chore: add api_shortname and library_type to repo metadata (#750)
parthea Jan 12, 2022
f59c1c3
chore: update v2.12.0 gapic-generator-typescript (#760)
gcf-owl-bot[bot] Jan 26, 2022
bf57142
chore(deps): update dependency sinon to v13 (#762)
renovate-bot Jan 31, 2022
77bb571
docs(nodejs): version support policy edits (#1346) (#764)
gcf-owl-bot[bot] Feb 4, 2022
0e9364e
docs(samples): include metadata file, add exclusions for samples to h…
gcf-owl-bot[bot] Feb 18, 2022
e42c46b
chore: update v2.14.2 gapic-generator-typescript (#769)
gcf-owl-bot[bot] Mar 16, 2022
cc97caf
fix(test): fix language detection test (#779)
alexander-fenster Apr 21, 2022
4cc088f
build(node): update client library version in samples metadata (#1356…
gcf-owl-bot[bot] Apr 21, 2022
2ab8190
chore(deps): update dependency sinon to v14 (#786)
renovate-bot May 9, 2022
e4ea3aa
chore(deps): update dependency @types/mocha to v9 (#782)
renovate-bot May 13, 2022
92b5ee3
build!: update library to use Node 12 (#789)
sofisl May 19, 2022
655b9f7
chore(deps): update dependency jsdoc-region-tag to v2 (#795)
renovate-bot Jun 9, 2022
b7ac89a
chore(deps): update dependency jsdoc-fresh to v2 (#794)
renovate-bot Jun 9, 2022
794aaf2
fix(deps): update dependency @google-cloud/common to v4 (#793)
renovate-bot Jun 20, 2022
c8c5588
chore(deps): update dependency @google-cloud/storage to v6 (#790)
renovate-bot Jun 20, 2022
d2e953c
feat: support regapic LRO (#798)
gcf-owl-bot[bot] Jun 30, 2022
40b937e
chore(main): release 7.0.0 (#788)
release-please[bot] Jun 30, 2022
f81d9a2
chore(deps): update dependency linkinator to v4 (#801)
renovate-bot Jul 8, 2022
b13ea40
fix(deps): do not depend on protobufjs (#802)
renovate-bot Jul 10, 2022
c38f283
fix(deps): update dependency @google-cloud/automl to v3 (#796)
renovate-bot Jul 25, 2022
e862627
fix(deps): update dependency @google-cloud/text-to-speech to v4 (#797)
renovate-bot Aug 10, 2022
b99d438
chore(main): release 7.0.1 (#803)
release-please[bot] Aug 10, 2022
b49fd92
chore: remove unused proto imports (#808)
gcf-owl-bot[bot] Aug 19, 2022
ec38559
fix: better support for fallback mode (#809)
gcf-owl-bot[bot] Aug 23, 2022
fb30e78
fix: change import long to require (#810)
gcf-owl-bot[bot] Aug 23, 2022
a246e53
fix: do not import the whole google-gax from proto JS (#1553) (#813)
gcf-owl-bot[bot] Aug 27, 2022
b0299e0
chore(main): release 7.0.2 (#811)
release-please[bot] Sep 7, 2022
a8fcf6a
fix: allow passing gax instance to client constructor (#814)
gcf-owl-bot[bot] Sep 8, 2022
5d45801
chore(deps): update dependency uuid to v9 (#815)
renovate-bot Sep 9, 2022
4950dff
fix: preserve default values in x-goog-request-params header (#820)
gcf-owl-bot[bot] Sep 21, 2022
f9c8985
fix(deps): update dependency @google-cloud/vision to v3 (#816)
renovate-bot Sep 22, 2022
01d2dc2
chore(main): release 7.0.3 (#817)
release-please[bot] Sep 22, 2022
cd7f55f
fix(deps): use google-gax v3.5.2 (#879)
alexander-fenster Nov 4, 2022
7dcf347
fix: update proto definitions (#883)
gcf-owl-bot[bot] Nov 9, 2022
4774d81
chore(deps): update dependency jsdoc to v4 (#882)
renovate-bot Nov 9, 2022
827f771
chore(deps): update dependency @types/node to v18 (#875)
renovate-bot Nov 9, 2022
5c9e1ae
chore(main): release 7.0.4 (#881)
release-please[bot] Nov 9, 2022
2cdf427
Merge remote-tracking branch 'migration/main' into nodejs-translate-m…
sofisl Nov 10, 2022
a199204
build: add release-please config, fix owlbot-config
sofisl Nov 10, 2022
712dacd
πŸ¦‰ Updates from OwlBot post-processor
gcf-owl-bot[bot] Nov 10, 2022
eaf0fb5
Delete translate.ts
sofisl Nov 10, 2022
c87e9ba
Merge branch 'main' into nodejs-translate-migration
sofisl Nov 10, 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 @@ -29,6 +29,7 @@
"packages/google-cloud-resourcemanager": "4.1.3",
"packages/google-cloud-security-publicca": "0.1.3",
"packages/google-cloud-shell": "2.0.4",
"packages/google-cloud-translate": "7.0.4",
"packages/google-cloud-videointelligence": "4.1.1",
"packages/google-devtools-artifactregistry": "2.0.2",
"packages/google-iam": "0.2.2",
Expand Down
24 changes: 24 additions & 0 deletions packages/google-cloud-translate/.OwlBot.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
# 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/translate/(v.*)/.*-nodejs
dest: /owl-bot-staging/google-cloud-translate/$1

begin-after-commit-hash: f43939eac6a0bb5998c1fa0f79063194e699230e

7 changes: 7 additions & 0 deletions packages/google-cloud-translate/.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-translate/.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-translate/.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-translate/.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-translate/.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/translate',
theme: 'lumen',
default: {
outputSourceFiles: false
}
},
markdown: {
idInHeadings: true
}
};
29 changes: 29 additions & 0 deletions packages/google-cloud-translate/.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-translate/.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-translate/.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-translate/.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')
}
68 changes: 68 additions & 0 deletions packages/google-cloud-translate/.readme-partials.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,68 @@
introduction: |-
The [Cloud Translation API](https://cloud.google.com/translate/docs/),
can dynamically translate text between thousands
of language pairs. The Cloud Translation API lets websites and programs
integrate with the translation service programmatically. The Cloud Translation
API is part of the larger Cloud Machine Learning API family.
samples_body: |-
### Choosing between Advanced v3 and Basic v2

Basic supports language detection and text translation [Cloud Translation - Basic v2](https://cloud.google.com/translate/docs/editions#basic).

The advanced edition of [Cloud Translation - V3](https://cloud.google.com/translate/docs/editions#advanced) is optimized for customization and long form content use cases including glossary, batch, and model selection.

### Translate V3 Beta Samples

#### Install Dependencies

From the [root directory](https://github.com/googleapis/nodejs-translate) of the client library install the dependencies:

```
npm install
```

Change to the samples directory, link the google-cloud/translate library from the parent, and install its dependencies:

```
cd samples/
npm link ../
npm install
```

#### Run the Tests

To run the tests for the entire sample, run

```
npm test
```

To run the tests for only the translate v3 samples, run

```
npm run test-v3
```

To run the tests for a single translate v3 sample, run this command, substituting FILE_NAME with the name of a valid test file.

```
./node_modules/.bin/mocha test/v3beta1/FILE_NAME
```

For example, to test the `translate_list_language_names_beta` sample, the command would be

```
./node_modules/.bin/mocha test/v3beta1/translate_list_language_names_beta.test.js
```

To run a sample directly, call the file with the `node` command and any required CLI arguments:

```
node v3beta1/FILE_NAME <CLI argument 0> <CLI argument 1>
```

For example, to run the `translate_list_codes_beta` sample, you would run the following command, substituting your project ID in place of "your_project_id"

```
node v3beta1/translate_list_codes_beta.js "your_project_id"
```
17 changes: 17 additions & 0 deletions packages/google-cloud-translate/.repo-metadata.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
{
"distribution_name": "@google-cloud/translate",
"release_level": "stable",
"product_documentation": "https://cloud.google.com/translate/docs/",
"repo": "googleapis/google-cloud-node",
"default_version": "v3",
"language": "nodejs",
"requires_billing": true,
"issue_tracker": "https://issuetracker.google.com/savedsearches/559749",
"client_documentation": "https://cloud.google.com/nodejs/docs/reference/translate/latest",
"name": "translate",
"name_pretty": "Cloud Translation",
"api_id": "translate.googleapis.com",
"codeowner_team": "@googleapis/ml-apis",
"api_shortname": "translate",
"library_type": "GAPIC_AUTO"
}
Loading