diff --git a/librarian.yaml b/librarian.yaml index fee0c9242ef5..bedec13012b2 100644 --- a/librarian.yaml +++ b/librarian.yaml @@ -1593,7 +1593,9 @@ libraries: - path: google/cloud/webrisk/v1 - path: google/cloud/webrisk/v1beta1 copyright_year: "2026" - skip_generate: true + keep: + - system-test/header.ts + - system-test/test.ts nodejs: default_version: v1 package_name: '@google-cloud/web-risk' diff --git a/packages/google-cloud-webrisk/.OwlBot.yaml b/packages/google-cloud-webrisk/.OwlBot.yaml deleted file mode 100644 index 1109f512bb88..000000000000 --- a/packages/google-cloud-webrisk/.OwlBot.yaml +++ /dev/null @@ -1,21 +0,0 @@ -# Copyright 2021 Google LLC -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. - -deep-remove-regex: - - /owl-bot-staging -deep-copy-regex: - - source: /google/cloud/webrisk/google-cloud-webrisk-nodejs - dest: /owl-bot-staging/google-cloud-webrisk -begin-after-commit-hash: 674a41e0de2869f44f45eb7b1a605852a5394bba -api-name: webrisk diff --git a/packages/google-cloud-webrisk/.c8rc b/packages/google-cloud-webrisk/.c8rc deleted file mode 100644 index 755d9a67748a..000000000000 --- a/packages/google-cloud-webrisk/.c8rc +++ /dev/null @@ -1,20 +0,0 @@ -{ - "report-dir": "./coverage", - "reporter": ["text", "lcov"], - "exclude": [ - "**/*-test", - "**/coverage", - "**/apis", - "**/benchmark", - "**/docs", - "**/samples", - "**/scripts", - "**/src/**/v*/**/*.js", - "**/test", - ".jsdoc.js", - "**/.jsdoc.js", - "karma.conf.js", - "webpack-tests.config.js", - "webpack.config.js" - ] -} diff --git a/packages/google-cloud-webrisk/.repo-metadata.json b/packages/google-cloud-webrisk/.repo-metadata.json index 7f2ff6bafb49..856d712cd2a3 100644 --- a/packages/google-cloud-webrisk/.repo-metadata.json +++ b/packages/google-cloud-webrisk/.repo-metadata.json @@ -1,16 +1,15 @@ { - "name_pretty": "Web Risk API", - "language": "nodejs", - "name": "web-risk", - "release_level": "stable", - "client_documentation": "https://googleapis.dev/nodejs/web-risk/latest", - "api_id": "webrisk.googleapis.com", - "distribution_name": "@google-cloud/web-risk", - "product_documentation": "https://cloud.google.com/web-risk/docs/", - "requires_billing": true, - "default_version": "v1", - "issue_tracker": "https://github.com/googleapis/google-cloud-node/issues", - "repo": "googleapis/google-cloud-node", - "api_shortname": "webrisk", - "library_type": "GAPIC_AUTO" -} + "api_description": "Web Risk is an enterprise security product that lets your client applications check URLs against Google's constantly updated lists of unsafe web resources.", + "api_id": "webrisk.googleapis.com", + "api_shortname": "webrisk", + "client_documentation": "https://cloud.google.com/nodejs/docs/reference/web-risk/latest", + "default_version": "v1", + "distribution_name": "@google-cloud/web-risk", + "language": "nodejs", + "library_type": "GAPIC_AUTO", + "name": "webrisk", + "name_pretty": "Web Risk", + "product_documentation": "https://cloud.google.com/web-risk/docs", + "release_level": "stable", + "repo": "googleapis/google-cloud-node" +} \ No newline at end of file diff --git a/packages/google-cloud-webrisk/system-test/header.ts b/packages/google-cloud-webrisk/system-test/header.ts index 6c214c5dc50c..3b80f6b60abc 100644 --- a/packages/google-cloud-webrisk/system-test/header.ts +++ b/packages/google-cloud-webrisk/system-test/header.ts @@ -35,4 +35,4 @@ describe('header', () => { ) ); }); -}); +}); \ No newline at end of file diff --git a/packages/google-cloud-webrisk/system-test/test.ts b/packages/google-cloud-webrisk/system-test/test.ts index 79f61a8a4723..44cdc0e88318 100644 --- a/packages/google-cloud-webrisk/system-test/test.ts +++ b/packages/google-cloud-webrisk/system-test/test.ts @@ -27,4 +27,4 @@ describe('WebRiskSmokeTest', () => { const {threat} = (await client.searchUris(request))[0]; assert.include(threat.threatTypes, 'MALWARE'); }); -}); +}); \ No newline at end of file