Skip to content
This repository has been archived by the owner on Oct 17, 2023. It is now read-only.

fix: pass x-goog-request-params header for streaming calls #441

Merged
merged 1 commit into from
Feb 7, 2020

Conversation

yoshi-automation
Copy link
Contributor

This PR was generated using Autosynth. 🌈

Commits in this repo since last synth:
f95fca4 chore: remove header check ignore and clang (#437)
71ec5f5 chore: release 5.1.5 (#430)
50a2dcf test: modernize mocha config (#432)
6a1fd66 chore: skip img.shields.io in docs test
95d9bdc chore(deps): update dependency @types/mocha to v7

Log from Synthtool
synthtool > Executing /tmpfs/src/git/autosynth/working_repo/synth.py.
synthtool > Ensuring dependencies.
synthtool > Cloning googleapis.
synthtool > Pulling Docker image: gapic-generator-typescript:latest
latest: Pulling from gapic-images/gapic-generator-typescript
Digest: sha256:47066d295ac6b8a50881a2616aefa075689d27931a8c63bb0f50d62f2b77e3e0
Status: Image is up to date for gcr.io/gapic-images/gapic-generator-typescript:latest
synthtool > Generating code for: google/cloud/translate/v3beta1.
synthtool > Generated code into /tmpfs/tmp/tmp67_51k6_.
synthtool > Pulling Docker image: gapic-generator-typescript:latest
latest: Pulling from gapic-images/gapic-generator-typescript
Digest: sha256:47066d295ac6b8a50881a2616aefa075689d27931a8c63bb0f50d62f2b77e3e0
Status: Image is up to date for gcr.io/gapic-images/gapic-generator-typescript:latest
synthtool > Generating code for: google/cloud/translate/v3.
synthtool > Generated code into /tmpfs/tmp/tmpkeu830o_.
.eslintignore
.eslintrc.yml
.github/ISSUE_TEMPLATE/bug_report.md
.github/ISSUE_TEMPLATE/feature_request.md
.github/ISSUE_TEMPLATE/support_request.md
.github/PULL_REQUEST_TEMPLATE.md
.github/release-please.yml
.jsdoc.js
.kokoro/common.cfg
.kokoro/continuous/node10/common.cfg
.kokoro/continuous/node10/docs.cfg
.kokoro/continuous/node10/lint.cfg
.kokoro/continuous/node10/samples-test.cfg
.kokoro/continuous/node10/system-test.cfg
.kokoro/continuous/node10/test.cfg
.kokoro/continuous/node12/common.cfg
.kokoro/continuous/node12/test.cfg
.kokoro/continuous/node8/common.cfg
.kokoro/continuous/node8/test.cfg
.kokoro/docs.sh
.kokoro/lint.sh
.kokoro/presubmit/node10/common.cfg
.kokoro/presubmit/node10/docs.cfg
.kokoro/presubmit/node10/lint.cfg
.kokoro/presubmit/node10/samples-test.cfg
.kokoro/presubmit/node10/system-test.cfg
.kokoro/presubmit/node10/test.cfg
.kokoro/presubmit/node12/common.cfg
.kokoro/presubmit/node12/test.cfg
.kokoro/presubmit/node8/common.cfg
.kokoro/presubmit/node8/test.cfg
.kokoro/presubmit/windows/common.cfg
.kokoro/presubmit/windows/test.cfg
.kokoro/publish.sh
.kokoro/release/docs.cfg
.kokoro/release/docs.sh
.kokoro/release/publish.cfg
.kokoro/samples-test.sh
.kokoro/system-test.sh
.kokoro/test.bat
.kokoro/test.sh
.kokoro/trampoline.sh
.nycrc
.prettierignore
.prettierrc
CODE_OF_CONDUCT.md
CONTRIBUTING.md
LICENSE
README.md
codecov.yaml
renovate.json
samples/README.md
npm WARN npm npm does not support Node.js v12.15.0
npm WARN npm You should probably upgrade to a newer version of node as we
npm WARN npm can't make any promises that npm will work with this version.
npm WARN npm Supported releases of Node.js are the latest release of 6, 8, 9, 10, 11.
npm WARN npm You can find the latest version at https://nodejs.org/

> protobufjs@6.8.8 postinstall /tmpfs/src/git/autosynth/working_repo/node_modules/protobufjs
> node scripts/postinstall


> @google-cloud/translate@5.1.5 prepare /tmpfs/src/git/autosynth/working_repo
> npm run compile

npm WARN npm npm does not support Node.js v12.15.0
npm WARN npm You should probably upgrade to a newer version of node as we
npm WARN npm can't make any promises that npm will work with this version.
npm WARN npm Supported releases of Node.js are the latest release of 6, 8, 9, 10, 11.
npm WARN npm You can find the latest version at https://nodejs.org/

> @google-cloud/translate@5.1.5 compile /tmpfs/src/git/autosynth/working_repo
> tsc -p . && cp -r protos build/

npm notice created a lockfile as package-lock.json. You should commit this file.
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@2.1.2 (node_modules/fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@2.1.2: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})

added 628 packages from 843 contributors and audited 1639 packages in 19.499s
found 0 vulnerabilities

npm WARN npm npm does not support Node.js v12.15.0
npm WARN npm You should probably upgrade to a newer version of node as we
npm WARN npm can't make any promises that npm will work with this version.
npm WARN npm Supported releases of Node.js are the latest release of 6, 8, 9, 10, 11.
npm WARN npm You can find the latest version at https://nodejs.org/

> @google-cloud/translate@5.1.5 fix /tmpfs/src/git/autosynth/working_repo
> gts fix && eslint --fix '**/*.js'


/tmpfs/src/git/autosynth/working_repo/samples/automl/automlTranslationDataset.js
   27:26  error  "@google-cloud/automl" is not found  node/no-missing-require
   76:26  error  "@google-cloud/automl" is not found  node/no-missing-require
  122:26  error  "@google-cloud/automl" is not found  node/no-missing-require
  159:26  error  "@google-cloud/automl" is not found  node/no-missing-require
  199:26  error  "@google-cloud/automl" is not found  node/no-missing-require

/tmpfs/src/git/autosynth/working_repo/samples/automl/automlTranslationModel.js
   27:26  error  "@google-cloud/automl" is not found  node/no-missing-require
   82:26  error  "@google-cloud/automl" is not found  node/no-missing-require
  124:26  error  "@google-cloud/automl" is not found  node/no-missing-require
  187:26  error  "@google-cloud/automl" is not found  node/no-missing-require
  222:26  error  "@google-cloud/automl" is not found  node/no-missing-require
  252:26  error  "@google-cloud/automl" is not found  node/no-missing-require
  277:26  error  "@google-cloud/automl" is not found  node/no-missing-require

/tmpfs/src/git/autosynth/working_repo/samples/automl/automlTranslationPredict.js
  33:26  error  "@google-cloud/automl" is not found  node/no-missing-require

/tmpfs/src/git/autosynth/working_repo/samples/hybridGlossaries.js
  27:32  error  "@google-cloud/text-to-speech" is not found  node/no-missing-require
  28:29  error  "@google-cloud/translate" is not found       node/no-missing-require
  29:26  error  "@google-cloud/vision" is not found          node/no-missing-require

/tmpfs/src/git/autosynth/working_repo/samples/quickstart.js
  27:31  error  "@google-cloud/translate" is not found  node/no-missing-require

/tmpfs/src/git/autosynth/working_repo/samples/test/automlTranslation.test.js
  17:26  error  "chai" is not found  node/no-missing-require

/tmpfs/src/git/autosynth/working_repo/samples/test/hybridGlossaries.test.js
  18:26  error  "chai" is not found                     node/no-missing-require
  20:44  error  "@google-cloud/translate" is not found  node/no-missing-require

/tmpfs/src/git/autosynth/working_repo/samples/test/quickstart.test.js
  17:26  error  "chai" is not found  node/no-missing-require

/tmpfs/src/git/autosynth/working_repo/samples/test/translate.test.js
  17:26  error  "chai" is not found                     node/no-missing-require
  19:29  error  "@google-cloud/translate" is not found  node/no-missing-require

/tmpfs/src/git/autosynth/working_repo/samples/test/v3/translate_batch_translate_text.test.js
  17:26  error  "chai" is not found                     node/no-missing-require
  19:44  error  "@google-cloud/translate" is not found  node/no-missing-require
  20:27  error  "@google-cloud/storage" is not found    node/no-missing-require

/tmpfs/src/git/autosynth/working_repo/samples/test/v3/translate_batch_translate_text_with_glossary.test.js
  17:26  error  "chai" is not found                     node/no-missing-require
  19:44  error  "@google-cloud/translate" is not found  node/no-missing-require
  20:27  error  "@google-cloud/storage" is not found    node/no-missing-require

/tmpfs/src/git/autosynth/working_repo/samples/test/v3/translate_batch_translate_text_with_glossary_and_model.test.js
  17:26  error  "chai" is not found                     node/no-missing-require
  19:44  error  "@google-cloud/translate" is not found  node/no-missing-require
  20:27  error  "@google-cloud/storage" is not found    node/no-missing-require

/tmpfs/src/git/autosynth/working_repo/samples/test/v3/translate_batch_translate_text_with_model.test.js
  17:26  error  "chai" is not found                     node/no-missing-require
  19:44  error  "@google-cloud/translate" is not found  node/no-missing-require
  20:27  error  "@google-cloud/storage" is not found    node/no-missing-require

/tmpfs/src/git/autosynth/working_repo/samples/test/v3/translate_create_glossary.test.js
  17:26  error  "chai" is not found                     node/no-missing-require
  19:44  error  "@google-cloud/translate" is not found  node/no-missing-require

/tmpfs/src/git/autosynth/working_repo/samples/test/v3/translate_delete_glossary.test.js
  17:26  error  "chai" is not found                     node/no-missing-require
  19:44  error  "@google-cloud/translate" is not found  node/no-missing-require

/tmpfs/src/git/autosynth/working_repo/samples/test/v3/translate_detect_language.test.js
  17:26  error  "chai" is not found                     node/no-missing-require
  19:44  error  "@google-cloud/translate" is not found  node/no-missing-require

/tmpfs/src/git/autosynth/working_repo/samples/test/v3/translate_get_glossary.test.js
  17:26  error  "chai" is not found                     node/no-missing-require
  19:44  error  "@google-cloud/translate" is not found  node/no-missing-require

/tmpfs/src/git/autosynth/working_repo/samples/test/v3/translate_get_supported_languages.test.js
  17:26  error  "chai" is not found                     node/no-missing-require
  19:44  error  "@google-cloud/translate" is not found  node/no-missing-require

/tmpfs/src/git/autosynth/working_repo/samples/test/v3/translate_get_supported_languages_for_targets.test.js
  17:26  error  "chai" is not found                     node/no-missing-require
  19:44  error  "@google-cloud/translate" is not found  node/no-missing-require

/tmpfs/src/git/autosynth/working_repo/samples/test/v3/translate_list_codes.test.js
  17:26  error  "chai" is not found                     node/no-missing-require
  19:44  error  "@google-cloud/translate" is not found  node/no-missing-require

/tmpfs/src/git/autosynth/working_repo/samples/test/v3/translate_list_glossary.test.js
  17:26  error  "chai" is not found                     node/no-missing-require
  19:44  error  "@google-cloud/translate" is not found  node/no-missing-require

/tmpfs/src/git/autosynth/working_repo/samples/test/v3/translate_list_language_names.test.js
  17:26  error  "chai" is not found                     node/no-missing-require
  19:44  error  "@google-cloud/translate" is not found  node/no-missing-require

/tmpfs/src/git/autosynth/working_repo/samples/test/v3/translate_translate_text.test.js
  17:26  error  "chai" is not found                     node/no-missing-require
  19:44  error  "@google-cloud/translate" is not found  node/no-missing-require

/tmpfs/src/git/autosynth/working_repo/samples/test/v3/translate_translate_text_with_glossary.test.js
  17:26  error  "chai" is not found                     node/no-missing-require
  19:44  error  "@google-cloud/translate" is not found  node/no-missing-require

/tmpfs/src/git/autosynth/working_repo/samples/test/v3/translate_translate_text_with_glossary_and_model.test.js
  17:26  error  "chai" is not found                     node/no-missing-require
  19:44  error  "@google-cloud/translate" is not found  node/no-missing-require

/tmpfs/src/git/autosynth/working_repo/samples/test/v3/translate_translate_text_with_model.test.js
  17:26  error  "chai" is not found                     node/no-missing-require
  19:44  error  "@google-cloud/translate" is not found  node/no-missing-require

/tmpfs/src/git/autosynth/working_repo/samples/test/v3beta1/translate_batch_translate_text_beta.test.js
  17:26  error  "chai" is not found                     node/no-missing-require
  19:44  error  "@google-cloud/translate" is not found  node/no-missing-require
  20:27  error  "@google-cloud/storage" is not found    node/no-missing-require

/tmpfs/src/git/autosynth/working_repo/samples/test/v3beta1/translate_create_glossary_beta.test.js
  17:26  error  "chai" is not found                     node/no-missing-require
  19:44  error  "@google-cloud/translate" is not found  node/no-missing-require

/tmpfs/src/git/autosynth/working_repo/samples/test/v3beta1/translate_delete_glossary_beta.test.js
  17:26  error  "chai" is not found                     node/no-missing-require
  19:44  error  "@google-cloud/translate" is not found  node/no-missing-require

/tmpfs/src/git/autosynth/working_repo/samples/test/v3beta1/translate_detect_language_beta.test.js
  17:26  error  "chai" is not found                     node/no-missing-require
  19:44  error  "@google-cloud/translate" is not found  node/no-missing-require

/tmpfs/src/git/autosynth/working_repo/samples/test/v3beta1/translate_get_glossary_beta.test.js
  17:26  error  "chai" is not found                     node/no-missing-require
  19:44  error  "@google-cloud/translate" is not found  node/no-missing-require

/tmpfs/src/git/autosynth/working_repo/samples/test/v3beta1/translate_list_codes_beta.test.js
  17:26  error  "chai" is not found                     node/no-missing-require
  19:44  error  "@google-cloud/translate" is not found  node/no-missing-require

/tmpfs/src/git/autosynth/working_repo/samples/test/v3beta1/translate_list_glossary_beta.test.js
  17:26  error  "chai" is not found                     node/no-missing-require
  19:44  error  "@google-cloud/translate" is not found  node/no-missing-require

/tmpfs/src/git/autosynth/working_repo/samples/test/v3beta1/translate_list_language_names_beta.test.js
  17:26  error  "chai" is not found                     node/no-missing-require
  19:44  error  "@google-cloud/translate" is not found  node/no-missing-require

/tmpfs/src/git/autosynth/working_repo/samples/test/v3beta1/translate_translate_text_beta.test.js
  17:26  error  "chai" is not found                     node/no-missing-require
  19:44  error  "@google-cloud/translate" is not found  node/no-missing-require

/tmpfs/src/git/autosynth/working_repo/samples/test/v3beta1/translate_translate_text_with_glossary_beta.test.js
  17:26  error  "chai" is not found                     node/no-missing-require
  19:44  error  "@google-cloud/translate" is not found  node/no-missing-require

/tmpfs/src/git/autosynth/working_repo/samples/test/v3beta1/translate_translate_text_with_model_beta.test.js
  17:26  error    "chai" is not found                     node/no-missing-require
  19:44  error    "@google-cloud/translate" is not found  node/no-missing-require
  28:35  warning  Unexpected 'todo' comment               no-warning-comments

/tmpfs/src/git/autosynth/working_repo/samples/translate.js
   20:31  error  "@google-cloud/translate" is not found  node/no-missing-require
   49:31  error  "@google-cloud/translate" is not found  node/no-missing-require
   69:31  error  "@google-cloud/translate" is not found  node/no-missing-require
   94:31  error  "@google-cloud/translate" is not found  node/no-missing-require
  124:31  error  "@google-cloud/translate" is not found  node/no-missing-require

/tmpfs/src/git/autosynth/working_repo/samples/v3/translate_batch_translate_text.js
  33:46  error  "@google-cloud/translate" is not found  node/no-missing-require

/tmpfs/src/git/autosynth/working_repo/samples/v3/translate_batch_translate_text_with_glossary.js
  35:46  error  "@google-cloud/translate" is not found  node/no-missing-require

/tmpfs/src/git/autosynth/working_repo/samples/v3/translate_batch_translate_text_with_glossary_and_model.js
  37:46  error  "@google-cloud/translate" is not found  node/no-missing-require

/tmpfs/src/git/autosynth/working_repo/samples/v3/translate_batch_translate_text_with_model.js
  35:46  error  "@google-cloud/translate" is not found  node/no-missing-require

/tmpfs/src/git/autosynth/working_repo/samples/v3/translate_create_glossary.js
  31:46  error  "@google-cloud/translate" is not found  node/no-missing-require

/tmpfs/src/git/autosynth/working_repo/samples/v3/translate_delete_glossary.js
  31:46  error  "@google-cloud/translate" is not found  node/no-missing-require

/tmpfs/src/git/autosynth/working_repo/samples/v3/translate_detect_language.js
  31:46  error  "@google-cloud/translate" is not found  node/no-missing-require

/tmpfs/src/git/autosynth/working_repo/samples/v3/translate_get_glossary.js
  31:46  error  "@google-cloud/translate" is not found  node/no-missing-require

/tmpfs/src/git/autosynth/working_repo/samples/v3/translate_get_supported_languages.js
  26:46  error  "@google-cloud/translate" is not found  node/no-missing-require

/tmpfs/src/git/autosynth/working_repo/samples/v3/translate_get_supported_languages_for_target.js
  26:46  error  "@google-cloud/translate" is not found  node/no-missing-require

/tmpfs/src/git/autosynth/working_repo/samples/v3/translate_list_codes.js
  26:46  error  "@google-cloud/translate" is not found  node/no-missing-require

/tmpfs/src/git/autosynth/working_repo/samples/v3/translate_list_glossary.js
  26:46  error  "@google-cloud/translate" is not found  node/no-missing-require

/tmpfs/src/git/autosynth/working_repo/samples/v3/translate_list_language_names.js
  26:46  error  "@google-cloud/translate" is not found  node/no-missing-require

/tmpfs/src/git/autosynth/working_repo/samples/v3/translate_translate_text.js
  31:46  error  "@google-cloud/translate" is not found  node/no-missing-require

/tmpfs/src/git/autosynth/working_repo/samples/v3/translate_translate_text_with_glossary.js
  33:46  error  "@google-cloud/translate" is not found  node/no-missing-require

/tmpfs/src/git/autosynth/working_repo/samples/v3/translate_translate_text_with_glossary_and_model.js
  35:46  error  "@google-cloud/translate" is not found  node/no-missing-require

/tmpfs/src/git/autosynth/working_repo/samples/v3/translate_translate_text_with_model.js
  33:46  error  "@google-cloud/translate" is not found  node/no-missing-require

/tmpfs/src/git/autosynth/working_repo/samples/v3beta1/translate_batch_translate_text_beta.js
  32:46  error  "@google-cloud/translate" is not found  node/no-missing-require

/tmpfs/src/git/autosynth/working_repo/samples/v3beta1/translate_create_glossary_beta.js
  30:46  error  "@google-cloud/translate" is not found  node/no-missing-require

/tmpfs/src/git/autosynth/working_repo/samples/v3beta1/translate_delete_glossary_beta.js
  30:46  error  "@google-cloud/translate" is not found  node/no-missing-require

/tmpfs/src/git/autosynth/working_repo/samples/v3beta1/translate_detect_language_beta.js
  30:46  error  "@google-cloud/translate" is not found  node/no-missing-require

/tmpfs/src/git/autosynth/working_repo/samples/v3beta1/translate_get_glossary_beta.js
  30:46  error  "@google-cloud/translate" is not found  node/no-missing-require

/tmpfs/src/git/autosynth/working_repo/samples/v3beta1/translate_list_codes_beta.js
  26:46  error  "@google-cloud/translate" is not found  node/no-missing-require

/tmpfs/src/git/autosynth/working_repo/samples/v3beta1/translate_list_glossary_beta.js
  26:46  error  "@google-cloud/translate" is not found  node/no-missing-require

/tmpfs/src/git/autosynth/working_repo/samples/v3beta1/translate_list_language_names_beta.js
  26:46  error  "@google-cloud/translate" is not found  node/no-missing-require

/tmpfs/src/git/autosynth/working_repo/samples/v3beta1/translate_translate_text_beta.js
  31:46  error  "@google-cloud/translate" is not found  node/no-missing-require

/tmpfs/src/git/autosynth/working_repo/samples/v3beta1/translate_translate_text_with_glossary_beta.js
  31:46  error  "@google-cloud/translate" is not found  node/no-missing-require

/tmpfs/src/git/autosynth/working_repo/samples/v3beta1/translate_translate_text_with_model_beta.js
  31:46  error  "@google-cloud/translate" is not found  node/no-missing-require
  32:26  error  "@google-cloud/automl" is not found     node/no-missing-require

✖ 119 problems (118 errors, 1 warning)

npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! @google-cloud/translate@5.1.5 fix: `gts fix && eslint --fix '**/*.js'`
npm ERR! Exit status 1
npm ERR! 
npm ERR! Failed at the @google-cloud/translate@5.1.5 fix script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR! A complete log of this run can be found in:
npm ERR!     /home/kbuilder/.npm/_logs/2020-02-07T12_42_24_557Z-debug.log
installing semver@^5.5.0
installing minimist@^1.2.0
installing uglify-js@^3.3.25
installing espree@^3.5.4
installing escodegen@^1.9.1
synthtool > Wrote metadata to synth.metadata.

@googlebot googlebot added the cla: yes This human has signed the Contributor License Agreement. label Feb 7, 2020
@codecov
Copy link

codecov bot commented Feb 7, 2020

Codecov Report

Merging #441 into master will decrease coverage by 0.03%.
The diff coverage is 77.55%.

Impacted file tree graph

@@            Coverage Diff            @@
##           master    #441      +/-   ##
=========================================
- Coverage   93.93%   93.9%   -0.04%     
=========================================
  Files           6       6              
  Lines        3411    3427      +16     
  Branches      123     125       +2     
=========================================
+ Hits         3204    3218      +14     
- Misses        205     207       +2     
  Partials        2       2
Impacted Files Coverage Δ
src/v3beta1/translation_service_client.ts 92.45% <77.55%> (-0.03%) ⬇️
src/v3/translation_service_client.ts 92.36% <77.55%> (-0.03%) ⬇️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update f95fca4...85056e6. Read the comment docs.

@alexander-fenster alexander-fenster changed the title [CHANGE ME] Re-generated to pick up changes in the API or client library generator. fix: pass x-goog-request-params header for streaming calls Feb 7, 2020
@alexander-fenster alexander-fenster merged commit 40c90fa into master Feb 7, 2020
@alexander-fenster alexander-fenster deleted the autosynth branch February 7, 2020 18:32
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
cla: yes This human has signed the Contributor License Agreement.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants