Skip to content

Commit

Permalink
chore: Bump gapic-generator-python version to 1.3.0 (#237)
Browse files Browse the repository at this point in the history
- [ ] Regenerate this pull request now.

PiperOrigin-RevId: 472561635

Source-Link: googleapis/googleapis@332ecf5

Source-Link: googleapis/googleapis-gen@4313d68
Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiNDMxM2Q2ODI4ODBmZDlkNzI0NzI5MTE2NGQ0ZTlkM2Q1YmQ5ZjE3NyJ9
  • Loading branch information
gcf-owl-bot[bot] authored Sep 7, 2022
1 parent ffbe812 commit 0aaa3a9
Show file tree
Hide file tree
Showing 88 changed files with 1,877 additions and 785 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -232,6 +232,13 @@ async def create_scan_config(
.. code-block:: python
# This snippet has been automatically generated and should be regarded as a
# code template only.
# It will require modifications to work:
# - It may require correct/in-range values for request initialization.
# - It may require specifying regional endpoints when creating the service
# client as shown in:
# https://googleapis.dev/python/google-api-core/latest/client_options.html
from google.cloud import websecurityscanner_v1
async def sample_create_scan_config():
Expand Down Expand Up @@ -305,6 +312,13 @@ async def delete_scan_config(
.. code-block:: python
# This snippet has been automatically generated and should be regarded as a
# code template only.
# It will require modifications to work:
# - It may require correct/in-range values for request initialization.
# - It may require specifying regional endpoints when creating the service
# client as shown in:
# https://googleapis.dev/python/google-api-core/latest/client_options.html
from google.cloud import websecurityscanner_v1
async def sample_delete_scan_config():
Expand Down Expand Up @@ -375,6 +389,13 @@ async def get_scan_config(
.. code-block:: python
# This snippet has been automatically generated and should be regarded as a
# code template only.
# It will require modifications to work:
# - It may require correct/in-range values for request initialization.
# - It may require specifying regional endpoints when creating the service
# client as shown in:
# https://googleapis.dev/python/google-api-core/latest/client_options.html
from google.cloud import websecurityscanner_v1
async def sample_get_scan_config():
Expand Down Expand Up @@ -457,6 +478,13 @@ async def list_scan_configs(
.. code-block:: python
# This snippet has been automatically generated and should be regarded as a
# code template only.
# It will require modifications to work:
# - It may require correct/in-range values for request initialization.
# - It may require specifying regional endpoints when creating the service
# client as shown in:
# https://googleapis.dev/python/google-api-core/latest/client_options.html
from google.cloud import websecurityscanner_v1
async def sample_list_scan_configs():
Expand Down Expand Up @@ -552,6 +580,13 @@ async def update_scan_config(
.. code-block:: python
# This snippet has been automatically generated and should be regarded as a
# code template only.
# It will require modifications to work:
# - It may require correct/in-range values for request initialization.
# - It may require specifying regional endpoints when creating the service
# client as shown in:
# https://googleapis.dev/python/google-api-core/latest/client_options.html
from google.cloud import websecurityscanner_v1
async def sample_update_scan_config():
Expand Down Expand Up @@ -626,6 +661,13 @@ async def start_scan_run(
.. code-block:: python
# This snippet has been automatically generated and should be regarded as a
# code template only.
# It will require modifications to work:
# - It may require correct/in-range values for request initialization.
# - It may require specifying regional endpoints when creating the service
# client as shown in:
# https://googleapis.dev/python/google-api-core/latest/client_options.html
from google.cloud import websecurityscanner_v1
async def sample_start_scan_run():
Expand Down Expand Up @@ -699,6 +741,13 @@ async def get_scan_run(
.. code-block:: python
# This snippet has been automatically generated and should be regarded as a
# code template only.
# It will require modifications to work:
# - It may require correct/in-range values for request initialization.
# - It may require specifying regional endpoints when creating the service
# client as shown in:
# https://googleapis.dev/python/google-api-core/latest/client_options.html
from google.cloud import websecurityscanner_v1
async def sample_get_scan_run():
Expand Down Expand Up @@ -782,6 +831,13 @@ async def list_scan_runs(
.. code-block:: python
# This snippet has been automatically generated and should be regarded as a
# code template only.
# It will require modifications to work:
# - It may require correct/in-range values for request initialization.
# - It may require specifying regional endpoints when creating the service
# client as shown in:
# https://googleapis.dev/python/google-api-core/latest/client_options.html
from google.cloud import websecurityscanner_v1
async def sample_list_scan_runs():
Expand Down Expand Up @@ -876,6 +932,13 @@ async def stop_scan_run(
.. code-block:: python
# This snippet has been automatically generated and should be regarded as a
# code template only.
# It will require modifications to work:
# - It may require correct/in-range values for request initialization.
# - It may require specifying regional endpoints when creating the service
# client as shown in:
# https://googleapis.dev/python/google-api-core/latest/client_options.html
from google.cloud import websecurityscanner_v1
async def sample_stop_scan_run():
Expand Down Expand Up @@ -949,6 +1012,13 @@ async def list_crawled_urls(
.. code-block:: python
# This snippet has been automatically generated and should be regarded as a
# code template only.
# It will require modifications to work:
# - It may require correct/in-range values for request initialization.
# - It may require specifying regional endpoints when creating the service
# client as shown in:
# https://googleapis.dev/python/google-api-core/latest/client_options.html
from google.cloud import websecurityscanner_v1
async def sample_list_crawled_urls():
Expand Down Expand Up @@ -1043,6 +1113,13 @@ async def get_finding(
.. code-block:: python
# This snippet has been automatically generated and should be regarded as a
# code template only.
# It will require modifications to work:
# - It may require correct/in-range values for request initialization.
# - It may require specifying regional endpoints when creating the service
# client as shown in:
# https://googleapis.dev/python/google-api-core/latest/client_options.html
from google.cloud import websecurityscanner_v1
async def sample_get_finding():
Expand Down Expand Up @@ -1125,6 +1202,13 @@ async def list_findings(
.. code-block:: python
# This snippet has been automatically generated and should be regarded as a
# code template only.
# It will require modifications to work:
# - It may require correct/in-range values for request initialization.
# - It may require specifying regional endpoints when creating the service
# client as shown in:
# https://googleapis.dev/python/google-api-core/latest/client_options.html
from google.cloud import websecurityscanner_v1
async def sample_list_findings():
Expand Down Expand Up @@ -1219,6 +1303,13 @@ async def list_finding_type_stats(
.. code-block:: python
# This snippet has been automatically generated and should be regarded as a
# code template only.
# It will require modifications to work:
# - It may require correct/in-range values for request initialization.
# - It may require specifying regional endpoints when creating the service
# client as shown in:
# https://googleapis.dev/python/google-api-core/latest/client_options.html
from google.cloud import websecurityscanner_v1
async def sample_list_finding_type_stats():
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -458,6 +458,13 @@ def create_scan_config(
.. code-block:: python
# This snippet has been automatically generated and should be regarded as a
# code template only.
# It will require modifications to work:
# - It may require correct/in-range values for request initialization.
# - It may require specifying regional endpoints when creating the service
# client as shown in:
# https://googleapis.dev/python/google-api-core/latest/client_options.html
from google.cloud import websecurityscanner_v1
def sample_create_scan_config():
Expand Down Expand Up @@ -532,6 +539,13 @@ def delete_scan_config(
.. code-block:: python
# This snippet has been automatically generated and should be regarded as a
# code template only.
# It will require modifications to work:
# - It may require correct/in-range values for request initialization.
# - It may require specifying regional endpoints when creating the service
# client as shown in:
# https://googleapis.dev/python/google-api-core/latest/client_options.html
from google.cloud import websecurityscanner_v1
def sample_delete_scan_config():
Expand Down Expand Up @@ -593,6 +607,13 @@ def get_scan_config(
.. code-block:: python
# This snippet has been automatically generated and should be regarded as a
# code template only.
# It will require modifications to work:
# - It may require correct/in-range values for request initialization.
# - It may require specifying regional endpoints when creating the service
# client as shown in:
# https://googleapis.dev/python/google-api-core/latest/client_options.html
from google.cloud import websecurityscanner_v1
def sample_get_scan_config():
Expand Down Expand Up @@ -666,6 +687,13 @@ def list_scan_configs(
.. code-block:: python
# This snippet has been automatically generated and should be regarded as a
# code template only.
# It will require modifications to work:
# - It may require correct/in-range values for request initialization.
# - It may require specifying regional endpoints when creating the service
# client as shown in:
# https://googleapis.dev/python/google-api-core/latest/client_options.html
from google.cloud import websecurityscanner_v1
def sample_list_scan_configs():
Expand Down Expand Up @@ -752,6 +780,13 @@ def update_scan_config(
.. code-block:: python
# This snippet has been automatically generated and should be regarded as a
# code template only.
# It will require modifications to work:
# - It may require correct/in-range values for request initialization.
# - It may require specifying regional endpoints when creating the service
# client as shown in:
# https://googleapis.dev/python/google-api-core/latest/client_options.html
from google.cloud import websecurityscanner_v1
def sample_update_scan_config():
Expand Down Expand Up @@ -827,6 +862,13 @@ def start_scan_run(
.. code-block:: python
# This snippet has been automatically generated and should be regarded as a
# code template only.
# It will require modifications to work:
# - It may require correct/in-range values for request initialization.
# - It may require specifying regional endpoints when creating the service
# client as shown in:
# https://googleapis.dev/python/google-api-core/latest/client_options.html
from google.cloud import websecurityscanner_v1
def sample_start_scan_run():
Expand Down Expand Up @@ -901,6 +943,13 @@ def get_scan_run(
.. code-block:: python
# This snippet has been automatically generated and should be regarded as a
# code template only.
# It will require modifications to work:
# - It may require correct/in-range values for request initialization.
# - It may require specifying regional endpoints when creating the service
# client as shown in:
# https://googleapis.dev/python/google-api-core/latest/client_options.html
from google.cloud import websecurityscanner_v1
def sample_get_scan_run():
Expand Down Expand Up @@ -975,6 +1024,13 @@ def list_scan_runs(
.. code-block:: python
# This snippet has been automatically generated and should be regarded as a
# code template only.
# It will require modifications to work:
# - It may require correct/in-range values for request initialization.
# - It may require specifying regional endpoints when creating the service
# client as shown in:
# https://googleapis.dev/python/google-api-core/latest/client_options.html
from google.cloud import websecurityscanner_v1
def sample_list_scan_runs():
Expand Down Expand Up @@ -1060,6 +1116,13 @@ def stop_scan_run(
.. code-block:: python
# This snippet has been automatically generated and should be regarded as a
# code template only.
# It will require modifications to work:
# - It may require correct/in-range values for request initialization.
# - It may require specifying regional endpoints when creating the service
# client as shown in:
# https://googleapis.dev/python/google-api-core/latest/client_options.html
from google.cloud import websecurityscanner_v1
def sample_stop_scan_run():
Expand Down Expand Up @@ -1134,6 +1197,13 @@ def list_crawled_urls(
.. code-block:: python
# This snippet has been automatically generated and should be regarded as a
# code template only.
# It will require modifications to work:
# - It may require correct/in-range values for request initialization.
# - It may require specifying regional endpoints when creating the service
# client as shown in:
# https://googleapis.dev/python/google-api-core/latest/client_options.html
from google.cloud import websecurityscanner_v1
def sample_list_crawled_urls():
Expand Down Expand Up @@ -1219,6 +1289,13 @@ def get_finding(
.. code-block:: python
# This snippet has been automatically generated and should be regarded as a
# code template only.
# It will require modifications to work:
# - It may require correct/in-range values for request initialization.
# - It may require specifying regional endpoints when creating the service
# client as shown in:
# https://googleapis.dev/python/google-api-core/latest/client_options.html
from google.cloud import websecurityscanner_v1
def sample_get_finding():
Expand Down Expand Up @@ -1292,6 +1369,13 @@ def list_findings(
.. code-block:: python
# This snippet has been automatically generated and should be regarded as a
# code template only.
# It will require modifications to work:
# - It may require correct/in-range values for request initialization.
# - It may require specifying regional endpoints when creating the service
# client as shown in:
# https://googleapis.dev/python/google-api-core/latest/client_options.html
from google.cloud import websecurityscanner_v1
def sample_list_findings():
Expand Down Expand Up @@ -1377,6 +1461,13 @@ def list_finding_type_stats(
.. code-block:: python
# This snippet has been automatically generated and should be regarded as a
# code template only.
# It will require modifications to work:
# - It may require correct/in-range values for request initialization.
# - It may require specifying regional endpoints when creating the service
# client as shown in:
# https://googleapis.dev/python/google-api-core/latest/client_options.html
from google.cloud import websecurityscanner_v1
def sample_list_finding_type_stats():
Expand Down
Loading

0 comments on commit 0aaa3a9

Please sign in to comment.