@@ -235,6 +235,13 @@ async def get_trigger(
235
235
236
236
.. code-block:: python
237
237
238
+ # This snippet has been automatically generated and should be regarded as a
239
+ # code template only.
240
+ # It will require modifications to work:
241
+ # - It may require correct/in-range values for request initialization.
242
+ # - It may require specifying regional endpoints when creating the service
243
+ # client as shown in:
244
+ # https://googleapis.dev/python/google-api-core/latest/client_options.html
238
245
from google.cloud import eventarc_v1
239
246
240
247
async def sample_get_trigger():
@@ -330,6 +337,13 @@ async def list_triggers(
330
337
331
338
.. code-block:: python
332
339
340
+ # This snippet has been automatically generated and should be regarded as a
341
+ # code template only.
342
+ # It will require modifications to work:
343
+ # - It may require correct/in-range values for request initialization.
344
+ # - It may require specifying regional endpoints when creating the service
345
+ # client as shown in:
346
+ # https://googleapis.dev/python/google-api-core/latest/client_options.html
333
347
from google.cloud import eventarc_v1
334
348
335
349
async def sample_list_triggers():
@@ -440,6 +454,13 @@ async def create_trigger(
440
454
441
455
.. code-block:: python
442
456
457
+ # This snippet has been automatically generated and should be regarded as a
458
+ # code template only.
459
+ # It will require modifications to work:
460
+ # - It may require correct/in-range values for request initialization.
461
+ # - It may require specifying regional endpoints when creating the service
462
+ # client as shown in:
463
+ # https://googleapis.dev/python/google-api-core/latest/client_options.html
443
464
from google.cloud import eventarc_v1
444
465
445
466
async def sample_create_trigger():
@@ -578,6 +599,13 @@ async def update_trigger(
578
599
579
600
.. code-block:: python
580
601
602
+ # This snippet has been automatically generated and should be regarded as a
603
+ # code template only.
604
+ # It will require modifications to work:
605
+ # - It may require correct/in-range values for request initialization.
606
+ # - It may require specifying regional endpoints when creating the service
607
+ # client as shown in:
608
+ # https://googleapis.dev/python/google-api-core/latest/client_options.html
581
609
from google.cloud import eventarc_v1
582
610
583
611
async def sample_update_trigger():
@@ -710,6 +738,13 @@ async def delete_trigger(
710
738
711
739
.. code-block:: python
712
740
741
+ # This snippet has been automatically generated and should be regarded as a
742
+ # code template only.
743
+ # It will require modifications to work:
744
+ # - It may require correct/in-range values for request initialization.
745
+ # - It may require specifying regional endpoints when creating the service
746
+ # client as shown in:
747
+ # https://googleapis.dev/python/google-api-core/latest/client_options.html
713
748
from google.cloud import eventarc_v1
714
749
715
750
async def sample_delete_trigger():
@@ -831,6 +866,13 @@ async def get_channel(
831
866
832
867
.. code-block:: python
833
868
869
+ # This snippet has been automatically generated and should be regarded as a
870
+ # code template only.
871
+ # It will require modifications to work:
872
+ # - It may require correct/in-range values for request initialization.
873
+ # - It may require specifying regional endpoints when creating the service
874
+ # client as shown in:
875
+ # https://googleapis.dev/python/google-api-core/latest/client_options.html
834
876
from google.cloud import eventarc_v1
835
877
836
878
async def sample_get_channel():
@@ -932,6 +974,13 @@ async def list_channels(
932
974
933
975
.. code-block:: python
934
976
977
+ # This snippet has been automatically generated and should be regarded as a
978
+ # code template only.
979
+ # It will require modifications to work:
980
+ # - It may require correct/in-range values for request initialization.
981
+ # - It may require specifying regional endpoints when creating the service
982
+ # client as shown in:
983
+ # https://googleapis.dev/python/google-api-core/latest/client_options.html
935
984
from google.cloud import eventarc_v1
936
985
937
986
async def sample_list_channels():
@@ -1042,6 +1091,13 @@ async def create_channel(
1042
1091
1043
1092
.. code-block:: python
1044
1093
1094
+ # This snippet has been automatically generated and should be regarded as a
1095
+ # code template only.
1096
+ # It will require modifications to work:
1097
+ # - It may require correct/in-range values for request initialization.
1098
+ # - It may require specifying regional endpoints when creating the service
1099
+ # client as shown in:
1100
+ # https://googleapis.dev/python/google-api-core/latest/client_options.html
1045
1101
from google.cloud import eventarc_v1
1046
1102
1047
1103
async def sample_create_channel():
@@ -1180,6 +1236,13 @@ async def update_channel(
1180
1236
1181
1237
.. code-block:: python
1182
1238
1239
+ # This snippet has been automatically generated and should be regarded as a
1240
+ # code template only.
1241
+ # It will require modifications to work:
1242
+ # - It may require correct/in-range values for request initialization.
1243
+ # - It may require specifying regional endpoints when creating the service
1244
+ # client as shown in:
1245
+ # https://googleapis.dev/python/google-api-core/latest/client_options.html
1183
1246
from google.cloud import eventarc_v1
1184
1247
1185
1248
async def sample_update_channel():
@@ -1304,6 +1367,13 @@ async def delete_channel(
1304
1367
1305
1368
.. code-block:: python
1306
1369
1370
+ # This snippet has been automatically generated and should be regarded as a
1371
+ # code template only.
1372
+ # It will require modifications to work:
1373
+ # - It may require correct/in-range values for request initialization.
1374
+ # - It may require specifying regional endpoints when creating the service
1375
+ # client as shown in:
1376
+ # https://googleapis.dev/python/google-api-core/latest/client_options.html
1307
1377
from google.cloud import eventarc_v1
1308
1378
1309
1379
async def sample_delete_channel():
@@ -1418,6 +1488,13 @@ async def get_provider(
1418
1488
1419
1489
.. code-block:: python
1420
1490
1491
+ # This snippet has been automatically generated and should be regarded as a
1492
+ # code template only.
1493
+ # It will require modifications to work:
1494
+ # - It may require correct/in-range values for request initialization.
1495
+ # - It may require specifying regional endpoints when creating the service
1496
+ # client as shown in:
1497
+ # https://googleapis.dev/python/google-api-core/latest/client_options.html
1421
1498
from google.cloud import eventarc_v1
1422
1499
1423
1500
async def sample_get_provider():
@@ -1513,6 +1590,13 @@ async def list_providers(
1513
1590
1514
1591
.. code-block:: python
1515
1592
1593
+ # This snippet has been automatically generated and should be regarded as a
1594
+ # code template only.
1595
+ # It will require modifications to work:
1596
+ # - It may require correct/in-range values for request initialization.
1597
+ # - It may require specifying regional endpoints when creating the service
1598
+ # client as shown in:
1599
+ # https://googleapis.dev/python/google-api-core/latest/client_options.html
1516
1600
from google.cloud import eventarc_v1
1517
1601
1518
1602
async def sample_list_providers():
@@ -1620,6 +1704,13 @@ async def get_channel_connection(
1620
1704
1621
1705
.. code-block:: python
1622
1706
1707
+ # This snippet has been automatically generated and should be regarded as a
1708
+ # code template only.
1709
+ # It will require modifications to work:
1710
+ # - It may require correct/in-range values for request initialization.
1711
+ # - It may require specifying regional endpoints when creating the service
1712
+ # client as shown in:
1713
+ # https://googleapis.dev/python/google-api-core/latest/client_options.html
1623
1714
from google.cloud import eventarc_v1
1624
1715
1625
1716
async def sample_get_channel_connection():
@@ -1720,6 +1811,13 @@ async def list_channel_connections(
1720
1811
1721
1812
.. code-block:: python
1722
1813
1814
+ # This snippet has been automatically generated and should be regarded as a
1815
+ # code template only.
1816
+ # It will require modifications to work:
1817
+ # - It may require correct/in-range values for request initialization.
1818
+ # - It may require specifying regional endpoints when creating the service
1819
+ # client as shown in:
1820
+ # https://googleapis.dev/python/google-api-core/latest/client_options.html
1723
1821
from google.cloud import eventarc_v1
1724
1822
1725
1823
async def sample_list_channel_connections():
@@ -1831,6 +1929,13 @@ async def create_channel_connection(
1831
1929
1832
1930
.. code-block:: python
1833
1931
1932
+ # This snippet has been automatically generated and should be regarded as a
1933
+ # code template only.
1934
+ # It will require modifications to work:
1935
+ # - It may require correct/in-range values for request initialization.
1936
+ # - It may require specifying regional endpoints when creating the service
1937
+ # client as shown in:
1938
+ # https://googleapis.dev/python/google-api-core/latest/client_options.html
1834
1939
from google.cloud import eventarc_v1
1835
1940
1836
1941
async def sample_create_channel_connection():
@@ -1967,6 +2072,13 @@ async def delete_channel_connection(
1967
2072
1968
2073
.. code-block:: python
1969
2074
2075
+ # This snippet has been automatically generated and should be regarded as a
2076
+ # code template only.
2077
+ # It will require modifications to work:
2078
+ # - It may require correct/in-range values for request initialization.
2079
+ # - It may require specifying regional endpoints when creating the service
2080
+ # client as shown in:
2081
+ # https://googleapis.dev/python/google-api-core/latest/client_options.html
1970
2082
from google.cloud import eventarc_v1
1971
2083
1972
2084
async def sample_delete_channel_connection():
0 commit comments