Skip to content

Commit 7bc1e44

Browse files
chore: Bump gapic-generator-python version to 1.3.0 (#230)
- [ ] Regenerate this pull request now. PiperOrigin-RevId: 472561635 Source-Link: googleapis/googleapis@332ecf5 Source-Link: googleapis/googleapis-gen@4313d68 Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiNDMxM2Q2ODI4ODBmZDlkNzI0NzI5MTE2NGQ0ZTlkM2Q1YmQ5ZjE3NyJ9
1 parent 0ef7d07 commit 7bc1e44

21 files changed

+337
-141
lines changed

packages/google-cloud-webrisk/google/cloud/webrisk_v1/services/web_risk_service/async_client.py

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -226,6 +226,13 @@ async def compute_threat_list_diff(
226226
227227
.. code-block:: python
228228
229+
# This snippet has been automatically generated and should be regarded as a
230+
# code template only.
231+
# It will require modifications to work:
232+
# - It may require correct/in-range values for request initialization.
233+
# - It may require specifying regional endpoints when creating the service
234+
# client as shown in:
235+
# https://googleapis.dev/python/google-api-core/latest/client_options.html
229236
from google.cloud import webrisk_v1
230237
231238
async def sample_compute_threat_list_diff():
@@ -354,6 +361,13 @@ async def search_uris(
354361
355362
.. code-block:: python
356363
364+
# This snippet has been automatically generated and should be regarded as a
365+
# code template only.
366+
# It will require modifications to work:
367+
# - It may require correct/in-range values for request initialization.
368+
# - It may require specifying regional endpoints when creating the service
369+
# client as shown in:
370+
# https://googleapis.dev/python/google-api-core/latest/client_options.html
357371
from google.cloud import webrisk_v1
358372
359373
async def sample_search_uris():
@@ -468,6 +482,13 @@ async def search_hashes(
468482
469483
.. code-block:: python
470484
485+
# This snippet has been automatically generated and should be regarded as a
486+
# code template only.
487+
# It will require modifications to work:
488+
# - It may require correct/in-range values for request initialization.
489+
# - It may require specifying regional endpoints when creating the service
490+
# client as shown in:
491+
# https://googleapis.dev/python/google-api-core/latest/client_options.html
471492
from google.cloud import webrisk_v1
472493
473494
async def sample_search_hashes():
@@ -585,6 +606,13 @@ async def create_submission(
585606
586607
.. code-block:: python
587608
609+
# This snippet has been automatically generated and should be regarded as a
610+
# code template only.
611+
# It will require modifications to work:
612+
# - It may require correct/in-range values for request initialization.
613+
# - It may require specifying regional endpoints when creating the service
614+
# client as shown in:
615+
# https://googleapis.dev/python/google-api-core/latest/client_options.html
588616
from google.cloud import webrisk_v1
589617
590618
async def sample_create_submission():

packages/google-cloud-webrisk/google/cloud/webrisk_v1/services/web_risk_service/client.py

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -431,6 +431,13 @@ def compute_threat_list_diff(
431431
432432
.. code-block:: python
433433
434+
# This snippet has been automatically generated and should be regarded as a
435+
# code template only.
436+
# It will require modifications to work:
437+
# - It may require correct/in-range values for request initialization.
438+
# - It may require specifying regional endpoints when creating the service
439+
# client as shown in:
440+
# https://googleapis.dev/python/google-api-core/latest/client_options.html
434441
from google.cloud import webrisk_v1
435442
436443
def sample_compute_threat_list_diff():
@@ -549,6 +556,13 @@ def search_uris(
549556
550557
.. code-block:: python
551558
559+
# This snippet has been automatically generated and should be regarded as a
560+
# code template only.
561+
# It will require modifications to work:
562+
# - It may require correct/in-range values for request initialization.
563+
# - It may require specifying regional endpoints when creating the service
564+
# client as shown in:
565+
# https://googleapis.dev/python/google-api-core/latest/client_options.html
552566
from google.cloud import webrisk_v1
553567
554568
def sample_search_uris():
@@ -653,6 +667,13 @@ def search_hashes(
653667
654668
.. code-block:: python
655669
670+
# This snippet has been automatically generated and should be regarded as a
671+
# code template only.
672+
# It will require modifications to work:
673+
# - It may require correct/in-range values for request initialization.
674+
# - It may require specifying regional endpoints when creating the service
675+
# client as shown in:
676+
# https://googleapis.dev/python/google-api-core/latest/client_options.html
656677
from google.cloud import webrisk_v1
657678
658679
def sample_search_hashes():
@@ -760,6 +781,13 @@ def create_submission(
760781
761782
.. code-block:: python
762783
784+
# This snippet has been automatically generated and should be regarded as a
785+
# code template only.
786+
# It will require modifications to work:
787+
# - It may require correct/in-range values for request initialization.
788+
# - It may require specifying regional endpoints when creating the service
789+
# client as shown in:
790+
# https://googleapis.dev/python/google-api-core/latest/client_options.html
763791
from google.cloud import webrisk_v1
764792
765793
def sample_create_submission():

packages/google-cloud-webrisk/google/cloud/webrisk_v1beta1/services/web_risk_service_v1_beta1/async_client.py

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -222,6 +222,13 @@ async def compute_threat_list_diff(
222222
223223
.. code-block:: python
224224
225+
# This snippet has been automatically generated and should be regarded as a
226+
# code template only.
227+
# It will require modifications to work:
228+
# - It may require correct/in-range values for request initialization.
229+
# - It may require specifying regional endpoints when creating the service
230+
# client as shown in:
231+
# https://googleapis.dev/python/google-api-core/latest/client_options.html
225232
from google.cloud import webrisk_v1beta1
226233
227234
async def sample_compute_threat_list_diff():
@@ -338,6 +345,13 @@ async def search_uris(
338345
339346
.. code-block:: python
340347
348+
# This snippet has been automatically generated and should be regarded as a
349+
# code template only.
350+
# It will require modifications to work:
351+
# - It may require correct/in-range values for request initialization.
352+
# - It may require specifying regional endpoints when creating the service
353+
# client as shown in:
354+
# https://googleapis.dev/python/google-api-core/latest/client_options.html
341355
from google.cloud import webrisk_v1beta1
342356
343357
async def sample_search_uris():
@@ -451,6 +465,13 @@ async def search_hashes(
451465
452466
.. code-block:: python
453467
468+
# This snippet has been automatically generated and should be regarded as a
469+
# code template only.
470+
# It will require modifications to work:
471+
# - It may require correct/in-range values for request initialization.
472+
# - It may require specifying regional endpoints when creating the service
473+
# client as shown in:
474+
# https://googleapis.dev/python/google-api-core/latest/client_options.html
454475
from google.cloud import webrisk_v1beta1
455476
456477
async def sample_search_hashes():

packages/google-cloud-webrisk/google/cloud/webrisk_v1beta1/services/web_risk_service_v1_beta1/client.py

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -424,6 +424,13 @@ def compute_threat_list_diff(
424424
425425
.. code-block:: python
426426
427+
# This snippet has been automatically generated and should be regarded as a
428+
# code template only.
429+
# It will require modifications to work:
430+
# - It may require correct/in-range values for request initialization.
431+
# - It may require specifying regional endpoints when creating the service
432+
# client as shown in:
433+
# https://googleapis.dev/python/google-api-core/latest/client_options.html
427434
from google.cloud import webrisk_v1beta1
428435
429436
def sample_compute_threat_list_diff():
@@ -530,6 +537,13 @@ def search_uris(
530537
531538
.. code-block:: python
532539
540+
# This snippet has been automatically generated and should be regarded as a
541+
# code template only.
542+
# It will require modifications to work:
543+
# - It may require correct/in-range values for request initialization.
544+
# - It may require specifying regional endpoints when creating the service
545+
# client as shown in:
546+
# https://googleapis.dev/python/google-api-core/latest/client_options.html
533547
from google.cloud import webrisk_v1beta1
534548
535549
def sample_search_uris():
@@ -633,6 +647,13 @@ def search_hashes(
633647
634648
.. code-block:: python
635649
650+
# This snippet has been automatically generated and should be regarded as a
651+
# code template only.
652+
# It will require modifications to work:
653+
# - It may require correct/in-range values for request initialization.
654+
# - It may require specifying regional endpoints when creating the service
655+
# client as shown in:
656+
# https://googleapis.dev/python/google-api-core/latest/client_options.html
636657
from google.cloud import webrisk_v1beta1
637658
638659
def sample_search_hashes():
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
[mypy]
2-
python_version = 3.6
2+
python_version = 3.7
33
namespace_packages = True

0 commit comments

Comments
 (0)