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

Commit

Permalink
chore: upgrade gapic-generator-python to 0.46.3 (#57)
Browse files Browse the repository at this point in the history
* chore: upgrade gapic-generator-python to 0.46.3

PiperOrigin-RevId: 373649163

Source-Link: googleapis/googleapis@7e1b14e

Source-Link: googleapis/googleapis-gen@0a3c7d2

* 🦉 Updates from OwlBot

Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>

fix: add async client to %name_%version/init.py
chore: add autogenerated snippets
chore: remove auth, policy, and options from the reserved names list
feat: support self-signed JWT flow for service accounts
chore: enable GAPIC metadata generation
chore: sort subpackages in %namespace/%name/init.py
  • Loading branch information
gcf-owl-bot[bot] committed May 15, 2021
1 parent 86296d1 commit 3091749
Show file tree
Hide file tree
Showing 78 changed files with 2,829 additions and 2,600 deletions.
1 change: 0 additions & 1 deletion docs/websecurityscanner_v1/web_security_scanner.rst
Expand Up @@ -5,7 +5,6 @@ WebSecurityScanner
:members:
:inherited-members:


.. automodule:: google.cloud.websecurityscanner_v1.services.web_security_scanner.pagers
:members:
:inherited-members:
1 change: 0 additions & 1 deletion docs/websecurityscanner_v1alpha/web_security_scanner.rst
Expand Up @@ -5,7 +5,6 @@ WebSecurityScanner
:members:
:inherited-members:


.. automodule:: google.cloud.websecurityscanner_v1alpha.services.web_security_scanner.pagers
:members:
:inherited-members:
1 change: 0 additions & 1 deletion docs/websecurityscanner_v1beta/web_security_scanner.rst
Expand Up @@ -5,7 +5,6 @@ WebSecurityScanner
:members:
:inherited-members:


.. automodule:: google.cloud.websecurityscanner_v1beta.services.web_security_scanner.pagers
:members:
:inherited-members:
11 changes: 6 additions & 5 deletions google/cloud/websecurityscanner_v1/__init__.py
@@ -1,5 +1,4 @@
# -*- coding: utf-8 -*-

# Copyright 2020 Google LLC
#
# Licensed under the Apache License, Version 2.0 (the "License");
Expand All @@ -16,6 +15,8 @@
#

from .services.web_security_scanner import WebSecurityScannerClient
from .services.web_security_scanner import WebSecurityScannerAsyncClient

from .types.crawled_url import CrawledUrl
from .types.finding import Finding
from .types.finding_addon import Form
Expand All @@ -37,10 +38,10 @@
from .types.web_security_scanner import GetScanRunRequest
from .types.web_security_scanner import ListCrawledUrlsRequest
from .types.web_security_scanner import ListCrawledUrlsResponse
from .types.web_security_scanner import ListFindingTypeStatsRequest
from .types.web_security_scanner import ListFindingTypeStatsResponse
from .types.web_security_scanner import ListFindingsRequest
from .types.web_security_scanner import ListFindingsResponse
from .types.web_security_scanner import ListFindingTypeStatsRequest
from .types.web_security_scanner import ListFindingTypeStatsResponse
from .types.web_security_scanner import ListScanConfigsRequest
from .types.web_security_scanner import ListScanConfigsResponse
from .types.web_security_scanner import ListScanRunsRequest
Expand All @@ -49,8 +50,8 @@
from .types.web_security_scanner import StopScanRunRequest
from .types.web_security_scanner import UpdateScanConfigRequest


__all__ = (
"WebSecurityScannerAsyncClient",
"CrawledUrl",
"CreateScanConfigRequest",
"DeleteScanConfigRequest",
Expand Down Expand Up @@ -82,6 +83,6 @@
"ViolatingResource",
"VulnerableHeaders",
"VulnerableParameters",
"Xss",
"WebSecurityScannerClient",
"Xss",
)
153 changes: 153 additions & 0 deletions google/cloud/websecurityscanner_v1/gapic_metadata.json
@@ -0,0 +1,153 @@
{
"comment": "This file maps proto services/RPCs to the corresponding library clients/methods",
"language": "python",
"libraryPackage": "google.cloud.websecurityscanner_v1",
"protoPackage": "google.cloud.websecurityscanner.v1",
"schema": "1.0",
"services": {
"WebSecurityScanner": {
"clients": {
"grpc": {
"libraryClient": "WebSecurityScannerClient",
"rpcs": {
"CreateScanConfig": {
"methods": [
"create_scan_config"
]
},
"DeleteScanConfig": {
"methods": [
"delete_scan_config"
]
},
"GetFinding": {
"methods": [
"get_finding"
]
},
"GetScanConfig": {
"methods": [
"get_scan_config"
]
},
"GetScanRun": {
"methods": [
"get_scan_run"
]
},
"ListCrawledUrls": {
"methods": [
"list_crawled_urls"
]
},
"ListFindingTypeStats": {
"methods": [
"list_finding_type_stats"
]
},
"ListFindings": {
"methods": [
"list_findings"
]
},
"ListScanConfigs": {
"methods": [
"list_scan_configs"
]
},
"ListScanRuns": {
"methods": [
"list_scan_runs"
]
},
"StartScanRun": {
"methods": [
"start_scan_run"
]
},
"StopScanRun": {
"methods": [
"stop_scan_run"
]
},
"UpdateScanConfig": {
"methods": [
"update_scan_config"
]
}
}
},
"grpc-async": {
"libraryClient": "WebSecurityScannerAsyncClient",
"rpcs": {
"CreateScanConfig": {
"methods": [
"create_scan_config"
]
},
"DeleteScanConfig": {
"methods": [
"delete_scan_config"
]
},
"GetFinding": {
"methods": [
"get_finding"
]
},
"GetScanConfig": {
"methods": [
"get_scan_config"
]
},
"GetScanRun": {
"methods": [
"get_scan_run"
]
},
"ListCrawledUrls": {
"methods": [
"list_crawled_urls"
]
},
"ListFindingTypeStats": {
"methods": [
"list_finding_type_stats"
]
},
"ListFindings": {
"methods": [
"list_findings"
]
},
"ListScanConfigs": {
"methods": [
"list_scan_configs"
]
},
"ListScanRuns": {
"methods": [
"list_scan_runs"
]
},
"StartScanRun": {
"methods": [
"start_scan_run"
]
},
"StopScanRun": {
"methods": [
"stop_scan_run"
]
},
"UpdateScanConfig": {
"methods": [
"update_scan_config"
]
}
}
}
}
}
}
}
1 change: 0 additions & 1 deletion google/cloud/websecurityscanner_v1/services/__init__.py
@@ -1,5 +1,4 @@
# -*- coding: utf-8 -*-

# Copyright 2020 Google LLC
#
# Licensed under the Apache License, Version 2.0 (the "License");
Expand Down
@@ -1,5 +1,4 @@
# -*- coding: utf-8 -*-

# Copyright 2020 Google LLC
#
# Licensed under the Apache License, Version 2.0 (the "License");
Expand All @@ -14,7 +13,6 @@
# See the License for the specific language governing permissions and
# limitations under the License.
#

from .client import WebSecurityScannerClient
from .async_client import WebSecurityScannerAsyncClient

Expand Down

0 comments on commit 3091749

Please sign in to comment.