Thanks to visit codestin.com
Credit goes to github.com

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

Commit 0eb307f

Browse files
chore: Bump gapic-generator-python version to 1.3.0 (#174)
- [ ] 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 ce67803 commit 0eb307f

File tree

34 files changed

+721
-301
lines changed

34 files changed

+721
-301
lines changed

google/cloud/apigateway_v1/services/api_gateway_service/async_client.py

Lines changed: 105 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -238,6 +238,13 @@ async def list_gateways(
238238
239239
.. code-block:: python
240240
241+
# This snippet has been automatically generated and should be regarded as a
242+
# code template only.
243+
# It will require modifications to work:
244+
# - It may require correct/in-range values for request initialization.
245+
# - It may require specifying regional endpoints when creating the service
246+
# client as shown in:
247+
# https://googleapis.dev/python/google-api-core/latest/client_options.html
241248
from google.cloud import apigateway_v1
242249
243250
async def sample_list_gateways():
@@ -346,6 +353,13 @@ async def get_gateway(
346353
347354
.. code-block:: python
348355
356+
# This snippet has been automatically generated and should be regarded as a
357+
# code template only.
358+
# It will require modifications to work:
359+
# - It may require correct/in-range values for request initialization.
360+
# - It may require specifying regional endpoints when creating the service
361+
# client as shown in:
362+
# https://googleapis.dev/python/google-api-core/latest/client_options.html
349363
from google.cloud import apigateway_v1
350364
351365
async def sample_get_gateway():
@@ -448,6 +462,13 @@ async def create_gateway(
448462
449463
.. code-block:: python
450464
465+
# This snippet has been automatically generated and should be regarded as a
466+
# code template only.
467+
# It will require modifications to work:
468+
# - It may require correct/in-range values for request initialization.
469+
# - It may require specifying regional endpoints when creating the service
470+
# client as shown in:
471+
# https://googleapis.dev/python/google-api-core/latest/client_options.html
451472
from google.cloud import apigateway_v1
452473
453474
async def sample_create_gateway():
@@ -592,6 +613,13 @@ async def update_gateway(
592613
593614
.. code-block:: python
594615
616+
# This snippet has been automatically generated and should be regarded as a
617+
# code template only.
618+
# It will require modifications to work:
619+
# - It may require correct/in-range values for request initialization.
620+
# - It may require specifying regional endpoints when creating the service
621+
# client as shown in:
622+
# https://googleapis.dev/python/google-api-core/latest/client_options.html
595623
from google.cloud import apigateway_v1
596624
597625
async def sample_update_gateway():
@@ -729,6 +757,13 @@ async def delete_gateway(
729757
730758
.. code-block:: python
731759
760+
# This snippet has been automatically generated and should be regarded as a
761+
# code template only.
762+
# It will require modifications to work:
763+
# - It may require correct/in-range values for request initialization.
764+
# - It may require specifying regional endpoints when creating the service
765+
# client as shown in:
766+
# https://googleapis.dev/python/google-api-core/latest/client_options.html
732767
from google.cloud import apigateway_v1
733768
734769
async def sample_delete_gateway():
@@ -856,6 +891,13 @@ async def list_apis(
856891
857892
.. code-block:: python
858893
894+
# This snippet has been automatically generated and should be regarded as a
895+
# code template only.
896+
# It will require modifications to work:
897+
# - It may require correct/in-range values for request initialization.
898+
# - It may require specifying regional endpoints when creating the service
899+
# client as shown in:
900+
# https://googleapis.dev/python/google-api-core/latest/client_options.html
859901
from google.cloud import apigateway_v1
860902
861903
async def sample_list_apis():
@@ -964,6 +1006,13 @@ async def get_api(
9641006
9651007
.. code-block:: python
9661008
1009+
# This snippet has been automatically generated and should be regarded as a
1010+
# code template only.
1011+
# It will require modifications to work:
1012+
# - It may require correct/in-range values for request initialization.
1013+
# - It may require specifying regional endpoints when creating the service
1014+
# client as shown in:
1015+
# https://googleapis.dev/python/google-api-core/latest/client_options.html
9671016
from google.cloud import apigateway_v1
9681017
9691018
async def sample_get_api():
@@ -1061,6 +1110,13 @@ async def create_api(
10611110
10621111
.. code-block:: python
10631112
1113+
# This snippet has been automatically generated and should be regarded as a
1114+
# code template only.
1115+
# It will require modifications to work:
1116+
# - It may require correct/in-range values for request initialization.
1117+
# - It may require specifying regional endpoints when creating the service
1118+
# client as shown in:
1119+
# https://googleapis.dev/python/google-api-core/latest/client_options.html
10641120
from google.cloud import apigateway_v1
10651121
10661122
async def sample_create_api():
@@ -1200,6 +1256,13 @@ async def update_api(
12001256
12011257
.. code-block:: python
12021258
1259+
# This snippet has been automatically generated and should be regarded as a
1260+
# code template only.
1261+
# It will require modifications to work:
1262+
# - It may require correct/in-range values for request initialization.
1263+
# - It may require specifying regional endpoints when creating the service
1264+
# client as shown in:
1265+
# https://googleapis.dev/python/google-api-core/latest/client_options.html
12031266
from google.cloud import apigateway_v1
12041267
12051268
async def sample_update_api():
@@ -1330,6 +1393,13 @@ async def delete_api(
13301393
13311394
.. code-block:: python
13321395
1396+
# This snippet has been automatically generated and should be regarded as a
1397+
# code template only.
1398+
# It will require modifications to work:
1399+
# - It may require correct/in-range values for request initialization.
1400+
# - It may require specifying regional endpoints when creating the service
1401+
# client as shown in:
1402+
# https://googleapis.dev/python/google-api-core/latest/client_options.html
13331403
from google.cloud import apigateway_v1
13341404
13351405
async def sample_delete_api():
@@ -1457,6 +1527,13 @@ async def list_api_configs(
14571527
14581528
.. code-block:: python
14591529
1530+
# This snippet has been automatically generated and should be regarded as a
1531+
# code template only.
1532+
# It will require modifications to work:
1533+
# - It may require correct/in-range values for request initialization.
1534+
# - It may require specifying regional endpoints when creating the service
1535+
# client as shown in:
1536+
# https://googleapis.dev/python/google-api-core/latest/client_options.html
14601537
from google.cloud import apigateway_v1
14611538
14621539
async def sample_list_api_configs():
@@ -1565,6 +1642,13 @@ async def get_api_config(
15651642
15661643
.. code-block:: python
15671644
1645+
# This snippet has been automatically generated and should be regarded as a
1646+
# code template only.
1647+
# It will require modifications to work:
1648+
# - It may require correct/in-range values for request initialization.
1649+
# - It may require specifying regional endpoints when creating the service
1650+
# client as shown in:
1651+
# https://googleapis.dev/python/google-api-core/latest/client_options.html
15681652
from google.cloud import apigateway_v1
15691653
15701654
async def sample_get_api_config():
@@ -1664,6 +1748,13 @@ async def create_api_config(
16641748
16651749
.. code-block:: python
16661750
1751+
# This snippet has been automatically generated and should be regarded as a
1752+
# code template only.
1753+
# It will require modifications to work:
1754+
# - It may require correct/in-range values for request initialization.
1755+
# - It may require specifying regional endpoints when creating the service
1756+
# client as shown in:
1757+
# https://googleapis.dev/python/google-api-core/latest/client_options.html
16671758
from google.cloud import apigateway_v1
16681759
16691760
async def sample_create_api_config():
@@ -1802,6 +1893,13 @@ async def update_api_config(
18021893
18031894
.. code-block:: python
18041895
1896+
# This snippet has been automatically generated and should be regarded as a
1897+
# code template only.
1898+
# It will require modifications to work:
1899+
# - It may require correct/in-range values for request initialization.
1900+
# - It may require specifying regional endpoints when creating the service
1901+
# client as shown in:
1902+
# https://googleapis.dev/python/google-api-core/latest/client_options.html
18051903
from google.cloud import apigateway_v1
18061904
18071905
async def sample_update_api_config():
@@ -1933,6 +2031,13 @@ async def delete_api_config(
19332031
19342032
.. code-block:: python
19352033
2034+
# This snippet has been automatically generated and should be regarded as a
2035+
# code template only.
2036+
# It will require modifications to work:
2037+
# - It may require correct/in-range values for request initialization.
2038+
# - It may require specifying regional endpoints when creating the service
2039+
# client as shown in:
2040+
# https://googleapis.dev/python/google-api-core/latest/client_options.html
19362041
from google.cloud import apigateway_v1
19372042
19382043
async def sample_delete_api_config():

0 commit comments

Comments
 (0)