@@ -246,6 +246,13 @@ async def list_instances(
246
246
247
247
.. code-block:: python
248
248
249
+ # This snippet has been automatically generated and should be regarded as a
250
+ # code template only.
251
+ # It will require modifications to work:
252
+ # - It may require correct/in-range values for request initialization.
253
+ # - It may require specifying regional endpoints when creating the service
254
+ # client as shown in:
255
+ # https://googleapis.dev/python/google-api-core/latest/client_options.html
249
256
from google.cloud import redis_v1
250
257
251
258
async def sample_list_instances():
@@ -356,6 +363,13 @@ async def get_instance(
356
363
357
364
.. code-block:: python
358
365
366
+ # This snippet has been automatically generated and should be regarded as a
367
+ # code template only.
368
+ # It will require modifications to work:
369
+ # - It may require correct/in-range values for request initialization.
370
+ # - It may require specifying regional endpoints when creating the service
371
+ # client as shown in:
372
+ # https://googleapis.dev/python/google-api-core/latest/client_options.html
359
373
from google.cloud import redis_v1
360
374
361
375
async def sample_get_instance():
@@ -453,6 +467,13 @@ async def get_instance_auth_string(
453
467
454
468
.. code-block:: python
455
469
470
+ # This snippet has been automatically generated and should be regarded as a
471
+ # code template only.
472
+ # It will require modifications to work:
473
+ # - It may require correct/in-range values for request initialization.
474
+ # - It may require specifying regional endpoints when creating the service
475
+ # client as shown in:
476
+ # https://googleapis.dev/python/google-api-core/latest/client_options.html
456
477
from google.cloud import redis_v1
457
478
458
479
async def sample_get_instance_auth_string():
@@ -562,6 +583,13 @@ async def create_instance(
562
583
563
584
.. code-block:: python
564
585
586
+ # This snippet has been automatically generated and should be regarded as a
587
+ # code template only.
588
+ # It will require modifications to work:
589
+ # - It may require correct/in-range values for request initialization.
590
+ # - It may require specifying regional endpoints when creating the service
591
+ # client as shown in:
592
+ # https://googleapis.dev/python/google-api-core/latest/client_options.html
565
593
from google.cloud import redis_v1
566
594
567
595
async def sample_create_instance():
@@ -710,6 +738,13 @@ async def update_instance(
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 redis_v1
714
749
715
750
async def sample_update_instance():
@@ -846,6 +881,13 @@ async def upgrade_instance(
846
881
847
882
.. code-block:: python
848
883
884
+ # This snippet has been automatically generated and should be regarded as a
885
+ # code template only.
886
+ # It will require modifications to work:
887
+ # - It may require correct/in-range values for request initialization.
888
+ # - It may require specifying regional endpoints when creating the service
889
+ # client as shown in:
890
+ # https://googleapis.dev/python/google-api-core/latest/client_options.html
849
891
from google.cloud import redis_v1
850
892
851
893
async def sample_upgrade_instance():
@@ -976,6 +1018,13 @@ async def import_instance(
976
1018
977
1019
.. code-block:: python
978
1020
1021
+ # This snippet has been automatically generated and should be regarded as a
1022
+ # code template only.
1023
+ # It will require modifications to work:
1024
+ # - It may require correct/in-range values for request initialization.
1025
+ # - It may require specifying regional endpoints when creating the service
1026
+ # client as shown in:
1027
+ # https://googleapis.dev/python/google-api-core/latest/client_options.html
979
1028
from google.cloud import redis_v1
980
1029
981
1030
async def sample_import_instance():
@@ -1105,6 +1154,13 @@ async def export_instance(
1105
1154
1106
1155
.. code-block:: python
1107
1156
1157
+ # This snippet has been automatically generated and should be regarded as a
1158
+ # code template only.
1159
+ # It will require modifications to work:
1160
+ # - It may require correct/in-range values for request initialization.
1161
+ # - It may require specifying regional endpoints when creating the service
1162
+ # client as shown in:
1163
+ # https://googleapis.dev/python/google-api-core/latest/client_options.html
1108
1164
from google.cloud import redis_v1
1109
1165
1110
1166
async def sample_export_instance():
@@ -1232,6 +1288,13 @@ async def failover_instance(
1232
1288
1233
1289
.. code-block:: python
1234
1290
1291
+ # This snippet has been automatically generated and should be regarded as a
1292
+ # code template only.
1293
+ # It will require modifications to work:
1294
+ # - It may require correct/in-range values for request initialization.
1295
+ # - It may require specifying regional endpoints when creating the service
1296
+ # client as shown in:
1297
+ # https://googleapis.dev/python/google-api-core/latest/client_options.html
1235
1298
from google.cloud import redis_v1
1236
1299
1237
1300
async def sample_failover_instance():
@@ -1354,6 +1417,13 @@ async def delete_instance(
1354
1417
1355
1418
.. code-block:: python
1356
1419
1420
+ # This snippet has been automatically generated and should be regarded as a
1421
+ # code template only.
1422
+ # It will require modifications to work:
1423
+ # - It may require correct/in-range values for request initialization.
1424
+ # - It may require specifying regional endpoints when creating the service
1425
+ # client as shown in:
1426
+ # https://googleapis.dev/python/google-api-core/latest/client_options.html
1357
1427
from google.cloud import redis_v1
1358
1428
1359
1429
async def sample_delete_instance():
@@ -1475,6 +1545,13 @@ async def reschedule_maintenance(
1475
1545
1476
1546
.. code-block:: python
1477
1547
1548
+ # This snippet has been automatically generated and should be regarded as a
1549
+ # code template only.
1550
+ # It will require modifications to work:
1551
+ # - It may require correct/in-range values for request initialization.
1552
+ # - It may require specifying regional endpoints when creating the service
1553
+ # client as shown in:
1554
+ # https://googleapis.dev/python/google-api-core/latest/client_options.html
1478
1555
from google.cloud import redis_v1
1479
1556
1480
1557
async def sample_reschedule_maintenance():
0 commit comments