Skip to content

Commit

Permalink
feat: adds missing fields to Finding and adds support for hybrid jobs (
Browse files Browse the repository at this point in the history
…#435)

This PR was generated using Autosynth. 🌈


<details><summary>Log from Synthtool</summary>

```
2020-03-22 04:25:25,236 synthtool > Executing /tmpfs/src/git/autosynth/working_repo/synth.py.
2020-03-22 04:25:25,288 synthtool > Ensuring dependencies.
2020-03-22 04:25:25,292 synthtool > Cloning googleapis.
2020-03-22 04:25:25,618 synthtool > Pulling Docker image: gapic-generator-typescript:latest
latest: Pulling from gapic-images/gapic-generator-typescript
Digest: sha256:3762b8bcba247ef4d020ffc7043e2881a20b5fab0ffd98d542f365d3f3a3829d
Status: Image is up to date for gcr.io/gapic-images/gapic-generator-typescript:latest
2020-03-22 04:25:26,505 synthtool > Generating code for: google/privacy/dlp/v2.
2020-03-22 04:25:27,793 synthtool > Generated code into /tmpfs/tmp/tmpmb5hpod2.
.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/publish.yml
.github/release-please.yml
.github/workflows/ci.yaml
.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
.mocharc.js
.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.16.1
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.9 postinstall /tmpfs/src/git/autosynth/working_repo/node_modules/protobufjs
> node scripts/postinstall


> @google-cloud/dlp@2.2.0 prepare /tmpfs/src/git/autosynth/working_repo
> npm run compile

npm WARN npm npm does not support Node.js v12.16.1
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/dlp@2.2.0 compile /tmpfs/src/git/autosynth/working_repo
> tsc -p . && cp -r protos build/

�[96msrc/v2/dlp_service_client.ts�[0m:�[93m1436�[0m:�[93m50�[0m - �[91merror�[0m�[90m TS2694: �[0mNamespace '"/tmpfs/src/git/autosynth/working_repo/protos/protos".google.privacy.dlp.v2' has no exported member 'IHybridInspectJobTriggerRequest'.

�[7m1436�[0m       request: protosTypes.google.privacy.dlp.v2.IHybridInspectJobTriggerRequest,
�[7m    �[0m �[91m                                                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~�[0m

�[96msrc/v2/dlp_service_client.ts�[0m:�[93m1439�[0m:�[93m43�[0m - �[91merror�[0m�[90m TS2694: �[0mNamespace '"/tmpfs/src/git/autosynth/working_repo/protos/protos".google.privacy.dlp.v2' has no exported member 'IHybridInspectResponse'.

�[7m1439�[0m         protosTypes.google.privacy.dlp.v2.IHybridInspectResponse,
�[7m    �[0m �[91m                                          ~~~~~~~~~~~~~~~~~~~~~~�[0m

�[96msrc/v2/dlp_service_client.ts�[0m:�[93m1440�[0m:�[93m43�[0m - �[91merror�[0m�[90m TS2694: �[0mNamespace '"/tmpfs/src/git/autosynth/working_repo/protos/protos".google.privacy.dlp.v2' has no exported member 'IHybridInspectJobTriggerRequest'.

�[7m1440�[0m         protosTypes.google.privacy.dlp.v2.IHybridInspectJobTriggerRequest|undefined, {}|undefined
�[7m    �[0m �[91m                                          ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~�[0m

�[96msrc/v2/dlp_service_client.ts�[0m:�[93m1443�[0m:�[93m50�[0m - �[91merror�[0m�[90m TS2694: �[0mNamespace '"/tmpfs/src/git/autosynth/working_repo/protos/protos".google.privacy.dlp.v2' has no exported member 'IHybridInspectJobTriggerRequest'.

�[7m1443�[0m       request: protosTypes.google.privacy.dlp.v2.IHybridInspectJobTriggerRequest,
�[7m    �[0m �[91m                                                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~�[0m

�[96msrc/v2/dlp_service_client.ts�[0m:�[93m1446�[0m:�[93m45�[0m - �[91merror�[0m�[90m TS2694: �[0mNamespace '"/tmpfs/src/git/autosynth/working_repo/protos/protos".google.privacy.dlp.v2' has no exported member 'IHybridInspectResponse'.

�[7m1446�[0m           protosTypes.google.privacy.dlp.v2.IHybridInspectResponse,
�[7m    �[0m �[91m                                            ~~~~~~~~~~~~~~~~~~~~~~�[0m

�[96msrc/v2/dlp_service_client.ts�[0m:�[93m1447�[0m:�[93m45�[0m - �[91merror�[0m�[90m TS2694: �[0mNamespace '"/tmpfs/src/git/autosynth/working_repo/protos/protos".google.privacy.dlp.v2' has no exported member 'IHybridInspectJobTriggerRequest'.

�[7m1447�[0m           protosTypes.google.privacy.dlp.v2.IHybridInspectJobTriggerRequest|undefined,
�[7m    �[0m �[91m                                            ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~�[0m

�[96msrc/v2/dlp_service_client.ts�[0m:�[93m1471�[0m:�[93m50�[0m - �[91merror�[0m�[90m TS2694: �[0mNamespace '"/tmpfs/src/git/autosynth/working_repo/protos/protos".google.privacy.dlp.v2' has no exported member 'IHybridInspectJobTriggerRequest'.

�[7m1471�[0m       request: protosTypes.google.privacy.dlp.v2.IHybridInspectJobTriggerRequest,
�[7m    �[0m �[91m                                                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~�[0m

�[96msrc/v2/dlp_service_client.ts�[0m:�[93m1473�[0m:�[93m45�[0m - �[91merror�[0m�[90m TS2694: �[0mNamespace '"/tmpfs/src/git/autosynth/working_repo/protos/protos".google.privacy.dlp.v2' has no exported member 'IHybridInspectResponse'.

�[7m1473�[0m           protosTypes.google.privacy.dlp.v2.IHybridInspectResponse,
�[7m    �[0m �[91m                                            ~~~~~~~~~~~~~~~~~~~~~~�[0m

�[96msrc/v2/dlp_service_client.ts�[0m:�[93m1474�[0m:�[93m45�[0m - �[91merror�[0m�[90m TS2694: �[0mNamespace '"/tmpfs/src/git/autosynth/working_repo/protos/protos".google.privacy.dlp.v2' has no exported member 'IHybridInspectJobTriggerRequest'.

�[7m1474�[0m           protosTypes.google.privacy.dlp.v2.IHybridInspectJobTriggerRequest|undefined, {}|undefined>,
�[7m    �[0m �[91m                                            ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~�[0m

�[96msrc/v2/dlp_service_client.ts�[0m:�[93m1476�[0m:�[93m45�[0m - �[91merror�[0m�[90m TS2694: �[0mNamespace '"/tmpfs/src/git/autosynth/working_repo/protos/protos".google.privacy.dlp.v2' has no exported member 'IHybridInspectResponse'.

�[7m1476�[0m           protosTypes.google.privacy.dlp.v2.IHybridInspectResponse,
�[7m    �[0m �[91m                                            ~~~~~~~~~~~~~~~~~~~~~~�[0m

�[96msrc/v2/dlp_service_client.ts�[0m:�[93m1477�[0m:�[93m45�[0m - �[91merror�[0m�[90m TS2694: �[0mNamespace '"/tmpfs/src/git/autosynth/working_repo/protos/protos".google.privacy.dlp.v2' has no exported member 'IHybridInspectJobTriggerRequest'.

�[7m1477�[0m           protosTypes.google.privacy.dlp.v2.IHybridInspectJobTriggerRequest|undefined,
�[7m    �[0m �[91m                                            ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~�[0m

�[96msrc/v2/dlp_service_client.ts�[0m:�[93m1480�[0m:�[93m43�[0m - �[91merror�[0m�[90m TS2694: �[0mNamespace '"/tmpfs/src/git/autosynth/working_repo/protos/protos".google.privacy.dlp.v2' has no exported member 'IHybridInspectResponse'.

�[7m1480�[0m         protosTypes.google.privacy.dlp.v2.IHybridInspectResponse,
�[7m    �[0m �[91m                                          ~~~~~~~~~~~~~~~~~~~~~~�[0m

�[96msrc/v2/dlp_service_client.ts�[0m:�[93m1481�[0m:�[93m43�[0m - �[91merror�[0m�[90m TS2694: �[0mNamespace '"/tmpfs/src/git/autosynth/working_repo/protos/protos".google.privacy.dlp.v2' has no exported member 'IHybridInspectJobTriggerRequest'.

�[7m1481�[0m         protosTypes.google.privacy.dlp.v2.IHybridInspectJobTriggerRequest|undefined, {}|undefined
�[7m    �[0m �[91m                                          ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~�[0m

�[96msrc/v2/dlp_service_client.ts�[0m:�[93m2230�[0m:�[93m50�[0m - �[91merror�[0m�[90m TS2694: �[0mNamespace '"/tmpfs/src/git/autosynth/working_repo/protos/protos".google.privacy.dlp.v2' has no exported member 'IHybridInspectDlpJobRequest'.

�[7m2230�[0m       request: protosTypes.google.privacy.dlp.v2.IHybridInspectDlpJobRequest,
�[7m    �[0m �[91m                                                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~�[0m

�[96msrc/v2/dlp_service_client.ts�[0m:�[93m2233�[0m:�[93m43�[0m - �[91merror�[0m�[90m TS2694: �[0mNamespace '"/tmpfs/src/git/autosynth/working_repo/protos/protos".google.privacy.dlp.v2' has no exported member 'IHybridInspectResponse'.

�[7m2233�[0m         protosTypes.google.privacy.dlp.v2.IHybridInspectResponse,
�[7m    �[0m �[91m                                          ~~~~~~~~~~~~~~~~~~~~~~�[0m

�[96msrc/v2/dlp_service_client.ts�[0m:�[93m2234�[0m:�[93m43�[0m - �[91merror�[0m�[90m TS2694: �[0mNamespace '"/tmpfs/src/git/autosynth/working_repo/protos/protos".google.privacy.dlp.v2' has no exported member 'IHybridInspectDlpJobRequest'.

�[7m2234�[0m         protosTypes.google.privacy.dlp.v2.IHybridInspectDlpJobRequest|undefined, {}|undefined
�[7m    �[0m �[91m                                          ~~~~~~~~~~~~~~~~~~~~~~~~~~~�[0m

�[96msrc/v2/dlp_service_client.ts�[0m:�[93m2237�[0m:�[93m50�[0m - �[91merror�[0m�[90m TS2694: �[0mNamespace '"/tmpfs/src/git/autosynth/working_repo/protos/protos".google.privacy.dlp.v2' has no exported member 'IHybridInspectDlpJobRequest'.

�[7m2237�[0m       request: protosTypes.google.privacy.dlp.v2.IHybridInspectDlpJobRequest,
�[7m    �[0m �[91m                                                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~�[0m

�[96msrc/v2/dlp_service_client.ts�[0m:�[93m2240�[0m:�[93m45�[0m - �[91merror�[0m�[90m TS2694: �[0mNamespace '"/tmpfs/src/git/autosynth/working_repo/protos/protos".google.privacy.dlp.v2' has no exported member 'IHybridInspectResponse'.

�[7m2240�[0m           protosTypes.google.privacy.dlp.v2.IHybridInspectResponse,
�[7m    �[0m �[91m                                            ~~~~~~~~~~~~~~~~~~~~~~�[0m

�[96msrc/v2/dlp_service_client.ts�[0m:�[93m2241�[0m:�[93m45�[0m - �[91merror�[0m�[90m TS2694: �[0mNamespace '"/tmpfs/src/git/autosynth/working_repo/protos/protos".google.privacy.dlp.v2' has no exported member 'IHybridInspectDlpJobRequest'.

�[7m2241�[0m           protosTypes.google.privacy.dlp.v2.IHybridInspectDlpJobRequest|undefined,
�[7m    �[0m �[91m                                            ~~~~~~~~~~~~~~~~~~~~~~~~~~~�[0m

�[96msrc/v2/dlp_service_client.ts�[0m:�[93m2265�[0m:�[93m50�[0m - �[91merror�[0m�[90m TS2694: �[0mNamespace '"/tmpfs/src/git/autosynth/working_repo/protos/protos".google.privacy.dlp.v2' has no exported member 'IHybridInspectDlpJobRequest'.

�[7m2265�[0m       request: protosTypes.google.privacy.dlp.v2.IHybridInspectDlpJobRequest,
�[7m    �[0m �[91m                                                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~�[0m

�[96msrc/v2/dlp_service_client.ts�[0m:�[93m2267�[0m:�[93m45�[0m - �[91merror�[0m�[90m TS2694: �[0mNamespace '"/tmpfs/src/git/autosynth/working_repo/protos/protos".google.privacy.dlp.v2' has no exported member 'IHybridInspectResponse'.

�[7m2267�[0m           protosTypes.google.privacy.dlp.v2.IHybridInspectResponse,
�[7m    �[0m �[91m                                            ~~~~~~~~~~~~~~~~~~~~~~�[0m

�[96msrc/v2/dlp_service_client.ts�[0m:�[93m2268�[0m:�[93m45�[0m - �[91merror�[0m�[90m TS2694: �[0mNamespace '"/tmpfs/src/git/autosynth/working_repo/protos/protos".google.privacy.dlp.v2' has no exported member 'IHybridInspectDlpJobRequest'.

�[7m2268�[0m           protosTypes.google.privacy.dlp.v2.IHybridInspectDlpJobRequest|undefined, {}|undefined>,
�[7m    �[0m �[91m                                            ~~~~~~~~~~~~~~~~~~~~~~~~~~~�[0m

�[96msrc/v2/dlp_service_client.ts�[0m:�[93m2270�[0m:�[93m45�[0m - �[91merror�[0m�[90m TS2694: �[0mNamespace '"/tmpfs/src/git/autosynth/working_repo/protos/protos".google.privacy.dlp.v2' has no exported member 'IHybridInspectResponse'.

�[7m2270�[0m           protosTypes.google.privacy.dlp.v2.IHybridInspectResponse,
�[7m    �[0m �[91m                                            ~~~~~~~~~~~~~~~~~~~~~~�[0m

�[96msrc/v2/dlp_service_client.ts�[0m:�[93m2271�[0m:�[93m45�[0m - �[91merror�[0m�[90m TS2694: �[0mNamespace '"/tmpfs/src/git/autosynth/working_repo/protos/protos".google.privacy.dlp.v2' has no exported member 'IHybridInspectDlpJobRequest'.

�[7m2271�[0m           protosTypes.google.privacy.dlp.v2.IHybridInspectDlpJobRequest|undefined,
�[7m    �[0m �[91m                                            ~~~~~~~~~~~~~~~~~~~~~~~~~~~�[0m

�[96msrc/v2/dlp_service_client.ts�[0m:�[93m2274�[0m:�[93m43�[0m - �[91merror�[0m�[90m TS2694: �[0mNamespace '"/tmpfs/src/git/autosynth/working_repo/protos/protos".google.privacy.dlp.v2' has no exported member 'IHybridInspectResponse'.

�[7m2274�[0m         protosTypes.google.privacy.dlp.v2.IHybridInspectResponse,
�[7m    �[0m �[91m                                          ~~~~~~~~~~~~~~~~~~~~~~�[0m

�[96msrc/v2/dlp_service_client.ts�[0m:�[93m2275�[0m:�[93m43�[0m - �[91merror�[0m�[90m TS2694: �[0mNamespace '"/tmpfs/src/git/autosynth/working_repo/protos/protos".google.privacy.dlp.v2' has no exported member 'IHybridInspectDlpJobRequest'.

�[7m2275�[0m         protosTypes.google.privacy.dlp.v2.IHybridInspectDlpJobRequest|undefined, {}|undefined
�[7m    �[0m �[91m                                          ~~~~~~~~~~~~~~~~~~~~~~~~~~~�[0m

�[96msrc/v2/dlp_service_client.ts�[0m:�[93m2298�[0m:�[93m50�[0m - �[91merror�[0m�[90m TS2694: �[0mNamespace '"/tmpfs/src/git/autosynth/working_repo/protos/protos".google.privacy.dlp.v2' has no exported member 'IFinishDlpJobRequest'.

�[7m2298�[0m       request: protosTypes.google.privacy.dlp.v2.IFinishDlpJobRequest,
�[7m    �[0m �[91m                                                 ~~~~~~~~~~~~~~~~~~~~�[0m

�[96msrc/v2/dlp_service_client.ts�[0m:�[93m2302�[0m:�[93m43�[0m - �[91merror�[0m�[90m TS2694: �[0mNamespace '"/tmpfs/src/git/autosynth/working_repo/protos/protos".google.privacy.dlp.v2' has no exported member 'IFinishDlpJobRequest'.

�[7m2302�[0m         protosTypes.google.privacy.dlp.v2.IFinishDlpJobRequest|undefined, {}|undefined
�[7m    �[0m �[91m                                          ~~~~~~~~~~~~~~~~~~~~�[0m

�[96msrc/v2/dlp_service_client.ts�[0m:�[93m2305�[0m:�[93m50�[0m - �[91merror�[0m�[90m TS2694: �[0mNamespace '"/tmpfs/src/git/autosynth/working_repo/protos/protos".google.privacy.dlp.v2' has no exported member 'IFinishDlpJobRequest'.

�[7m2305�[0m       request: protosTypes.google.privacy.dlp.v2.IFinishDlpJobRequest,
�[7m    �[0m �[91m                                                 ~~~~~~~~~~~~~~~~~~~~�[0m

�[96msrc/v2/dlp_service_client.ts�[0m:�[93m2309�[0m:�[93m45�[0m - �[91merror�[0m�[90m TS2694: �[0mNamespace '"/tmpfs/src/git/autosynth/working_repo/protos/protos".google.privacy.dlp.v2' has no exported member 'IFinishDlpJobRequest'.

�[7m2309�[0m           protosTypes.google.privacy.dlp.v2.IFinishDlpJobRequest|undefined,
�[7m    �[0m �[91m                                            ~~~~~~~~~~~~~~~~~~~~�[0m

�[96msrc/v2/dlp_service_client.ts�[0m:�[93m2329�[0m:�[93m50�[0m - �[91merror�[0m�[90m TS2694: �[0mNamespace '"/tmpfs/src/git/autosynth/working_repo/protos/protos".google.privacy.dlp.v2' has no exported member 'IFinishDlpJobRequest'.

�[7m2329�[0m       request: protosTypes.google.privacy.dlp.v2.IFinishDlpJobRequest,
�[7m    �[0m �[91m                                                 ~~~~~~~~~~~~~~~~~~~~�[0m

�[96msrc/v2/dlp_service_client.ts�[0m:�[93m2332�[0m:�[93m45�[0m - �[91merror�[0m�[90m TS2694: �[0mNamespace '"/tmpfs/src/git/autosynth/working_repo/protos/protos".google.privacy.dlp.v2' has no exported member 'IFinishDlpJobRequest'.

�[7m2332�[0m           protosTypes.google.privacy.dlp.v2.IFinishDlpJobRequest|undefined, {}|undefined>,
�[7m    �[0m �[91m                                            ~~~~~~~~~~~~~~~~~~~~�[0m

�[96msrc/v2/dlp_service_client.ts�[0m:�[93m2335�[0m:�[93m45�[0m - �[91merror�[0m�[90m TS2694: �[0mNamespace '"/tmpfs/src/git/autosynth/working_repo/protos/protos".google.privacy.dlp.v2' has no exported member 'IFinishDlpJobRequest'.

�[7m2335�[0m           protosTypes.google.privacy.dlp.v2.IFinishDlpJobRequest|undefined,
�[7m    �[0m �[91m                                            ~~~~~~~~~~~~~~~~~~~~�[0m

�[96msrc/v2/dlp_service_client.ts�[0m:�[93m2339�[0m:�[93m43�[0m - �[91merror�[0m�[90m TS2694: �[0mNamespace '"/tmpfs/src/git/autosynth/working_repo/protos/protos".google.privacy.dlp.v2' has no exported member 'IFinishDlpJobRequest'.

�[7m2339�[0m         protosTypes.google.privacy.dlp.v2.IFinishDlpJobRequest|undefined, {}|undefined
�[7m    �[0m �[91m                                          ~~~~~~~~~~~~~~~~~~~~�[0m

�[96mtest/gapic-dlp_service-v2.ts�[0m:�[93m884�[0m:�[93m62�[0m - �[91merror�[0m�[90m TS2694: �[0mNamespace '"/tmpfs/src/git/autosynth/working_repo/protos/protos".google.privacy.dlp.v2' has no exported member 'IHybridInspectJobTriggerRequest'.

�[7m884�[0m             const request: protosTypes.google.privacy.dlp.v2.IHybridInspectJobTriggerRequest = {};
�[7m   �[0m �[91m                                                             ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~�[0m

�[96mtest/gapic-dlp_service-v2.ts�[0m:�[93m909�[0m:�[93m62�[0m - �[91merror�[0m�[90m TS2694: �[0mNamespace '"/tmpfs/src/git/autosynth/working_repo/protos/protos".google.privacy.dlp.v2' has no exported member 'IHybridInspectJobTriggerRequest'.

�[7m909�[0m             const request: protosTypes.google.privacy.dlp.v2.IHybridInspectJobTriggerRequest = {};
�[7m   �[0m �[91m                                                             ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~�[0m

�[96mtest/gapic-dlp_service-v2.ts�[0m:�[93m1508�[0m:�[93m62�[0m - �[91merror�[0m�[90m TS2694: �[0mNamespace '"/tmpfs/src/git/autosynth/working_repo/protos/protos".google.privacy.dlp.v2' has no exported member 'IHybridInspectDlpJobRequest'.

�[7m1508�[0m             const request: protosTypes.google.privacy.dlp.v2.IHybridInspectDlpJobRequest = {};
�[7m    �[0m �[91m                                                             ~~~~~~~~~~~~~~~~~~~~~~~~~~~�[0m

�[96mtest/gapic-dlp_service-v2.ts�[0m:�[93m1533�[0m:�[93m62�[0m - �[91merror�[0m�[90m TS2694: �[0mNamespace '"/tmpfs/src/git/autosynth/working_repo/protos/protos".google.privacy.dlp.v2' has no exported member 'IHybridInspectDlpJobRequest'.

�[7m1533�[0m             const request: protosTypes.google.privacy.dlp.v2.IHybridInspectDlpJobRequest = {};
�[7m    �[0m �[91m                                                             ~~~~~~~~~~~~~~~~~~~~~~~~~~~�[0m

�[96mtest/gapic-dlp_service-v2.ts�[0m:�[93m1560�[0m:�[93m62�[0m - �[91merror�[0m�[90m TS2694: �[0mNamespace '"/tmpfs/src/git/autosynth/working_repo/protos/protos".google.privacy.dlp.v2' has no exported member 'IFinishDlpJobRequest'.

�[7m1560�[0m             const request: protosTypes.google.privacy.dlp.v2.IFinishDlpJobRequest = {};
�[7m    �[0m �[91m                                                             ~~~~~~~~~~~~~~~~~~~~�[0m

�[96mtest/gapic-dlp_service-v2.ts�[0m:�[93m1585�[0m:�[93m62�[0m - �[91merror�[0m�[90m TS2694: �[0mNamespace '"/tmpfs/src/git/autosynth/working_repo/protos/protos".google.privacy.dlp.v2' has no exported member 'IFinishDlpJobRequest'.

�[7m1585�[0m             const request: protosTypes.google.privacy.dlp.v2.IFinishDlpJobRequest = {};
�[7m    �[0m �[91m                                                             ~~~~~~~~~~~~~~~~~~~~�[0m


Found 40 errors.

npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! @google-cloud/dlp@2.2.0 compile: `tsc -p . && cp -r protos build/`
npm ERR! Exit status 1
npm ERR! 
npm ERR! Failed at the @google-cloud/dlp@2.2.0 compile 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-03-22T11_25_50_807Z-debug.log
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! @google-cloud/dlp@2.2.0 prepare: `npm run compile`
npm ERR! Exit status 1
npm ERR! 
npm ERR! Failed at the @google-cloud/dlp@2.2.0 prepare 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-03-22T11_25_50_858Z-debug.log
npm WARN npm npm does not support Node.js v12.16.1
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/dlp@2.2.0 fix /tmpfs/src/git/autosynth/working_repo
> gts fix

npm WARN npm npm does not support Node.js v12.16.1
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/

Usage: npm <command>

where <command> is one of:
    access, adduser, audit, bin, bugs, c, cache, ci, cit,
    completion, config, create, ddp, dedupe, deprecate,
    dist-tag, docs, doctor, edit, explore, get, help,
    help-search, hook, i, init, install, install-test, it, link,
    list, ln, login, logout, ls, outdated, owner, pack, ping,
    prefix, profile, prune, publish, rb, rebuild, repo, restart,
    root, run, run-script, s, se, search, set, shrinkwrap, star,
    stars, start, stop, t, team, test, token, tst, un,
    uninstall, unpublish, unstar, up, update, v, version, view,
    whoami

npm <command> -h     quick help on <command>
npm -l           display full usage info
npm help <term>  search for help on <term>
npm help npm     involved overview

Specify configs in the ini-formatted file:
    /home/kbuilder/.npmrc
or on the command line via: npm <command> --key value
Config info can be viewed via: npm help config

npm@6.1.0 /usr/local/lib/node_modules/npm

Did you mean this?
    completion
2020-03-22 04:26:00,044 synthtool > Wrote metadata to synth.metadata.

```
</details>
  • Loading branch information
yoshi-automation committed Mar 25, 2020
1 parent 0b66083 commit 0c2a30f
Show file tree
Hide file tree
Showing 16 changed files with 12,384 additions and 5,535 deletions.
2 changes: 1 addition & 1 deletion packages/google-privacy-dlp/.jsdoc.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2019 Google LLC
// 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.
Expand Down
631 changes: 471 additions & 160 deletions packages/google-privacy-dlp/protos/google/privacy/dlp/v2/dlp.proto

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2019 Google LLC.
// 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.
Expand All @@ -11,7 +11,6 @@
// 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.
//

syntax = "proto3";

Expand Down Expand Up @@ -134,9 +133,7 @@ message CustomInfoType {
// output. This should be used in conjunction with a field on the
// transformation such as `surrogate_info_type`. This CustomInfoType does
// not support the use of `detection_rules`.
message SurrogateType {

}
message SurrogateType {}

// Deprecated; use `InspectionRuleSet` instead. Rule for modifying a
// `CustomInfoType` to alter behavior under certain circumstances, depending
Expand Down Expand Up @@ -435,8 +432,11 @@ message BigQueryOptions {
// Complete BigQuery table reference.
BigQueryTable table_reference = 1;

// References to fields uniquely identifying rows within the table.
// Nested fields in the format, like `person.birthdate.year`, are allowed.
// Table fields that may uniquely identify a row within the table. When
// `actions.saveFindings.outputConfig.table` is specified, the values of
// columns specified here are available in the output table under
// `location.content_locations.record_location.record_key.id_values`. Nested
// fields such as `person.birthdate.year` are allowed.
repeated FieldId identifying_fields = 2;

// Max number of rows to scan. If the table has more rows than this value, the
Expand Down Expand Up @@ -495,14 +495,20 @@ message StorageConfig {
}

oneof type {
// Google Cloud Datastore options specification.
// Google Cloud Datastore options.
DatastoreOptions datastore_options = 2;

// Google Cloud Storage options specification.
// Google Cloud Storage options.
CloudStorageOptions cloud_storage_options = 3;

// BigQuery options specification.
// BigQuery options.
BigQueryOptions big_query_options = 4;

// Hybrid inspection options.
// Early access feature is in a pre-release state and might change or have
// limited support. For more information, see
// https://cloud.google.com/products#product-launch-stages.
HybridOptions hybrid_options = 9;
}

TimespanConfig timespan_config = 6;
Expand Down Expand Up @@ -534,13 +540,52 @@ enum FileType {
AVRO = 7;
}

// Configuration to control jobs where the content being inspected is outside
// of Google Cloud Platform.
message HybridOptions {
// A short description of where the data is coming from. Will be stored once
// in the job. 256 max length.
string description = 1;

// These are labels that each inspection request must include within their
// 'finding_labels' map. Request may contain others, but any missing one of
// these will be rejected.
//
// Label keys must be between 1 and 63 characters long and must conform
// to the following regular expression: \[a-z\](\[-a-z0-9\]*\[a-z0-9\])?.
//
// No more than 10 keys can be required.
repeated string required_finding_label_keys = 2;

// To organize findings, these labels will be added to each finding.
//
// Label keys must be between 1 and 63 characters long and must conform
// to the following regular expression: \[a-z\](\[-a-z0-9\]*\[a-z0-9\])?.
//
// Label values must be between 0 and 63 characters long and must conform
// to the regular expression (\[a-z\](\[-a-z0-9\]*\[a-z0-9\])?)?.
//
// No more than 10 labels can be associated with a given finding.
//
// Example: <code>"environment" : "production"</code>
// Example: <code>"pipeline" : "etl"</code>
map<string, string> labels = 3;

// If the container is a table, additional information to make findings
// meaningful such as the columns that are primary keys.
TableOptions table_options = 4;
}

// Row key for identifying a record in BigQuery table.
message BigQueryKey {
// Complete BigQuery table reference.
BigQueryTable table_reference = 1;

// Absolute number of the row from the beginning of the table at the time
// of scanning.
// Row number inferred at the time the table was scanned. This value is
// nondeterministic, cannot be queried, and may be null for inspection
// jobs. To locate findings within a table, specify
// `inspect_job.storage_config.big_query_options.identifying_fields` in
// `CreateDlpJobRequest`.
int64 row_number = 2;
}

Expand Down Expand Up @@ -607,7 +652,7 @@ message RecordKey {
}

// Values of identifying columns in the given row. Order of values matches
// the order of field identifiers specified in the scanning request.
// the order of `identifying_fields` specified in the scanning request.
repeated string id_values = 5;
}

Expand Down Expand Up @@ -646,3 +691,12 @@ message EntityId {
// Composite key indicating which field contains the entity identifier.
FieldId field = 1;
}

// Instructions regarding the table content being inspected.
message TableOptions {
// The columns that are the primary keys for table objects included in
// ContentItem. A copy of this cell's value will stored alongside alongside
// each finding so that the finding can be traced to the specific row it came
// from. No more than 3 may be provided.
repeated FieldId identifying_fields = 1;
}
Loading

0 comments on commit 0c2a30f

Please sign in to comment.