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

Commit d84c0b0

Browse files
chore: Bump gapic-generator-python version to 1.3.0 (#218)
- [ ] 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 3250a3a commit d84c0b0

File tree

37 files changed

+721
-301
lines changed

37 files changed

+721
-301
lines changed

google/cloud/memcache_v1/services/cloud_memcache/async_client.py

Lines changed: 49 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -241,6 +241,13 @@ async def list_instances(
241241
242242
.. code-block:: python
243243
244+
# This snippet has been automatically generated and should be regarded as a
245+
# code template only.
246+
# It will require modifications to work:
247+
# - It may require correct/in-range values for request initialization.
248+
# - It may require specifying regional endpoints when creating the service
249+
# client as shown in:
250+
# https://googleapis.dev/python/google-api-core/latest/client_options.html
244251
from google.cloud import memcache_v1
245252
246253
async def sample_list_instances():
@@ -351,6 +358,13 @@ async def get_instance(
351358
352359
.. code-block:: python
353360
361+
# This snippet has been automatically generated and should be regarded as a
362+
# code template only.
363+
# It will require modifications to work:
364+
# - It may require correct/in-range values for request initialization.
365+
# - It may require specifying regional endpoints when creating the service
366+
# client as shown in:
367+
# https://googleapis.dev/python/google-api-core/latest/client_options.html
354368
from google.cloud import memcache_v1
355369
356370
async def sample_get_instance():
@@ -448,6 +462,13 @@ async def create_instance(
448462
449463
.. code-block:: python
450464
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
451472
from google.cloud import memcache_v1
452473
453474
async def sample_create_instance():
@@ -595,6 +616,13 @@ async def update_instance(
595616
596617
.. code-block:: python
597618
619+
# This snippet has been automatically generated and should be regarded as a
620+
# code template only.
621+
# It will require modifications to work:
622+
# - It may require correct/in-range values for request initialization.
623+
# - It may require specifying regional endpoints when creating the service
624+
# client as shown in:
625+
# https://googleapis.dev/python/google-api-core/latest/client_options.html
598626
from google.cloud import memcache_v1
599627
600628
async def sample_update_instance():
@@ -727,6 +755,13 @@ async def update_parameters(
727755
728756
.. code-block:: python
729757
758+
# This snippet has been automatically generated and should be regarded as a
759+
# code template only.
760+
# It will require modifications to work:
761+
# - It may require correct/in-range values for request initialization.
762+
# - It may require specifying regional endpoints when creating the service
763+
# client as shown in:
764+
# https://googleapis.dev/python/google-api-core/latest/client_options.html
730765
from google.cloud import memcache_v1
731766
732767
async def sample_update_parameters():
@@ -853,6 +888,13 @@ async def delete_instance(
853888
854889
.. code-block:: python
855890
891+
# This snippet has been automatically generated and should be regarded as a
892+
# code template only.
893+
# It will require modifications to work:
894+
# - It may require correct/in-range values for request initialization.
895+
# - It may require specifying regional endpoints when creating the service
896+
# client as shown in:
897+
# https://googleapis.dev/python/google-api-core/latest/client_options.html
856898
from google.cloud import memcache_v1
857899
858900
async def sample_delete_instance():
@@ -976,6 +1018,13 @@ async def apply_parameters(
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 memcache_v1
9801029
9811030
async def sample_apply_parameters():

google/cloud/memcache_v1/services/cloud_memcache/client.py

Lines changed: 49 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -464,6 +464,13 @@ def list_instances(
464464
465465
.. code-block:: python
466466
467+
# This snippet has been automatically generated and should be regarded as a
468+
# code template only.
469+
# It will require modifications to work:
470+
# - It may require correct/in-range values for request initialization.
471+
# - It may require specifying regional endpoints when creating the service
472+
# client as shown in:
473+
# https://googleapis.dev/python/google-api-core/latest/client_options.html
467474
from google.cloud import memcache_v1
468475
469476
def sample_list_instances():
@@ -574,6 +581,13 @@ def get_instance(
574581
575582
.. code-block:: python
576583
584+
# This snippet has been automatically generated and should be regarded as a
585+
# code template only.
586+
# It will require modifications to work:
587+
# - It may require correct/in-range values for request initialization.
588+
# - It may require specifying regional endpoints when creating the service
589+
# client as shown in:
590+
# https://googleapis.dev/python/google-api-core/latest/client_options.html
577591
from google.cloud import memcache_v1
578592
579593
def sample_get_instance():
@@ -671,6 +685,13 @@ def create_instance(
671685
672686
.. code-block:: python
673687
688+
# This snippet has been automatically generated and should be regarded as a
689+
# code template only.
690+
# It will require modifications to work:
691+
# - It may require correct/in-range values for request initialization.
692+
# - It may require specifying regional endpoints when creating the service
693+
# client as shown in:
694+
# https://googleapis.dev/python/google-api-core/latest/client_options.html
674695
from google.cloud import memcache_v1
675696
676697
def sample_create_instance():
@@ -818,6 +839,13 @@ def update_instance(
818839
819840
.. code-block:: python
820841
842+
# This snippet has been automatically generated and should be regarded as a
843+
# code template only.
844+
# It will require modifications to work:
845+
# - It may require correct/in-range values for request initialization.
846+
# - It may require specifying regional endpoints when creating the service
847+
# client as shown in:
848+
# https://googleapis.dev/python/google-api-core/latest/client_options.html
821849
from google.cloud import memcache_v1
822850
823851
def sample_update_instance():
@@ -950,6 +978,13 @@ def update_parameters(
950978
951979
.. code-block:: python
952980
981+
# This snippet has been automatically generated and should be regarded as a
982+
# code template only.
983+
# It will require modifications to work:
984+
# - It may require correct/in-range values for request initialization.
985+
# - It may require specifying regional endpoints when creating the service
986+
# client as shown in:
987+
# https://googleapis.dev/python/google-api-core/latest/client_options.html
953988
from google.cloud import memcache_v1
954989
955990
def sample_update_parameters():
@@ -1076,6 +1111,13 @@ def delete_instance(
10761111
10771112
.. code-block:: python
10781113
1114+
# This snippet has been automatically generated and should be regarded as a
1115+
# code template only.
1116+
# It will require modifications to work:
1117+
# - It may require correct/in-range values for request initialization.
1118+
# - It may require specifying regional endpoints when creating the service
1119+
# client as shown in:
1120+
# https://googleapis.dev/python/google-api-core/latest/client_options.html
10791121
from google.cloud import memcache_v1
10801122
10811123
def sample_delete_instance():
@@ -1199,6 +1241,13 @@ def apply_parameters(
11991241
12001242
.. code-block:: python
12011243
1244+
# This snippet has been automatically generated and should be regarded as a
1245+
# code template only.
1246+
# It will require modifications to work:
1247+
# - It may require correct/in-range values for request initialization.
1248+
# - It may require specifying regional endpoints when creating the service
1249+
# client as shown in:
1250+
# https://googleapis.dev/python/google-api-core/latest/client_options.html
12021251
from google.cloud import memcache_v1
12031252
12041253
def sample_apply_parameters():

google/cloud/memcache_v1beta2/services/cloud_memcache/async_client.py

Lines changed: 56 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -241,6 +241,13 @@ async def list_instances(
241241
242242
.. code-block:: python
243243
244+
# This snippet has been automatically generated and should be regarded as a
245+
# code template only.
246+
# It will require modifications to work:
247+
# - It may require correct/in-range values for request initialization.
248+
# - It may require specifying regional endpoints when creating the service
249+
# client as shown in:
250+
# https://googleapis.dev/python/google-api-core/latest/client_options.html
244251
from google.cloud import memcache_v1beta2
245252
246253
async def sample_list_instances():
@@ -351,6 +358,13 @@ async def get_instance(
351358
352359
.. code-block:: python
353360
361+
# This snippet has been automatically generated and should be regarded as a
362+
# code template only.
363+
# It will require modifications to work:
364+
# - It may require correct/in-range values for request initialization.
365+
# - It may require specifying regional endpoints when creating the service
366+
# client as shown in:
367+
# https://googleapis.dev/python/google-api-core/latest/client_options.html
354368
from google.cloud import memcache_v1beta2
355369
356370
async def sample_get_instance():
@@ -448,6 +462,13 @@ async def create_instance(
448462
449463
.. code-block:: python
450464
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
451472
from google.cloud import memcache_v1beta2
452473
453474
async def sample_create_instance():
@@ -596,6 +617,13 @@ async def update_instance(
596617
597618
.. code-block:: python
598619
620+
# This snippet has been automatically generated and should be regarded as a
621+
# code template only.
622+
# It will require modifications to work:
623+
# - It may require correct/in-range values for request initialization.
624+
# - It may require specifying regional endpoints when creating the service
625+
# client as shown in:
626+
# https://googleapis.dev/python/google-api-core/latest/client_options.html
599627
from google.cloud import memcache_v1beta2
600628
601629
async def sample_update_instance():
@@ -729,6 +757,13 @@ async def update_parameters(
729757
730758
.. code-block:: python
731759
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
732767
from google.cloud import memcache_v1beta2
733768
734769
async def sample_update_parameters():
@@ -856,6 +891,13 @@ async def delete_instance(
856891
857892
.. code-block:: python
858893
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
859901
from google.cloud import memcache_v1beta2
860902
861903
async def sample_delete_instance():
@@ -979,6 +1021,13 @@ async def apply_parameters(
9791021
9801022
.. code-block:: python
9811023
1024+
# This snippet has been automatically generated and should be regarded as a
1025+
# code template only.
1026+
# It will require modifications to work:
1027+
# - It may require correct/in-range values for request initialization.
1028+
# - It may require specifying regional endpoints when creating the service
1029+
# client as shown in:
1030+
# https://googleapis.dev/python/google-api-core/latest/client_options.html
9821031
from google.cloud import memcache_v1beta2
9831032
9841033
async def sample_apply_parameters():
@@ -1113,6 +1162,13 @@ async def apply_software_update(
11131162
11141163
.. code-block:: python
11151164
1165+
# This snippet has been automatically generated and should be regarded as a
1166+
# code template only.
1167+
# It will require modifications to work:
1168+
# - It may require correct/in-range values for request initialization.
1169+
# - It may require specifying regional endpoints when creating the service
1170+
# client as shown in:
1171+
# https://googleapis.dev/python/google-api-core/latest/client_options.html
11161172
from google.cloud import memcache_v1beta2
11171173
11181174
async def sample_apply_software_update():

0 commit comments

Comments
 (0)