@@ -238,6 +238,13 @@ async def list_gateways(
238
238
239
239
.. code-block:: python
240
240
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
241
248
from google.cloud import apigateway_v1
242
249
243
250
async def sample_list_gateways():
@@ -346,6 +353,13 @@ async def get_gateway(
346
353
347
354
.. code-block:: python
348
355
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
349
363
from google.cloud import apigateway_v1
350
364
351
365
async def sample_get_gateway():
@@ -448,6 +462,13 @@ async def create_gateway(
448
462
449
463
.. code-block:: python
450
464
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
451
472
from google.cloud import apigateway_v1
452
473
453
474
async def sample_create_gateway():
@@ -592,6 +613,13 @@ async def update_gateway(
592
613
593
614
.. code-block:: python
594
615
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
595
623
from google.cloud import apigateway_v1
596
624
597
625
async def sample_update_gateway():
@@ -729,6 +757,13 @@ async def delete_gateway(
729
757
730
758
.. code-block:: python
731
759
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
732
767
from google.cloud import apigateway_v1
733
768
734
769
async def sample_delete_gateway():
@@ -856,6 +891,13 @@ async def list_apis(
856
891
857
892
.. code-block:: python
858
893
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
859
901
from google.cloud import apigateway_v1
860
902
861
903
async def sample_list_apis():
@@ -964,6 +1006,13 @@ async def get_api(
964
1006
965
1007
.. code-block:: python
966
1008
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
967
1016
from google.cloud import apigateway_v1
968
1017
969
1018
async def sample_get_api():
@@ -1061,6 +1110,13 @@ async def create_api(
1061
1110
1062
1111
.. code-block:: python
1063
1112
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
1064
1120
from google.cloud import apigateway_v1
1065
1121
1066
1122
async def sample_create_api():
@@ -1200,6 +1256,13 @@ async def update_api(
1200
1256
1201
1257
.. code-block:: python
1202
1258
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
1203
1266
from google.cloud import apigateway_v1
1204
1267
1205
1268
async def sample_update_api():
@@ -1330,6 +1393,13 @@ async def delete_api(
1330
1393
1331
1394
.. code-block:: python
1332
1395
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
1333
1403
from google.cloud import apigateway_v1
1334
1404
1335
1405
async def sample_delete_api():
@@ -1457,6 +1527,13 @@ async def list_api_configs(
1457
1527
1458
1528
.. code-block:: python
1459
1529
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
1460
1537
from google.cloud import apigateway_v1
1461
1538
1462
1539
async def sample_list_api_configs():
@@ -1565,6 +1642,13 @@ async def get_api_config(
1565
1642
1566
1643
.. code-block:: python
1567
1644
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
1568
1652
from google.cloud import apigateway_v1
1569
1653
1570
1654
async def sample_get_api_config():
@@ -1664,6 +1748,13 @@ async def create_api_config(
1664
1748
1665
1749
.. code-block:: python
1666
1750
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
1667
1758
from google.cloud import apigateway_v1
1668
1759
1669
1760
async def sample_create_api_config():
@@ -1802,6 +1893,13 @@ async def update_api_config(
1802
1893
1803
1894
.. code-block:: python
1804
1895
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
1805
1903
from google.cloud import apigateway_v1
1806
1904
1807
1905
async def sample_update_api_config():
@@ -1933,6 +2031,13 @@ async def delete_api_config(
1933
2031
1934
2032
.. code-block:: python
1935
2033
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
1936
2041
from google.cloud import apigateway_v1
1937
2042
1938
2043
async def sample_delete_api_config():
0 commit comments