Skip to content
This repository was archived by the owner on Jul 6, 2023. It is now read-only.

Commit e075bab

Browse files
chore: Bump gapic-generator-python version to 1.3.0 (#142)
- [ ] Regenerate this pull request now. PiperOrigin-RevId: 472561635 Source-Link: googleapis/googleapis@332ecf5 Source-Link: https://github.com/googleapis/googleapis-gen/commit/4313d682880fd9d7247291164d4e9d3d5bd9f177 Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiNDMxM2Q2ODI4ODBmZDlkNzI0NzI5MTE2NGQ0ZTlkM2Q1YmQ5ZjE3NyJ9
1 parent 8ca2523 commit e075bab

12 files changed

+193
-81
lines changed

google/cloud/vpcaccess_v1/services/vpc_access_service/async_client.py

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -228,6 +228,13 @@ async def create_connector(
228228
229229
.. code-block:: python
230230
231+
# This snippet has been automatically generated and should be regarded as a
232+
# code template only.
233+
# It will require modifications to work:
234+
# - It may require correct/in-range values for request initialization.
235+
# - It may require specifying regional endpoints when creating the service
236+
# client as shown in:
237+
# https://googleapis.dev/python/google-api-core/latest/client_options.html
231238
from google.cloud import vpcaccess_v1
232239
233240
async def sample_create_connector():
@@ -357,6 +364,13 @@ async def get_connector(
357364
358365
.. code-block:: python
359366
367+
# This snippet has been automatically generated and should be regarded as a
368+
# code template only.
369+
# It will require modifications to work:
370+
# - It may require correct/in-range values for request initialization.
371+
# - It may require specifying regional endpoints when creating the service
372+
# client as shown in:
373+
# https://googleapis.dev/python/google-api-core/latest/client_options.html
360374
from google.cloud import vpcaccess_v1
361375
362376
async def sample_get_connector():
@@ -452,6 +466,13 @@ async def list_connectors(
452466
453467
.. code-block:: python
454468
469+
# This snippet has been automatically generated and should be regarded as a
470+
# code template only.
471+
# It will require modifications to work:
472+
# - It may require correct/in-range values for request initialization.
473+
# - It may require specifying regional endpoints when creating the service
474+
# client as shown in:
475+
# https://googleapis.dev/python/google-api-core/latest/client_options.html
455476
from google.cloud import vpcaccess_v1
456477
457478
async def sample_list_connectors():
@@ -561,6 +582,13 @@ async def delete_connector(
561582
562583
.. code-block:: python
563584
585+
# This snippet has been automatically generated and should be regarded as a
586+
# code template only.
587+
# It will require modifications to work:
588+
# - It may require correct/in-range values for request initialization.
589+
# - It may require specifying regional endpoints when creating the service
590+
# client as shown in:
591+
# https://googleapis.dev/python/google-api-core/latest/client_options.html
564592
from google.cloud import vpcaccess_v1
565593
566594
async def sample_delete_connector():

google/cloud/vpcaccess_v1/services/vpc_access_service/client.py

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -453,6 +453,13 @@ def create_connector(
453453
454454
.. code-block:: python
455455
456+
# This snippet has been automatically generated and should be regarded as a
457+
# code template only.
458+
# It will require modifications to work:
459+
# - It may require correct/in-range values for request initialization.
460+
# - It may require specifying regional endpoints when creating the service
461+
# client as shown in:
462+
# https://googleapis.dev/python/google-api-core/latest/client_options.html
456463
from google.cloud import vpcaccess_v1
457464
458465
def sample_create_connector():
@@ -582,6 +589,13 @@ def get_connector(
582589
583590
.. code-block:: python
584591
592+
# This snippet has been automatically generated and should be regarded as a
593+
# code template only.
594+
# It will require modifications to work:
595+
# - It may require correct/in-range values for request initialization.
596+
# - It may require specifying regional endpoints when creating the service
597+
# client as shown in:
598+
# https://googleapis.dev/python/google-api-core/latest/client_options.html
585599
from google.cloud import vpcaccess_v1
586600
587601
def sample_get_connector():
@@ -677,6 +691,13 @@ def list_connectors(
677691
678692
.. code-block:: python
679693
694+
# This snippet has been automatically generated and should be regarded as a
695+
# code template only.
696+
# It will require modifications to work:
697+
# - It may require correct/in-range values for request initialization.
698+
# - It may require specifying regional endpoints when creating the service
699+
# client as shown in:
700+
# https://googleapis.dev/python/google-api-core/latest/client_options.html
680701
from google.cloud import vpcaccess_v1
681702
682703
def sample_list_connectors():
@@ -786,6 +807,13 @@ def delete_connector(
786807
787808
.. code-block:: python
788809
810+
# This snippet has been automatically generated and should be regarded as a
811+
# code template only.
812+
# It will require modifications to work:
813+
# - It may require correct/in-range values for request initialization.
814+
# - It may require specifying regional endpoints when creating the service
815+
# client as shown in:
816+
# https://googleapis.dev/python/google-api-core/latest/client_options.html
789817
from google.cloud import vpcaccess_v1
790818
791819
def sample_delete_connector():

mypy.ini

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)