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

Commit 3279aae

Browse files
chore: Bump gapic-generator-python version to 1.3.0 (#226)
- [ ] 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 0ab0398 commit 3279aae

File tree

51 files changed

+1057
-441
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

51 files changed

+1057
-441
lines changed

google/cloud/redis_v1/services/cloud_redis/async_client.py

Lines changed: 77 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -246,6 +246,13 @@ async def list_instances(
246246
247247
.. code-block:: python
248248
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
249256
from google.cloud import redis_v1
250257
251258
async def sample_list_instances():
@@ -356,6 +363,13 @@ async def get_instance(
356363
357364
.. code-block:: python
358365
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
359373
from google.cloud import redis_v1
360374
361375
async def sample_get_instance():
@@ -453,6 +467,13 @@ async def get_instance_auth_string(
453467
454468
.. code-block:: python
455469
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
456477
from google.cloud import redis_v1
457478
458479
async def sample_get_instance_auth_string():
@@ -562,6 +583,13 @@ async def create_instance(
562583
563584
.. code-block:: python
564585
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
565593
from google.cloud import redis_v1
566594
567595
async def sample_create_instance():
@@ -710,6 +738,13 @@ async def update_instance(
710738
711739
.. code-block:: python
712740
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
713748
from google.cloud import redis_v1
714749
715750
async def sample_update_instance():
@@ -846,6 +881,13 @@ async def upgrade_instance(
846881
847882
.. code-block:: python
848883
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
849891
from google.cloud import redis_v1
850892
851893
async def sample_upgrade_instance():
@@ -976,6 +1018,13 @@ async def import_instance(
9761018
9771019
.. code-block:: python
9781020
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
9791028
from google.cloud import redis_v1
9801029
9811030
async def sample_import_instance():
@@ -1105,6 +1154,13 @@ async def export_instance(
11051154
11061155
.. code-block:: python
11071156
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
11081164
from google.cloud import redis_v1
11091165
11101166
async def sample_export_instance():
@@ -1232,6 +1288,13 @@ async def failover_instance(
12321288
12331289
.. code-block:: python
12341290
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
12351298
from google.cloud import redis_v1
12361299
12371300
async def sample_failover_instance():
@@ -1354,6 +1417,13 @@ async def delete_instance(
13541417
13551418
.. code-block:: python
13561419
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
13571427
from google.cloud import redis_v1
13581428
13591429
async def sample_delete_instance():
@@ -1475,6 +1545,13 @@ async def reschedule_maintenance(
14751545
14761546
.. code-block:: python
14771547
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
14781555
from google.cloud import redis_v1
14791556
14801557
async def sample_reschedule_maintenance():

google/cloud/redis_v1/services/cloud_redis/client.py

Lines changed: 77 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -475,6 +475,13 @@ def list_instances(
475475
476476
.. code-block:: python
477477
478+
# This snippet has been automatically generated and should be regarded as a
479+
# code template only.
480+
# It will require modifications to work:
481+
# - It may require correct/in-range values for request initialization.
482+
# - It may require specifying regional endpoints when creating the service
483+
# client as shown in:
484+
# https://googleapis.dev/python/google-api-core/latest/client_options.html
478485
from google.cloud import redis_v1
479486
480487
def sample_list_instances():
@@ -585,6 +592,13 @@ def get_instance(
585592
586593
.. code-block:: python
587594
595+
# This snippet has been automatically generated and should be regarded as a
596+
# code template only.
597+
# It will require modifications to work:
598+
# - It may require correct/in-range values for request initialization.
599+
# - It may require specifying regional endpoints when creating the service
600+
# client as shown in:
601+
# https://googleapis.dev/python/google-api-core/latest/client_options.html
588602
from google.cloud import redis_v1
589603
590604
def sample_get_instance():
@@ -682,6 +696,13 @@ def get_instance_auth_string(
682696
683697
.. code-block:: python
684698
699+
# This snippet has been automatically generated and should be regarded as a
700+
# code template only.
701+
# It will require modifications to work:
702+
# - It may require correct/in-range values for request initialization.
703+
# - It may require specifying regional endpoints when creating the service
704+
# client as shown in:
705+
# https://googleapis.dev/python/google-api-core/latest/client_options.html
685706
from google.cloud import redis_v1
686707
687708
def sample_get_instance_auth_string():
@@ -791,6 +812,13 @@ def create_instance(
791812
792813
.. code-block:: python
793814
815+
# This snippet has been automatically generated and should be regarded as a
816+
# code template only.
817+
# It will require modifications to work:
818+
# - It may require correct/in-range values for request initialization.
819+
# - It may require specifying regional endpoints when creating the service
820+
# client as shown in:
821+
# https://googleapis.dev/python/google-api-core/latest/client_options.html
794822
from google.cloud import redis_v1
795823
796824
def sample_create_instance():
@@ -939,6 +967,13 @@ def update_instance(
939967
940968
.. code-block:: python
941969
970+
# This snippet has been automatically generated and should be regarded as a
971+
# code template only.
972+
# It will require modifications to work:
973+
# - It may require correct/in-range values for request initialization.
974+
# - It may require specifying regional endpoints when creating the service
975+
# client as shown in:
976+
# https://googleapis.dev/python/google-api-core/latest/client_options.html
942977
from google.cloud import redis_v1
943978
944979
def sample_update_instance():
@@ -1075,6 +1110,13 @@ def upgrade_instance(
10751110
10761111
.. code-block:: python
10771112
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
10781120
from google.cloud import redis_v1
10791121
10801122
def sample_upgrade_instance():
@@ -1205,6 +1247,13 @@ def import_instance(
12051247
12061248
.. code-block:: python
12071249
1250+
# This snippet has been automatically generated and should be regarded as a
1251+
# code template only.
1252+
# It will require modifications to work:
1253+
# - It may require correct/in-range values for request initialization.
1254+
# - It may require specifying regional endpoints when creating the service
1255+
# client as shown in:
1256+
# https://googleapis.dev/python/google-api-core/latest/client_options.html
12081257
from google.cloud import redis_v1
12091258
12101259
def sample_import_instance():
@@ -1334,6 +1383,13 @@ def export_instance(
13341383
13351384
.. code-block:: python
13361385
1386+
# This snippet has been automatically generated and should be regarded as a
1387+
# code template only.
1388+
# It will require modifications to work:
1389+
# - It may require correct/in-range values for request initialization.
1390+
# - It may require specifying regional endpoints when creating the service
1391+
# client as shown in:
1392+
# https://googleapis.dev/python/google-api-core/latest/client_options.html
13371393
from google.cloud import redis_v1
13381394
13391395
def sample_export_instance():
@@ -1461,6 +1517,13 @@ def failover_instance(
14611517
14621518
.. code-block:: python
14631519
1520+
# This snippet has been automatically generated and should be regarded as a
1521+
# code template only.
1522+
# It will require modifications to work:
1523+
# - It may require correct/in-range values for request initialization.
1524+
# - It may require specifying regional endpoints when creating the service
1525+
# client as shown in:
1526+
# https://googleapis.dev/python/google-api-core/latest/client_options.html
14641527
from google.cloud import redis_v1
14651528
14661529
def sample_failover_instance():
@@ -1583,6 +1646,13 @@ def delete_instance(
15831646
15841647
.. code-block:: python
15851648
1649+
# This snippet has been automatically generated and should be regarded as a
1650+
# code template only.
1651+
# It will require modifications to work:
1652+
# - It may require correct/in-range values for request initialization.
1653+
# - It may require specifying regional endpoints when creating the service
1654+
# client as shown in:
1655+
# https://googleapis.dev/python/google-api-core/latest/client_options.html
15861656
from google.cloud import redis_v1
15871657
15881658
def sample_delete_instance():
@@ -1704,6 +1774,13 @@ def reschedule_maintenance(
17041774
17051775
.. code-block:: python
17061776
1777+
# This snippet has been automatically generated and should be regarded as a
1778+
# code template only.
1779+
# It will require modifications to work:
1780+
# - It may require correct/in-range values for request initialization.
1781+
# - It may require specifying regional endpoints when creating the service
1782+
# client as shown in:
1783+
# https://googleapis.dev/python/google-api-core/latest/client_options.html
17071784
from google.cloud import redis_v1
17081785
17091786
def sample_reschedule_maintenance():

0 commit comments

Comments
 (0)