diff --git a/.release-please-manifest.json b/.release-please-manifest.json
index c38b0a70276..39ea854ee41 100644
--- a/.release-please-manifest.json
+++ b/.release-please-manifest.json
@@ -34,6 +34,7 @@
"packages/google-cloud-texttospeech": "4.0.4",
"packages/google-cloud-translate": "7.0.4",
"packages/google-cloud-videointelligence": "4.1.1",
+ "packages/google-cloud-websecurityscanner": "2.1.3",
"packages/google-container": "4.4.0",
"packages/google-devtools-artifactregistry": "2.0.2",
"packages/google-iam": "0.2.2",
diff --git a/packages/google-cloud-websecurityscanner/.github/.OwlBot.yaml b/packages/google-cloud-websecurityscanner/.OwlBot.yaml
similarity index 78%
rename from packages/google-cloud-websecurityscanner/.github/.OwlBot.yaml
rename to packages/google-cloud-websecurityscanner/.OwlBot.yaml
index 83ee7372c75..f5c930a8860 100644
--- a/packages/google-cloud-websecurityscanner/.github/.OwlBot.yaml
+++ b/packages/google-cloud-websecurityscanner/.OwlBot.yaml
@@ -11,13 +11,11 @@
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
-docker:
- image: gcr.io/cloud-devrel-public-resources/owlbot-nodejs:latest
deep-remove-regex:
- /owl-bot-staging
deep-copy-regex:
- - source: /google/cloud/websecurityscanner/(.*)/.*-nodejs/(.*)
- dest: /owl-bot-staging/$1/$2
+ - source: /google/cloud/websecurityscanner/(.*)/.*-nodejs
+ dest: /owl-bot-staging/google-cloud-websecurityscanner/$1
diff --git a/packages/google-cloud-websecurityscanner/.mocharc.js b/packages/google-cloud-websecurityscanner/.mocharc.js
index 0b600509bed..cdb7b752160 100644
--- a/packages/google-cloud-websecurityscanner/.mocharc.js
+++ b/packages/google-cloud-websecurityscanner/.mocharc.js
@@ -1,4 +1,4 @@
-// Copyright 2020 Google LLC
+// 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.
diff --git a/packages/google-cloud-websecurityscanner/.prettierrc.js b/packages/google-cloud-websecurityscanner/.prettierrc.js
index d1b95106f4c..d546a4ad546 100644
--- a/packages/google-cloud-websecurityscanner/.prettierrc.js
+++ b/packages/google-cloud-websecurityscanner/.prettierrc.js
@@ -1,4 +1,4 @@
-// Copyright 2020 Google LLC
+// 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.
diff --git a/packages/google-cloud-websecurityscanner/.repo-metadata.json b/packages/google-cloud-websecurityscanner/.repo-metadata.json
index d1c0542e290..a37b5113f38 100644
--- a/packages/google-cloud-websecurityscanner/.repo-metadata.json
+++ b/packages/google-cloud-websecurityscanner/.repo-metadata.json
@@ -6,11 +6,11 @@
"default_version": "v1beta",
"language": "nodejs",
"name_pretty": "Web Security Scanner",
- "repo": "googleapis/nodejs-web-security-scanner",
+ "repo": "googleapis/google-cloud-node",
"product_documentation": "https://cloud.google.com/security-scanner/",
"requires_billing": true,
"name": "websecurityscanner",
- "issue_tracker": "https://github.com/googleapis/nodejs-web-security-scanner/issues",
+ "issue_tracker": "https://github.com/googleapis/google-cloud-node/issues",
"api_shortname": "websecurityscanner",
"library_type": "GAPIC_AUTO"
}
diff --git a/packages/google-cloud-websecurityscanner/README.md b/packages/google-cloud-websecurityscanner/README.md
index f8b9be08c6b..108d5c5956e 100644
--- a/packages/google-cloud-websecurityscanner/README.md
+++ b/packages/google-cloud-websecurityscanner/README.md
@@ -2,7 +2,7 @@
[//]: # "To regenerate it, use `python -m synthtool`."
-# [Web Security Scanner: Node.js Client](https://github.com/googleapis/nodejs-web-security-scanner)
+# [Web Security Scanner: Node.js Client](https://github.com/googleapis/google-cloud-node)
[](https://cloud.google.com/terms/launch-stages)
[](https://www.npmjs.org/package/@google-cloud/web-security-scanner)
@@ -14,11 +14,11 @@ Websecurityscanner client for Node.js
A comprehensive list of changes in each version may be found in
-[the CHANGELOG](https://github.com/googleapis/nodejs-web-security-scanner/blob/main/CHANGELOG.md).
+[the CHANGELOG](https://github.com/googleapis/google-cloud-node/tree/main/packages/google-cloud-websecurityscanner/CHANGELOG.md).
* [Web Security Scanner Node.js Client API Reference][client-docs]
* [Web Security Scanner Documentation][product-docs]
-* [github.com/googleapis/nodejs-web-security-scanner](https://github.com/googleapis/nodejs-web-security-scanner)
+* [github.com/googleapis/google-cloud-node/packages/google-cloud-websecurityscanner](https://github.com/googleapis/google-cloud-node/tree/main/packages/google-cloud-websecurityscanner)
Read more about the client libraries for Cloud APIs, including the older
Google APIs Client Libraries, in [Client Libraries Explained][explained].
@@ -87,11 +87,51 @@ listConfigs();
## Samples
-Samples are in the [`samples/`](https://github.com/googleapis/nodejs-web-security-scanner/tree/main/samples) directory. Each sample's `README.md` has instructions for running its sample.
+Samples are in the [`samples/`](https://github.com/googleapis/google-cloud-node/tree/main/samples) directory. Each sample's `README.md` has instructions for running its sample.
| Sample | Source Code | Try it |
| --------------------------- | --------------------------------- | ------ |
-| Quickstart | [source code](https://github.com/googleapis/nodejs-web-security-scanner/blob/main/samples/quickstart.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/nodejs-web-security-scanner&page=editor&open_in_editor=samples/quickstart.js,samples/README.md) |
+| Web_security_scanner.create_scan_config | [source code](https://github.com/googleapis/google-cloud-node/blob/main//workspace/google-cloud-node/samples/generated/v1/web_security_scanner.create_scan_config.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=/workspace/google-cloud-node/samples/generated/v1/web_security_scanner.create_scan_config.js,samples/README.md) |
+| Web_security_scanner.delete_scan_config | [source code](https://github.com/googleapis/google-cloud-node/blob/main//workspace/google-cloud-node/samples/generated/v1/web_security_scanner.delete_scan_config.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=/workspace/google-cloud-node/samples/generated/v1/web_security_scanner.delete_scan_config.js,samples/README.md) |
+| Web_security_scanner.get_finding | [source code](https://github.com/googleapis/google-cloud-node/blob/main//workspace/google-cloud-node/samples/generated/v1/web_security_scanner.get_finding.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=/workspace/google-cloud-node/samples/generated/v1/web_security_scanner.get_finding.js,samples/README.md) |
+| Web_security_scanner.get_scan_config | [source code](https://github.com/googleapis/google-cloud-node/blob/main//workspace/google-cloud-node/samples/generated/v1/web_security_scanner.get_scan_config.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=/workspace/google-cloud-node/samples/generated/v1/web_security_scanner.get_scan_config.js,samples/README.md) |
+| Web_security_scanner.get_scan_run | [source code](https://github.com/googleapis/google-cloud-node/blob/main//workspace/google-cloud-node/samples/generated/v1/web_security_scanner.get_scan_run.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=/workspace/google-cloud-node/samples/generated/v1/web_security_scanner.get_scan_run.js,samples/README.md) |
+| Web_security_scanner.list_crawled_urls | [source code](https://github.com/googleapis/google-cloud-node/blob/main//workspace/google-cloud-node/samples/generated/v1/web_security_scanner.list_crawled_urls.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=/workspace/google-cloud-node/samples/generated/v1/web_security_scanner.list_crawled_urls.js,samples/README.md) |
+| Web_security_scanner.list_finding_type_stats | [source code](https://github.com/googleapis/google-cloud-node/blob/main//workspace/google-cloud-node/samples/generated/v1/web_security_scanner.list_finding_type_stats.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=/workspace/google-cloud-node/samples/generated/v1/web_security_scanner.list_finding_type_stats.js,samples/README.md) |
+| Web_security_scanner.list_findings | [source code](https://github.com/googleapis/google-cloud-node/blob/main//workspace/google-cloud-node/samples/generated/v1/web_security_scanner.list_findings.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=/workspace/google-cloud-node/samples/generated/v1/web_security_scanner.list_findings.js,samples/README.md) |
+| Web_security_scanner.list_scan_configs | [source code](https://github.com/googleapis/google-cloud-node/blob/main//workspace/google-cloud-node/samples/generated/v1/web_security_scanner.list_scan_configs.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=/workspace/google-cloud-node/samples/generated/v1/web_security_scanner.list_scan_configs.js,samples/README.md) |
+| Web_security_scanner.list_scan_runs | [source code](https://github.com/googleapis/google-cloud-node/blob/main//workspace/google-cloud-node/samples/generated/v1/web_security_scanner.list_scan_runs.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=/workspace/google-cloud-node/samples/generated/v1/web_security_scanner.list_scan_runs.js,samples/README.md) |
+| Web_security_scanner.start_scan_run | [source code](https://github.com/googleapis/google-cloud-node/blob/main//workspace/google-cloud-node/samples/generated/v1/web_security_scanner.start_scan_run.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=/workspace/google-cloud-node/samples/generated/v1/web_security_scanner.start_scan_run.js,samples/README.md) |
+| Web_security_scanner.stop_scan_run | [source code](https://github.com/googleapis/google-cloud-node/blob/main//workspace/google-cloud-node/samples/generated/v1/web_security_scanner.stop_scan_run.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=/workspace/google-cloud-node/samples/generated/v1/web_security_scanner.stop_scan_run.js,samples/README.md) |
+| Web_security_scanner.update_scan_config | [source code](https://github.com/googleapis/google-cloud-node/blob/main//workspace/google-cloud-node/samples/generated/v1/web_security_scanner.update_scan_config.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=/workspace/google-cloud-node/samples/generated/v1/web_security_scanner.update_scan_config.js,samples/README.md) |
+| Web_security_scanner.create_scan_config | [source code](https://github.com/googleapis/google-cloud-node/blob/main//workspace/google-cloud-node/samples/generated/v1alpha/web_security_scanner.create_scan_config.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=/workspace/google-cloud-node/samples/generated/v1alpha/web_security_scanner.create_scan_config.js,samples/README.md) |
+| Web_security_scanner.delete_scan_config | [source code](https://github.com/googleapis/google-cloud-node/blob/main//workspace/google-cloud-node/samples/generated/v1alpha/web_security_scanner.delete_scan_config.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=/workspace/google-cloud-node/samples/generated/v1alpha/web_security_scanner.delete_scan_config.js,samples/README.md) |
+| Web_security_scanner.get_finding | [source code](https://github.com/googleapis/google-cloud-node/blob/main//workspace/google-cloud-node/samples/generated/v1alpha/web_security_scanner.get_finding.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=/workspace/google-cloud-node/samples/generated/v1alpha/web_security_scanner.get_finding.js,samples/README.md) |
+| Web_security_scanner.get_scan_config | [source code](https://github.com/googleapis/google-cloud-node/blob/main//workspace/google-cloud-node/samples/generated/v1alpha/web_security_scanner.get_scan_config.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=/workspace/google-cloud-node/samples/generated/v1alpha/web_security_scanner.get_scan_config.js,samples/README.md) |
+| Web_security_scanner.get_scan_run | [source code](https://github.com/googleapis/google-cloud-node/blob/main//workspace/google-cloud-node/samples/generated/v1alpha/web_security_scanner.get_scan_run.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=/workspace/google-cloud-node/samples/generated/v1alpha/web_security_scanner.get_scan_run.js,samples/README.md) |
+| Web_security_scanner.list_crawled_urls | [source code](https://github.com/googleapis/google-cloud-node/blob/main//workspace/google-cloud-node/samples/generated/v1alpha/web_security_scanner.list_crawled_urls.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=/workspace/google-cloud-node/samples/generated/v1alpha/web_security_scanner.list_crawled_urls.js,samples/README.md) |
+| Web_security_scanner.list_finding_type_stats | [source code](https://github.com/googleapis/google-cloud-node/blob/main//workspace/google-cloud-node/samples/generated/v1alpha/web_security_scanner.list_finding_type_stats.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=/workspace/google-cloud-node/samples/generated/v1alpha/web_security_scanner.list_finding_type_stats.js,samples/README.md) |
+| Web_security_scanner.list_findings | [source code](https://github.com/googleapis/google-cloud-node/blob/main//workspace/google-cloud-node/samples/generated/v1alpha/web_security_scanner.list_findings.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=/workspace/google-cloud-node/samples/generated/v1alpha/web_security_scanner.list_findings.js,samples/README.md) |
+| Web_security_scanner.list_scan_configs | [source code](https://github.com/googleapis/google-cloud-node/blob/main//workspace/google-cloud-node/samples/generated/v1alpha/web_security_scanner.list_scan_configs.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=/workspace/google-cloud-node/samples/generated/v1alpha/web_security_scanner.list_scan_configs.js,samples/README.md) |
+| Web_security_scanner.list_scan_runs | [source code](https://github.com/googleapis/google-cloud-node/blob/main//workspace/google-cloud-node/samples/generated/v1alpha/web_security_scanner.list_scan_runs.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=/workspace/google-cloud-node/samples/generated/v1alpha/web_security_scanner.list_scan_runs.js,samples/README.md) |
+| Web_security_scanner.start_scan_run | [source code](https://github.com/googleapis/google-cloud-node/blob/main//workspace/google-cloud-node/samples/generated/v1alpha/web_security_scanner.start_scan_run.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=/workspace/google-cloud-node/samples/generated/v1alpha/web_security_scanner.start_scan_run.js,samples/README.md) |
+| Web_security_scanner.stop_scan_run | [source code](https://github.com/googleapis/google-cloud-node/blob/main//workspace/google-cloud-node/samples/generated/v1alpha/web_security_scanner.stop_scan_run.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=/workspace/google-cloud-node/samples/generated/v1alpha/web_security_scanner.stop_scan_run.js,samples/README.md) |
+| Web_security_scanner.update_scan_config | [source code](https://github.com/googleapis/google-cloud-node/blob/main//workspace/google-cloud-node/samples/generated/v1alpha/web_security_scanner.update_scan_config.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=/workspace/google-cloud-node/samples/generated/v1alpha/web_security_scanner.update_scan_config.js,samples/README.md) |
+| Web_security_scanner.create_scan_config | [source code](https://github.com/googleapis/google-cloud-node/blob/main//workspace/google-cloud-node/samples/generated/v1beta/web_security_scanner.create_scan_config.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=/workspace/google-cloud-node/samples/generated/v1beta/web_security_scanner.create_scan_config.js,samples/README.md) |
+| Web_security_scanner.delete_scan_config | [source code](https://github.com/googleapis/google-cloud-node/blob/main//workspace/google-cloud-node/samples/generated/v1beta/web_security_scanner.delete_scan_config.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=/workspace/google-cloud-node/samples/generated/v1beta/web_security_scanner.delete_scan_config.js,samples/README.md) |
+| Web_security_scanner.get_finding | [source code](https://github.com/googleapis/google-cloud-node/blob/main//workspace/google-cloud-node/samples/generated/v1beta/web_security_scanner.get_finding.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=/workspace/google-cloud-node/samples/generated/v1beta/web_security_scanner.get_finding.js,samples/README.md) |
+| Web_security_scanner.get_scan_config | [source code](https://github.com/googleapis/google-cloud-node/blob/main//workspace/google-cloud-node/samples/generated/v1beta/web_security_scanner.get_scan_config.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=/workspace/google-cloud-node/samples/generated/v1beta/web_security_scanner.get_scan_config.js,samples/README.md) |
+| Web_security_scanner.get_scan_run | [source code](https://github.com/googleapis/google-cloud-node/blob/main//workspace/google-cloud-node/samples/generated/v1beta/web_security_scanner.get_scan_run.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=/workspace/google-cloud-node/samples/generated/v1beta/web_security_scanner.get_scan_run.js,samples/README.md) |
+| Web_security_scanner.list_crawled_urls | [source code](https://github.com/googleapis/google-cloud-node/blob/main//workspace/google-cloud-node/samples/generated/v1beta/web_security_scanner.list_crawled_urls.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=/workspace/google-cloud-node/samples/generated/v1beta/web_security_scanner.list_crawled_urls.js,samples/README.md) |
+| Web_security_scanner.list_finding_type_stats | [source code](https://github.com/googleapis/google-cloud-node/blob/main//workspace/google-cloud-node/samples/generated/v1beta/web_security_scanner.list_finding_type_stats.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=/workspace/google-cloud-node/samples/generated/v1beta/web_security_scanner.list_finding_type_stats.js,samples/README.md) |
+| Web_security_scanner.list_findings | [source code](https://github.com/googleapis/google-cloud-node/blob/main//workspace/google-cloud-node/samples/generated/v1beta/web_security_scanner.list_findings.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=/workspace/google-cloud-node/samples/generated/v1beta/web_security_scanner.list_findings.js,samples/README.md) |
+| Web_security_scanner.list_scan_configs | [source code](https://github.com/googleapis/google-cloud-node/blob/main//workspace/google-cloud-node/samples/generated/v1beta/web_security_scanner.list_scan_configs.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=/workspace/google-cloud-node/samples/generated/v1beta/web_security_scanner.list_scan_configs.js,samples/README.md) |
+| Web_security_scanner.list_scan_runs | [source code](https://github.com/googleapis/google-cloud-node/blob/main//workspace/google-cloud-node/samples/generated/v1beta/web_security_scanner.list_scan_runs.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=/workspace/google-cloud-node/samples/generated/v1beta/web_security_scanner.list_scan_runs.js,samples/README.md) |
+| Web_security_scanner.start_scan_run | [source code](https://github.com/googleapis/google-cloud-node/blob/main//workspace/google-cloud-node/samples/generated/v1beta/web_security_scanner.start_scan_run.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=/workspace/google-cloud-node/samples/generated/v1beta/web_security_scanner.start_scan_run.js,samples/README.md) |
+| Web_security_scanner.stop_scan_run | [source code](https://github.com/googleapis/google-cloud-node/blob/main//workspace/google-cloud-node/samples/generated/v1beta/web_security_scanner.stop_scan_run.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=/workspace/google-cloud-node/samples/generated/v1beta/web_security_scanner.stop_scan_run.js,samples/README.md) |
+| Web_security_scanner.update_scan_config | [source code](https://github.com/googleapis/google-cloud-node/blob/main//workspace/google-cloud-node/samples/generated/v1beta/web_security_scanner.update_scan_config.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=/workspace/google-cloud-node/samples/generated/v1beta/web_security_scanner.update_scan_config.js,samples/README.md) |
+| Quickstart | [source code](https://github.com/googleapis/google-cloud-node/blob/main//workspace/google-cloud-node/samples/quickstart.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=/workspace/google-cloud-node/samples/quickstart.js,samples/README.md) |
+| Quickstart | [source code](https://github.com/googleapis/google-cloud-node/blob/main//workspace/google-cloud-node/samples/test/quickstart.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=/workspace/google-cloud-node/samples/test/quickstart.js,samples/README.md) |
@@ -141,7 +181,7 @@ More Information: [Google Cloud Platform Launch Stages][launch_stages]
## Contributing
-Contributions welcome! See the [Contributing Guide](https://github.com/googleapis/nodejs-web-security-scanner/blob/main/CONTRIBUTING.md).
+Contributions welcome! See the [Contributing Guide](https://github.com/googleapis/google-cloud-node/blob/main/CONTRIBUTING.md).
Please note that this `README.md`, the `samples/README.md`,
and a variety of configuration files in this repository (including `.nycrc` and `tsconfig.json`)
@@ -153,7 +193,7 @@ to its templates in
Apache Version 2.0
-See [LICENSE](https://github.com/googleapis/nodejs-web-security-scanner/blob/main/LICENSE)
+See [LICENSE](https://github.com/googleapis/google-cloud-node/blob/main/LICENSE)
[client-docs]: https://cloud.google.com/nodejs/docs/reference/web-security-scanner/latest
[product-docs]: https://cloud.google.com/security-scanner/
diff --git a/packages/google-cloud-websecurityscanner/package.json b/packages/google-cloud-websecurityscanner/package.json
index 9eda94c01ef..b86191934db 100644
--- a/packages/google-cloud-websecurityscanner/package.json
+++ b/packages/google-cloud-websecurityscanner/package.json
@@ -2,7 +2,11 @@
"name": "@google-cloud/web-security-scanner",
"version": "2.1.3",
"description": "Websecurityscanner client for Node.js",
- "repository": "googleapis/nodejs-web-security-scanner",
+ "repository": {
+ "type": "git",
+ "directory": "packages/google-cloud-websecurityscanner",
+ "url": "https://github.com/googleapis/google-cloud-node.git"
+ },
"license": "Apache-2.0",
"author": "Google LLC",
"main": "build/src/index.js",
@@ -33,9 +37,9 @@
"fix": "gts fix",
"lint": "gts check",
"prepare": "npm run compile-protos && npm run compile",
- "system-test": "c8 mocha build/system-test",
+ "system-test": "npm run compile && c8 mocha build/system-test",
"test": "c8 mocha build/test",
- "samples-test": "cd samples/ && npm link ../ && npm test",
+ "samples-test": "npm run compile && cd samples/ && npm link ../ && npm i && npm test",
"prelint": "cd samples; npm link ../; npm i"
},
"dependencies": {
@@ -62,5 +66,6 @@
},
"engines": {
"node": ">=12.0.0"
- }
+ },
+ "homepage": "https://github.com/googleapis/google-cloud-node/tree/main/packages/google-cloud-websecurityscanner"
}
diff --git a/packages/google-cloud-websecurityscanner/samples/README.md b/packages/google-cloud-websecurityscanner/samples/README.md
index 6cb716ddcd7..8c6dce86fe3 100644
--- a/packages/google-cloud-websecurityscanner/samples/README.md
+++ b/packages/google-cloud-websecurityscanner/samples/README.md
@@ -2,7 +2,7 @@
[//]: # "To regenerate it, use `python -m synthtool`."
-# [Web Security Scanner: Node.js Samples](https://github.com/googleapis/nodejs-web-security-scanner)
+# [Web Security Scanner: Node.js Samples](https://github.com/googleapis/google-cloud-node)
[![Open in Cloud Shell][shell_img]][shell_link]
@@ -12,12 +12,52 @@
* [Before you begin](#before-you-begin)
* [Samples](#samples)
+ * [Web_security_scanner.create_scan_config](#web_security_scanner.create_scan_config)
+ * [Web_security_scanner.delete_scan_config](#web_security_scanner.delete_scan_config)
+ * [Web_security_scanner.get_finding](#web_security_scanner.get_finding)
+ * [Web_security_scanner.get_scan_config](#web_security_scanner.get_scan_config)
+ * [Web_security_scanner.get_scan_run](#web_security_scanner.get_scan_run)
+ * [Web_security_scanner.list_crawled_urls](#web_security_scanner.list_crawled_urls)
+ * [Web_security_scanner.list_finding_type_stats](#web_security_scanner.list_finding_type_stats)
+ * [Web_security_scanner.list_findings](#web_security_scanner.list_findings)
+ * [Web_security_scanner.list_scan_configs](#web_security_scanner.list_scan_configs)
+ * [Web_security_scanner.list_scan_runs](#web_security_scanner.list_scan_runs)
+ * [Web_security_scanner.start_scan_run](#web_security_scanner.start_scan_run)
+ * [Web_security_scanner.stop_scan_run](#web_security_scanner.stop_scan_run)
+ * [Web_security_scanner.update_scan_config](#web_security_scanner.update_scan_config)
+ * [Web_security_scanner.create_scan_config](#web_security_scanner.create_scan_config)
+ * [Web_security_scanner.delete_scan_config](#web_security_scanner.delete_scan_config)
+ * [Web_security_scanner.get_finding](#web_security_scanner.get_finding)
+ * [Web_security_scanner.get_scan_config](#web_security_scanner.get_scan_config)
+ * [Web_security_scanner.get_scan_run](#web_security_scanner.get_scan_run)
+ * [Web_security_scanner.list_crawled_urls](#web_security_scanner.list_crawled_urls)
+ * [Web_security_scanner.list_finding_type_stats](#web_security_scanner.list_finding_type_stats)
+ * [Web_security_scanner.list_findings](#web_security_scanner.list_findings)
+ * [Web_security_scanner.list_scan_configs](#web_security_scanner.list_scan_configs)
+ * [Web_security_scanner.list_scan_runs](#web_security_scanner.list_scan_runs)
+ * [Web_security_scanner.start_scan_run](#web_security_scanner.start_scan_run)
+ * [Web_security_scanner.stop_scan_run](#web_security_scanner.stop_scan_run)
+ * [Web_security_scanner.update_scan_config](#web_security_scanner.update_scan_config)
+ * [Web_security_scanner.create_scan_config](#web_security_scanner.create_scan_config)
+ * [Web_security_scanner.delete_scan_config](#web_security_scanner.delete_scan_config)
+ * [Web_security_scanner.get_finding](#web_security_scanner.get_finding)
+ * [Web_security_scanner.get_scan_config](#web_security_scanner.get_scan_config)
+ * [Web_security_scanner.get_scan_run](#web_security_scanner.get_scan_run)
+ * [Web_security_scanner.list_crawled_urls](#web_security_scanner.list_crawled_urls)
+ * [Web_security_scanner.list_finding_type_stats](#web_security_scanner.list_finding_type_stats)
+ * [Web_security_scanner.list_findings](#web_security_scanner.list_findings)
+ * [Web_security_scanner.list_scan_configs](#web_security_scanner.list_scan_configs)
+ * [Web_security_scanner.list_scan_runs](#web_security_scanner.list_scan_runs)
+ * [Web_security_scanner.start_scan_run](#web_security_scanner.start_scan_run)
+ * [Web_security_scanner.stop_scan_run](#web_security_scanner.stop_scan_run)
+ * [Web_security_scanner.update_scan_config](#web_security_scanner.update_scan_config)
+ * [Quickstart](#quickstart)
* [Quickstart](#quickstart)
## Before you begin
Before running the samples, make sure you've followed the steps outlined in
-[Using the client library](https://github.com/googleapis/nodejs-web-security-scanner#using-the-client-library).
+[Using the client library](https://github.com/googleapis/google-cloud-node#using-the-client-library).
`cd samples`
@@ -29,16 +69,696 @@ Before running the samples, make sure you've followed the steps outlined in
+### Web_security_scanner.create_scan_config
+
+View the [source code](https://github.com/googleapis/google-cloud-node/blob/main//workspace/google-cloud-node/samples/generated/v1/web_security_scanner.create_scan_config.js).
+
+[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=/workspace/google-cloud-node/samples/generated/v1/web_security_scanner.create_scan_config.js,samples/README.md)
+
+__Usage:__
+
+
+`node /workspace/google-cloud-node/samples/generated/v1/web_security_scanner.create_scan_config.js`
+
+
+-----
+
+
+
+
+### Web_security_scanner.delete_scan_config
+
+View the [source code](https://github.com/googleapis/google-cloud-node/blob/main//workspace/google-cloud-node/samples/generated/v1/web_security_scanner.delete_scan_config.js).
+
+[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=/workspace/google-cloud-node/samples/generated/v1/web_security_scanner.delete_scan_config.js,samples/README.md)
+
+__Usage:__
+
+
+`node /workspace/google-cloud-node/samples/generated/v1/web_security_scanner.delete_scan_config.js`
+
+
+-----
+
+
+
+
+### Web_security_scanner.get_finding
+
+View the [source code](https://github.com/googleapis/google-cloud-node/blob/main//workspace/google-cloud-node/samples/generated/v1/web_security_scanner.get_finding.js).
+
+[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=/workspace/google-cloud-node/samples/generated/v1/web_security_scanner.get_finding.js,samples/README.md)
+
+__Usage:__
+
+
+`node /workspace/google-cloud-node/samples/generated/v1/web_security_scanner.get_finding.js`
+
+
+-----
+
+
+
+
+### Web_security_scanner.get_scan_config
+
+View the [source code](https://github.com/googleapis/google-cloud-node/blob/main//workspace/google-cloud-node/samples/generated/v1/web_security_scanner.get_scan_config.js).
+
+[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=/workspace/google-cloud-node/samples/generated/v1/web_security_scanner.get_scan_config.js,samples/README.md)
+
+__Usage:__
+
+
+`node /workspace/google-cloud-node/samples/generated/v1/web_security_scanner.get_scan_config.js`
+
+
+-----
+
+
+
+
+### Web_security_scanner.get_scan_run
+
+View the [source code](https://github.com/googleapis/google-cloud-node/blob/main//workspace/google-cloud-node/samples/generated/v1/web_security_scanner.get_scan_run.js).
+
+[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=/workspace/google-cloud-node/samples/generated/v1/web_security_scanner.get_scan_run.js,samples/README.md)
+
+__Usage:__
+
+
+`node /workspace/google-cloud-node/samples/generated/v1/web_security_scanner.get_scan_run.js`
+
+
+-----
+
+
+
+
+### Web_security_scanner.list_crawled_urls
+
+View the [source code](https://github.com/googleapis/google-cloud-node/blob/main//workspace/google-cloud-node/samples/generated/v1/web_security_scanner.list_crawled_urls.js).
+
+[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=/workspace/google-cloud-node/samples/generated/v1/web_security_scanner.list_crawled_urls.js,samples/README.md)
+
+__Usage:__
+
+
+`node /workspace/google-cloud-node/samples/generated/v1/web_security_scanner.list_crawled_urls.js`
+
+
+-----
+
+
+
+
+### Web_security_scanner.list_finding_type_stats
+
+View the [source code](https://github.com/googleapis/google-cloud-node/blob/main//workspace/google-cloud-node/samples/generated/v1/web_security_scanner.list_finding_type_stats.js).
+
+[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=/workspace/google-cloud-node/samples/generated/v1/web_security_scanner.list_finding_type_stats.js,samples/README.md)
+
+__Usage:__
+
+
+`node /workspace/google-cloud-node/samples/generated/v1/web_security_scanner.list_finding_type_stats.js`
+
+
+-----
+
+
+
+
+### Web_security_scanner.list_findings
+
+View the [source code](https://github.com/googleapis/google-cloud-node/blob/main//workspace/google-cloud-node/samples/generated/v1/web_security_scanner.list_findings.js).
+
+[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=/workspace/google-cloud-node/samples/generated/v1/web_security_scanner.list_findings.js,samples/README.md)
+
+__Usage:__
+
+
+`node /workspace/google-cloud-node/samples/generated/v1/web_security_scanner.list_findings.js`
+
+
+-----
+
+
+
+
+### Web_security_scanner.list_scan_configs
+
+View the [source code](https://github.com/googleapis/google-cloud-node/blob/main//workspace/google-cloud-node/samples/generated/v1/web_security_scanner.list_scan_configs.js).
+
+[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=/workspace/google-cloud-node/samples/generated/v1/web_security_scanner.list_scan_configs.js,samples/README.md)
+
+__Usage:__
+
+
+`node /workspace/google-cloud-node/samples/generated/v1/web_security_scanner.list_scan_configs.js`
+
+
+-----
+
+
+
+
+### Web_security_scanner.list_scan_runs
+
+View the [source code](https://github.com/googleapis/google-cloud-node/blob/main//workspace/google-cloud-node/samples/generated/v1/web_security_scanner.list_scan_runs.js).
+
+[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=/workspace/google-cloud-node/samples/generated/v1/web_security_scanner.list_scan_runs.js,samples/README.md)
+
+__Usage:__
+
+
+`node /workspace/google-cloud-node/samples/generated/v1/web_security_scanner.list_scan_runs.js`
+
+
+-----
+
+
+
+
+### Web_security_scanner.start_scan_run
+
+View the [source code](https://github.com/googleapis/google-cloud-node/blob/main//workspace/google-cloud-node/samples/generated/v1/web_security_scanner.start_scan_run.js).
+
+[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=/workspace/google-cloud-node/samples/generated/v1/web_security_scanner.start_scan_run.js,samples/README.md)
+
+__Usage:__
+
+
+`node /workspace/google-cloud-node/samples/generated/v1/web_security_scanner.start_scan_run.js`
+
+
+-----
+
+
+
+
+### Web_security_scanner.stop_scan_run
+
+View the [source code](https://github.com/googleapis/google-cloud-node/blob/main//workspace/google-cloud-node/samples/generated/v1/web_security_scanner.stop_scan_run.js).
+
+[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=/workspace/google-cloud-node/samples/generated/v1/web_security_scanner.stop_scan_run.js,samples/README.md)
+
+__Usage:__
+
+
+`node /workspace/google-cloud-node/samples/generated/v1/web_security_scanner.stop_scan_run.js`
+
+
+-----
+
+
+
+
+### Web_security_scanner.update_scan_config
+
+View the [source code](https://github.com/googleapis/google-cloud-node/blob/main//workspace/google-cloud-node/samples/generated/v1/web_security_scanner.update_scan_config.js).
+
+[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=/workspace/google-cloud-node/samples/generated/v1/web_security_scanner.update_scan_config.js,samples/README.md)
+
+__Usage:__
+
+
+`node /workspace/google-cloud-node/samples/generated/v1/web_security_scanner.update_scan_config.js`
+
+
+-----
+
+
+
+
+### Web_security_scanner.create_scan_config
+
+View the [source code](https://github.com/googleapis/google-cloud-node/blob/main//workspace/google-cloud-node/samples/generated/v1alpha/web_security_scanner.create_scan_config.js).
+
+[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=/workspace/google-cloud-node/samples/generated/v1alpha/web_security_scanner.create_scan_config.js,samples/README.md)
+
+__Usage:__
+
+
+`node /workspace/google-cloud-node/samples/generated/v1alpha/web_security_scanner.create_scan_config.js`
+
+
+-----
+
+
+
+
+### Web_security_scanner.delete_scan_config
+
+View the [source code](https://github.com/googleapis/google-cloud-node/blob/main//workspace/google-cloud-node/samples/generated/v1alpha/web_security_scanner.delete_scan_config.js).
+
+[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=/workspace/google-cloud-node/samples/generated/v1alpha/web_security_scanner.delete_scan_config.js,samples/README.md)
+
+__Usage:__
+
+
+`node /workspace/google-cloud-node/samples/generated/v1alpha/web_security_scanner.delete_scan_config.js`
+
+
+-----
+
+
+
+
+### Web_security_scanner.get_finding
+
+View the [source code](https://github.com/googleapis/google-cloud-node/blob/main//workspace/google-cloud-node/samples/generated/v1alpha/web_security_scanner.get_finding.js).
+
+[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=/workspace/google-cloud-node/samples/generated/v1alpha/web_security_scanner.get_finding.js,samples/README.md)
+
+__Usage:__
+
+
+`node /workspace/google-cloud-node/samples/generated/v1alpha/web_security_scanner.get_finding.js`
+
+
+-----
+
+
+
+
+### Web_security_scanner.get_scan_config
+
+View the [source code](https://github.com/googleapis/google-cloud-node/blob/main//workspace/google-cloud-node/samples/generated/v1alpha/web_security_scanner.get_scan_config.js).
+
+[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=/workspace/google-cloud-node/samples/generated/v1alpha/web_security_scanner.get_scan_config.js,samples/README.md)
+
+__Usage:__
+
+
+`node /workspace/google-cloud-node/samples/generated/v1alpha/web_security_scanner.get_scan_config.js`
+
+
+-----
+
+
+
+
+### Web_security_scanner.get_scan_run
+
+View the [source code](https://github.com/googleapis/google-cloud-node/blob/main//workspace/google-cloud-node/samples/generated/v1alpha/web_security_scanner.get_scan_run.js).
+
+[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=/workspace/google-cloud-node/samples/generated/v1alpha/web_security_scanner.get_scan_run.js,samples/README.md)
+
+__Usage:__
+
+
+`node /workspace/google-cloud-node/samples/generated/v1alpha/web_security_scanner.get_scan_run.js`
+
+
+-----
+
+
+
+
+### Web_security_scanner.list_crawled_urls
+
+View the [source code](https://github.com/googleapis/google-cloud-node/blob/main//workspace/google-cloud-node/samples/generated/v1alpha/web_security_scanner.list_crawled_urls.js).
+
+[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=/workspace/google-cloud-node/samples/generated/v1alpha/web_security_scanner.list_crawled_urls.js,samples/README.md)
+
+__Usage:__
+
+
+`node /workspace/google-cloud-node/samples/generated/v1alpha/web_security_scanner.list_crawled_urls.js`
+
+
+-----
+
+
+
+
+### Web_security_scanner.list_finding_type_stats
+
+View the [source code](https://github.com/googleapis/google-cloud-node/blob/main//workspace/google-cloud-node/samples/generated/v1alpha/web_security_scanner.list_finding_type_stats.js).
+
+[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=/workspace/google-cloud-node/samples/generated/v1alpha/web_security_scanner.list_finding_type_stats.js,samples/README.md)
+
+__Usage:__
+
+
+`node /workspace/google-cloud-node/samples/generated/v1alpha/web_security_scanner.list_finding_type_stats.js`
+
+
+-----
+
+
+
+
+### Web_security_scanner.list_findings
+
+View the [source code](https://github.com/googleapis/google-cloud-node/blob/main//workspace/google-cloud-node/samples/generated/v1alpha/web_security_scanner.list_findings.js).
+
+[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=/workspace/google-cloud-node/samples/generated/v1alpha/web_security_scanner.list_findings.js,samples/README.md)
+
+__Usage:__
+
+
+`node /workspace/google-cloud-node/samples/generated/v1alpha/web_security_scanner.list_findings.js`
+
+
+-----
+
+
+
+
+### Web_security_scanner.list_scan_configs
+
+View the [source code](https://github.com/googleapis/google-cloud-node/blob/main//workspace/google-cloud-node/samples/generated/v1alpha/web_security_scanner.list_scan_configs.js).
+
+[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=/workspace/google-cloud-node/samples/generated/v1alpha/web_security_scanner.list_scan_configs.js,samples/README.md)
+
+__Usage:__
+
+
+`node /workspace/google-cloud-node/samples/generated/v1alpha/web_security_scanner.list_scan_configs.js`
+
+
+-----
+
+
+
+
+### Web_security_scanner.list_scan_runs
+
+View the [source code](https://github.com/googleapis/google-cloud-node/blob/main//workspace/google-cloud-node/samples/generated/v1alpha/web_security_scanner.list_scan_runs.js).
+
+[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=/workspace/google-cloud-node/samples/generated/v1alpha/web_security_scanner.list_scan_runs.js,samples/README.md)
+
+__Usage:__
+
+
+`node /workspace/google-cloud-node/samples/generated/v1alpha/web_security_scanner.list_scan_runs.js`
+
+
+-----
+
+
+
+
+### Web_security_scanner.start_scan_run
+
+View the [source code](https://github.com/googleapis/google-cloud-node/blob/main//workspace/google-cloud-node/samples/generated/v1alpha/web_security_scanner.start_scan_run.js).
+
+[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=/workspace/google-cloud-node/samples/generated/v1alpha/web_security_scanner.start_scan_run.js,samples/README.md)
+
+__Usage:__
+
+
+`node /workspace/google-cloud-node/samples/generated/v1alpha/web_security_scanner.start_scan_run.js`
+
+
+-----
+
+
+
+
+### Web_security_scanner.stop_scan_run
+
+View the [source code](https://github.com/googleapis/google-cloud-node/blob/main//workspace/google-cloud-node/samples/generated/v1alpha/web_security_scanner.stop_scan_run.js).
+
+[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=/workspace/google-cloud-node/samples/generated/v1alpha/web_security_scanner.stop_scan_run.js,samples/README.md)
+
+__Usage:__
+
+
+`node /workspace/google-cloud-node/samples/generated/v1alpha/web_security_scanner.stop_scan_run.js`
+
+
+-----
+
+
+
+
+### Web_security_scanner.update_scan_config
+
+View the [source code](https://github.com/googleapis/google-cloud-node/blob/main//workspace/google-cloud-node/samples/generated/v1alpha/web_security_scanner.update_scan_config.js).
+
+[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=/workspace/google-cloud-node/samples/generated/v1alpha/web_security_scanner.update_scan_config.js,samples/README.md)
+
+__Usage:__
+
+
+`node /workspace/google-cloud-node/samples/generated/v1alpha/web_security_scanner.update_scan_config.js`
+
+
+-----
+
+
+
+
+### Web_security_scanner.create_scan_config
+
+View the [source code](https://github.com/googleapis/google-cloud-node/blob/main//workspace/google-cloud-node/samples/generated/v1beta/web_security_scanner.create_scan_config.js).
+
+[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=/workspace/google-cloud-node/samples/generated/v1beta/web_security_scanner.create_scan_config.js,samples/README.md)
+
+__Usage:__
+
+
+`node /workspace/google-cloud-node/samples/generated/v1beta/web_security_scanner.create_scan_config.js`
+
+
+-----
+
+
+
+
+### Web_security_scanner.delete_scan_config
+
+View the [source code](https://github.com/googleapis/google-cloud-node/blob/main//workspace/google-cloud-node/samples/generated/v1beta/web_security_scanner.delete_scan_config.js).
+
+[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=/workspace/google-cloud-node/samples/generated/v1beta/web_security_scanner.delete_scan_config.js,samples/README.md)
+
+__Usage:__
+
+
+`node /workspace/google-cloud-node/samples/generated/v1beta/web_security_scanner.delete_scan_config.js`
+
+
+-----
+
+
+
+
+### Web_security_scanner.get_finding
+
+View the [source code](https://github.com/googleapis/google-cloud-node/blob/main//workspace/google-cloud-node/samples/generated/v1beta/web_security_scanner.get_finding.js).
+
+[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=/workspace/google-cloud-node/samples/generated/v1beta/web_security_scanner.get_finding.js,samples/README.md)
+
+__Usage:__
+
+
+`node /workspace/google-cloud-node/samples/generated/v1beta/web_security_scanner.get_finding.js`
+
+
+-----
+
+
+
+
+### Web_security_scanner.get_scan_config
+
+View the [source code](https://github.com/googleapis/google-cloud-node/blob/main//workspace/google-cloud-node/samples/generated/v1beta/web_security_scanner.get_scan_config.js).
+
+[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=/workspace/google-cloud-node/samples/generated/v1beta/web_security_scanner.get_scan_config.js,samples/README.md)
+
+__Usage:__
+
+
+`node /workspace/google-cloud-node/samples/generated/v1beta/web_security_scanner.get_scan_config.js`
+
+
+-----
+
+
+
+
+### Web_security_scanner.get_scan_run
+
+View the [source code](https://github.com/googleapis/google-cloud-node/blob/main//workspace/google-cloud-node/samples/generated/v1beta/web_security_scanner.get_scan_run.js).
+
+[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=/workspace/google-cloud-node/samples/generated/v1beta/web_security_scanner.get_scan_run.js,samples/README.md)
+
+__Usage:__
+
+
+`node /workspace/google-cloud-node/samples/generated/v1beta/web_security_scanner.get_scan_run.js`
+
+
+-----
+
+
+
+
+### Web_security_scanner.list_crawled_urls
+
+View the [source code](https://github.com/googleapis/google-cloud-node/blob/main//workspace/google-cloud-node/samples/generated/v1beta/web_security_scanner.list_crawled_urls.js).
+
+[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=/workspace/google-cloud-node/samples/generated/v1beta/web_security_scanner.list_crawled_urls.js,samples/README.md)
+
+__Usage:__
+
+
+`node /workspace/google-cloud-node/samples/generated/v1beta/web_security_scanner.list_crawled_urls.js`
+
+
+-----
+
+
+
+
+### Web_security_scanner.list_finding_type_stats
+
+View the [source code](https://github.com/googleapis/google-cloud-node/blob/main//workspace/google-cloud-node/samples/generated/v1beta/web_security_scanner.list_finding_type_stats.js).
+
+[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=/workspace/google-cloud-node/samples/generated/v1beta/web_security_scanner.list_finding_type_stats.js,samples/README.md)
+
+__Usage:__
+
+
+`node /workspace/google-cloud-node/samples/generated/v1beta/web_security_scanner.list_finding_type_stats.js`
+
+
+-----
+
+
+
+
+### Web_security_scanner.list_findings
+
+View the [source code](https://github.com/googleapis/google-cloud-node/blob/main//workspace/google-cloud-node/samples/generated/v1beta/web_security_scanner.list_findings.js).
+
+[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=/workspace/google-cloud-node/samples/generated/v1beta/web_security_scanner.list_findings.js,samples/README.md)
+
+__Usage:__
+
+
+`node /workspace/google-cloud-node/samples/generated/v1beta/web_security_scanner.list_findings.js`
+
+
+-----
+
+
+
+
+### Web_security_scanner.list_scan_configs
+
+View the [source code](https://github.com/googleapis/google-cloud-node/blob/main//workspace/google-cloud-node/samples/generated/v1beta/web_security_scanner.list_scan_configs.js).
+
+[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=/workspace/google-cloud-node/samples/generated/v1beta/web_security_scanner.list_scan_configs.js,samples/README.md)
+
+__Usage:__
+
+
+`node /workspace/google-cloud-node/samples/generated/v1beta/web_security_scanner.list_scan_configs.js`
+
+
+-----
+
+
+
+
+### Web_security_scanner.list_scan_runs
+
+View the [source code](https://github.com/googleapis/google-cloud-node/blob/main//workspace/google-cloud-node/samples/generated/v1beta/web_security_scanner.list_scan_runs.js).
+
+[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=/workspace/google-cloud-node/samples/generated/v1beta/web_security_scanner.list_scan_runs.js,samples/README.md)
+
+__Usage:__
+
+
+`node /workspace/google-cloud-node/samples/generated/v1beta/web_security_scanner.list_scan_runs.js`
+
+
+-----
+
+
+
+
+### Web_security_scanner.start_scan_run
+
+View the [source code](https://github.com/googleapis/google-cloud-node/blob/main//workspace/google-cloud-node/samples/generated/v1beta/web_security_scanner.start_scan_run.js).
+
+[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=/workspace/google-cloud-node/samples/generated/v1beta/web_security_scanner.start_scan_run.js,samples/README.md)
+
+__Usage:__
+
+
+`node /workspace/google-cloud-node/samples/generated/v1beta/web_security_scanner.start_scan_run.js`
+
+
+-----
+
+
+
+
+### Web_security_scanner.stop_scan_run
+
+View the [source code](https://github.com/googleapis/google-cloud-node/blob/main//workspace/google-cloud-node/samples/generated/v1beta/web_security_scanner.stop_scan_run.js).
+
+[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=/workspace/google-cloud-node/samples/generated/v1beta/web_security_scanner.stop_scan_run.js,samples/README.md)
+
+__Usage:__
+
+
+`node /workspace/google-cloud-node/samples/generated/v1beta/web_security_scanner.stop_scan_run.js`
+
+
+-----
+
+
+
+
+### Web_security_scanner.update_scan_config
+
+View the [source code](https://github.com/googleapis/google-cloud-node/blob/main//workspace/google-cloud-node/samples/generated/v1beta/web_security_scanner.update_scan_config.js).
+
+[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=/workspace/google-cloud-node/samples/generated/v1beta/web_security_scanner.update_scan_config.js,samples/README.md)
+
+__Usage:__
+
+
+`node /workspace/google-cloud-node/samples/generated/v1beta/web_security_scanner.update_scan_config.js`
+
+
+-----
+
+
+
+
+### Quickstart
+
+View the [source code](https://github.com/googleapis/google-cloud-node/blob/main//workspace/google-cloud-node/samples/quickstart.js).
+
+[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=/workspace/google-cloud-node/samples/quickstart.js,samples/README.md)
+
+__Usage:__
+
+
+`node /workspace/google-cloud-node/samples/quickstart.js`
+
+
+-----
+
+
+
+
### Quickstart
-View the [source code](https://github.com/googleapis/nodejs-web-security-scanner/blob/main/samples/quickstart.js).
+View the [source code](https://github.com/googleapis/google-cloud-node/blob/main//workspace/google-cloud-node/samples/test/quickstart.js).
-[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/nodejs-web-security-scanner&page=editor&open_in_editor=samples/quickstart.js,samples/README.md)
+[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=/workspace/google-cloud-node/samples/test/quickstart.js,samples/README.md)
__Usage:__
-`node samples/quickstart.js`
+`node /workspace/google-cloud-node/samples/test/quickstart.js`
@@ -46,5 +766,5 @@ __Usage:__
[shell_img]: https://gstatic.com/cloudssh/images/open-btn.png
-[shell_link]: https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/nodejs-web-security-scanner&page=editor&open_in_editor=samples/README.md
+[shell_link]: https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=samples/README.md
[product-docs]: https://cloud.google.com/security-scanner/
diff --git a/packages/google-cloud-websecurityscanner/src/index.ts b/packages/google-cloud-websecurityscanner/src/index.ts
index 6dafda10ced..4c7042ec182 100644
--- a/packages/google-cloud-websecurityscanner/src/index.ts
+++ b/packages/google-cloud-websecurityscanner/src/index.ts
@@ -1,4 +1,4 @@
-// Copyright 2020 Google LLC
+// 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.
diff --git a/release-please-config.json b/release-please-config.json
index ca8fb90627b..d8de1ba0084 100644
--- a/release-please-config.json
+++ b/release-please-config.json
@@ -35,6 +35,7 @@
"packages/google-cloud-texttospeech": {},
"packages/google-cloud-translate": {},
"packages/google-cloud-videointelligence": {},
+ "packages/google-cloud-websecurityscanner": {},
"packages/google-container": {},
"packages/google-devtools-artifactregistry": {},
"packages/google-iam": {},
@@ -49,4 +50,4 @@
}
],
"release-type": "node"
-}
\ No newline at end of file
+}