@@ -227,6 +227,13 @@ async def list_connection_profiles(
227
227
228
228
.. code-block:: python
229
229
230
+ # This snippet has been automatically generated and should be regarded as a
231
+ # code template only.
232
+ # It will require modifications to work:
233
+ # - It may require correct/in-range values for request initialization.
234
+ # - It may require specifying regional endpoints when creating the service
235
+ # client as shown in:
236
+ # https://googleapis.dev/python/google-api-core/latest/client_options.html
230
237
from google.cloud import datastream_v1alpha1
231
238
232
239
async def sample_list_connection_profiles():
@@ -333,6 +340,13 @@ async def get_connection_profile(
333
340
334
341
.. code-block:: python
335
342
343
+ # This snippet has been automatically generated and should be regarded as a
344
+ # code template only.
345
+ # It will require modifications to work:
346
+ # - It may require correct/in-range values for request initialization.
347
+ # - It may require specifying regional endpoints when creating the service
348
+ # client as shown in:
349
+ # https://googleapis.dev/python/google-api-core/latest/client_options.html
336
350
from google.cloud import datastream_v1alpha1
337
351
338
352
async def sample_get_connection_profile():
@@ -428,6 +442,13 @@ async def create_connection_profile(
428
442
429
443
.. code-block:: python
430
444
445
+ # This snippet has been automatically generated and should be regarded as a
446
+ # code template only.
447
+ # It will require modifications to work:
448
+ # - It may require correct/in-range values for request initialization.
449
+ # - It may require specifying regional endpoints when creating the service
450
+ # client as shown in:
451
+ # https://googleapis.dev/python/google-api-core/latest/client_options.html
431
452
from google.cloud import datastream_v1alpha1
432
453
433
454
async def sample_create_connection_profile():
@@ -565,6 +586,13 @@ async def update_connection_profile(
565
586
566
587
.. code-block:: python
567
588
589
+ # This snippet has been automatically generated and should be regarded as a
590
+ # code template only.
591
+ # It will require modifications to work:
592
+ # - It may require correct/in-range values for request initialization.
593
+ # - It may require specifying regional endpoints when creating the service
594
+ # client as shown in:
595
+ # https://googleapis.dev/python/google-api-core/latest/client_options.html
568
596
from google.cloud import datastream_v1alpha1
569
597
570
598
async def sample_update_connection_profile():
@@ -696,6 +724,13 @@ async def delete_connection_profile(
696
724
697
725
.. code-block:: python
698
726
727
+ # This snippet has been automatically generated and should be regarded as a
728
+ # code template only.
729
+ # It will require modifications to work:
730
+ # - It may require correct/in-range values for request initialization.
731
+ # - It may require specifying regional endpoints when creating the service
732
+ # client as shown in:
733
+ # https://googleapis.dev/python/google-api-core/latest/client_options.html
699
734
from google.cloud import datastream_v1alpha1
700
735
701
736
async def sample_delete_connection_profile():
@@ -815,6 +850,13 @@ async def discover_connection_profile(
815
850
816
851
.. code-block:: python
817
852
853
+ # This snippet has been automatically generated and should be regarded as a
854
+ # code template only.
855
+ # It will require modifications to work:
856
+ # - It may require correct/in-range values for request initialization.
857
+ # - It may require specifying regional endpoints when creating the service
858
+ # client as shown in:
859
+ # https://googleapis.dev/python/google-api-core/latest/client_options.html
818
860
from google.cloud import datastream_v1alpha1
819
861
820
862
async def sample_discover_connection_profile():
@@ -897,6 +939,13 @@ async def list_streams(
897
939
898
940
.. code-block:: python
899
941
942
+ # This snippet has been automatically generated and should be regarded as a
943
+ # code template only.
944
+ # It will require modifications to work:
945
+ # - It may require correct/in-range values for request initialization.
946
+ # - It may require specifying regional endpoints when creating the service
947
+ # client as shown in:
948
+ # https://googleapis.dev/python/google-api-core/latest/client_options.html
900
949
from google.cloud import datastream_v1alpha1
901
950
902
951
async def sample_list_streams():
@@ -1002,6 +1051,13 @@ async def get_stream(
1002
1051
1003
1052
.. code-block:: python
1004
1053
1054
+ # This snippet has been automatically generated and should be regarded as a
1055
+ # code template only.
1056
+ # It will require modifications to work:
1057
+ # - It may require correct/in-range values for request initialization.
1058
+ # - It may require specifying regional endpoints when creating the service
1059
+ # client as shown in:
1060
+ # https://googleapis.dev/python/google-api-core/latest/client_options.html
1005
1061
from google.cloud import datastream_v1alpha1
1006
1062
1007
1063
async def sample_get_stream():
@@ -1096,6 +1152,13 @@ async def create_stream(
1096
1152
1097
1153
.. code-block:: python
1098
1154
1155
+ # This snippet has been automatically generated and should be regarded as a
1156
+ # code template only.
1157
+ # It will require modifications to work:
1158
+ # - It may require correct/in-range values for request initialization.
1159
+ # - It may require specifying regional endpoints when creating the service
1160
+ # client as shown in:
1161
+ # https://googleapis.dev/python/google-api-core/latest/client_options.html
1099
1162
from google.cloud import datastream_v1alpha1
1100
1163
1101
1164
async def sample_create_stream():
@@ -1229,6 +1292,13 @@ async def update_stream(
1229
1292
1230
1293
.. code-block:: python
1231
1294
1295
+ # This snippet has been automatically generated and should be regarded as a
1296
+ # code template only.
1297
+ # It will require modifications to work:
1298
+ # - It may require correct/in-range values for request initialization.
1299
+ # - It may require specifying regional endpoints when creating the service
1300
+ # client as shown in:
1301
+ # https://googleapis.dev/python/google-api-core/latest/client_options.html
1232
1302
from google.cloud import datastream_v1alpha1
1233
1303
1234
1304
async def sample_update_stream():
@@ -1357,6 +1427,13 @@ async def delete_stream(
1357
1427
1358
1428
.. code-block:: python
1359
1429
1430
+ # This snippet has been automatically generated and should be regarded as a
1431
+ # code template only.
1432
+ # It will require modifications to work:
1433
+ # - It may require correct/in-range values for request initialization.
1434
+ # - It may require specifying regional endpoints when creating the service
1435
+ # client as shown in:
1436
+ # https://googleapis.dev/python/google-api-core/latest/client_options.html
1360
1437
from google.cloud import datastream_v1alpha1
1361
1438
1362
1439
async def sample_delete_stream():
@@ -1473,6 +1550,13 @@ async def fetch_errors(
1473
1550
1474
1551
.. code-block:: python
1475
1552
1553
+ # This snippet has been automatically generated and should be regarded as a
1554
+ # code template only.
1555
+ # It will require modifications to work:
1556
+ # - It may require correct/in-range values for request initialization.
1557
+ # - It may require specifying regional endpoints when creating the service
1558
+ # client as shown in:
1559
+ # https://googleapis.dev/python/google-api-core/latest/client_options.html
1476
1560
from google.cloud import datastream_v1alpha1
1477
1561
1478
1562
async def sample_fetch_errors():
@@ -1564,6 +1648,13 @@ async def fetch_static_ips(
1564
1648
1565
1649
.. code-block:: python
1566
1650
1651
+ # This snippet has been automatically generated and should be regarded as a
1652
+ # code template only.
1653
+ # It will require modifications to work:
1654
+ # - It may require correct/in-range values for request initialization.
1655
+ # - It may require specifying regional endpoints when creating the service
1656
+ # client as shown in:
1657
+ # https://googleapis.dev/python/google-api-core/latest/client_options.html
1567
1658
from google.cloud import datastream_v1alpha1
1568
1659
1569
1660
async def sample_fetch_static_ips():
@@ -1675,6 +1766,13 @@ async def create_private_connection(
1675
1766
1676
1767
.. code-block:: python
1677
1768
1769
+ # This snippet has been automatically generated and should be regarded as a
1770
+ # code template only.
1771
+ # It will require modifications to work:
1772
+ # - It may require correct/in-range values for request initialization.
1773
+ # - It may require specifying regional endpoints when creating the service
1774
+ # client as shown in:
1775
+ # https://googleapis.dev/python/google-api-core/latest/client_options.html
1678
1776
from google.cloud import datastream_v1alpha1
1679
1777
1680
1778
async def sample_create_private_connection():
@@ -1807,6 +1905,13 @@ async def get_private_connection(
1807
1905
1808
1906
.. code-block:: python
1809
1907
1908
+ # This snippet has been automatically generated and should be regarded as a
1909
+ # code template only.
1910
+ # It will require modifications to work:
1911
+ # - It may require correct/in-range values for request initialization.
1912
+ # - It may require specifying regional endpoints when creating the service
1913
+ # client as shown in:
1914
+ # https://googleapis.dev/python/google-api-core/latest/client_options.html
1810
1915
from google.cloud import datastream_v1alpha1
1811
1916
1812
1917
async def sample_get_private_connection():
@@ -1904,6 +2009,13 @@ async def list_private_connections(
1904
2009
1905
2010
.. code-block:: python
1906
2011
2012
+ # This snippet has been automatically generated and should be regarded as a
2013
+ # code template only.
2014
+ # It will require modifications to work:
2015
+ # - It may require correct/in-range values for request initialization.
2016
+ # - It may require specifying regional endpoints when creating the service
2017
+ # client as shown in:
2018
+ # https://googleapis.dev/python/google-api-core/latest/client_options.html
1907
2019
from google.cloud import datastream_v1alpha1
1908
2020
1909
2021
async def sample_list_private_connections():
@@ -2011,6 +2123,13 @@ async def delete_private_connection(
2011
2123
2012
2124
.. code-block:: python
2013
2125
2126
+ # This snippet has been automatically generated and should be regarded as a
2127
+ # code template only.
2128
+ # It will require modifications to work:
2129
+ # - It may require correct/in-range values for request initialization.
2130
+ # - It may require specifying regional endpoints when creating the service
2131
+ # client as shown in:
2132
+ # https://googleapis.dev/python/google-api-core/latest/client_options.html
2014
2133
from google.cloud import datastream_v1alpha1
2015
2134
2016
2135
async def sample_delete_private_connection():
@@ -2130,6 +2249,13 @@ async def create_route(
2130
2249
2131
2250
.. code-block:: python
2132
2251
2252
+ # This snippet has been automatically generated and should be regarded as a
2253
+ # code template only.
2254
+ # It will require modifications to work:
2255
+ # - It may require correct/in-range values for request initialization.
2256
+ # - It may require specifying regional endpoints when creating the service
2257
+ # client as shown in:
2258
+ # https://googleapis.dev/python/google-api-core/latest/client_options.html
2133
2259
from google.cloud import datastream_v1alpha1
2134
2260
2135
2261
async def sample_create_route():
@@ -2261,6 +2387,13 @@ async def get_route(
2261
2387
2262
2388
.. code-block:: python
2263
2389
2390
+ # This snippet has been automatically generated and should be regarded as a
2391
+ # code template only.
2392
+ # It will require modifications to work:
2393
+ # - It may require correct/in-range values for request initialization.
2394
+ # - It may require specifying regional endpoints when creating the service
2395
+ # client as shown in:
2396
+ # https://googleapis.dev/python/google-api-core/latest/client_options.html
2264
2397
from google.cloud import datastream_v1alpha1
2265
2398
2266
2399
async def sample_get_route():
@@ -2358,6 +2491,13 @@ async def list_routes(
2358
2491
2359
2492
.. code-block:: python
2360
2493
2494
+ # This snippet has been automatically generated and should be regarded as a
2495
+ # code template only.
2496
+ # It will require modifications to work:
2497
+ # - It may require correct/in-range values for request initialization.
2498
+ # - It may require specifying regional endpoints when creating the service
2499
+ # client as shown in:
2500
+ # https://googleapis.dev/python/google-api-core/latest/client_options.html
2361
2501
from google.cloud import datastream_v1alpha1
2362
2502
2363
2503
async def sample_list_routes():
@@ -2464,6 +2604,13 @@ async def delete_route(
2464
2604
2465
2605
.. code-block:: python
2466
2606
2607
+ # This snippet has been automatically generated and should be regarded as a
2608
+ # code template only.
2609
+ # It will require modifications to work:
2610
+ # - It may require correct/in-range values for request initialization.
2611
+ # - It may require specifying regional endpoints when creating the service
2612
+ # client as shown in:
2613
+ # https://googleapis.dev/python/google-api-core/latest/client_options.html
2467
2614
from google.cloud import datastream_v1alpha1
2468
2615
2469
2616
async def sample_delete_route():
0 commit comments