Skip to content

Commit f48a2be

Browse files
chore: Bump gapic-generator-python version to 1.3.0 (#340)
- [ ] Regenerate this pull request now. PiperOrigin-RevId: 472561635 Source-Link: googleapis/googleapis@332ecf5 Source-Link: googleapis/googleapis-gen@4313d68 Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiNDMxM2Q2ODI4ODBmZDlkNzI0NzI5MTE2NGQ0ZTlkM2Q1YmQ5ZjE3NyJ9
1 parent 585f82b commit f48a2be

File tree

346 files changed

+6945
-2885
lines changed

Some content is hidden

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

346 files changed

+6945
-2885
lines changed

packages/google-cloud-retail/google/cloud/retail_v2/services/catalog_service/async_client.py

Lines changed: 77 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -232,6 +232,13 @@ async def list_catalogs(
232232
233233
.. code-block:: python
234234
235+
# This snippet has been automatically generated and should be regarded as a
236+
# code template only.
237+
# It will require modifications to work:
238+
# - It may require correct/in-range values for request initialization.
239+
# - It may require specifying regional endpoints when creating the service
240+
# client as shown in:
241+
# https://googleapis.dev/python/google-api-core/latest/client_options.html
235242
from google.cloud import retail_v2
236243
237244
async def sample_list_catalogs():
@@ -348,6 +355,13 @@ async def update_catalog(
348355
349356
.. code-block:: python
350357
358+
# This snippet has been automatically generated and should be regarded as a
359+
# code template only.
360+
# It will require modifications to work:
361+
# - It may require correct/in-range values for request initialization.
362+
# - It may require specifying regional endpoints when creating the service
363+
# client as shown in:
364+
# https://googleapis.dev/python/google-api-core/latest/client_options.html
351365
from google.cloud import retail_v2
352366
353367
async def sample_update_catalog():
@@ -502,6 +516,13 @@ async def set_default_branch(
502516
503517
.. code-block:: python
504518
519+
# This snippet has been automatically generated and should be regarded as a
520+
# code template only.
521+
# It will require modifications to work:
522+
# - It may require correct/in-range values for request initialization.
523+
# - It may require specifying regional endpoints when creating the service
524+
# client as shown in:
525+
# https://googleapis.dev/python/google-api-core/latest/client_options.html
505526
from google.cloud import retail_v2
506527
507528
async def sample_set_default_branch():
@@ -586,6 +607,13 @@ async def get_default_branch(
586607
587608
.. code-block:: python
588609
610+
# This snippet has been automatically generated and should be regarded as a
611+
# code template only.
612+
# It will require modifications to work:
613+
# - It may require correct/in-range values for request initialization.
614+
# - It may require specifying regional endpoints when creating the service
615+
# client as shown in:
616+
# https://googleapis.dev/python/google-api-core/latest/client_options.html
589617
from google.cloud import retail_v2
590618
591619
async def sample_get_default_branch():
@@ -681,6 +709,13 @@ async def get_completion_config(
681709
682710
.. code-block:: python
683711
712+
# This snippet has been automatically generated and should be regarded as a
713+
# code template only.
714+
# It will require modifications to work:
715+
# - It may require correct/in-range values for request initialization.
716+
# - It may require specifying regional endpoints when creating the service
717+
# client as shown in:
718+
# https://googleapis.dev/python/google-api-core/latest/client_options.html
684719
from google.cloud import retail_v2
685720
686721
async def sample_get_completion_config():
@@ -780,6 +815,13 @@ async def update_completion_config(
780815
781816
.. code-block:: python
782817
818+
# This snippet has been automatically generated and should be regarded as a
819+
# code template only.
820+
# It will require modifications to work:
821+
# - It may require correct/in-range values for request initialization.
822+
# - It may require specifying regional endpoints when creating the service
823+
# client as shown in:
824+
# https://googleapis.dev/python/google-api-core/latest/client_options.html
783825
from google.cloud import retail_v2
784826
785827
async def sample_update_completion_config():
@@ -909,6 +951,13 @@ async def get_attributes_config(
909951
910952
.. code-block:: python
911953
954+
# This snippet has been automatically generated and should be regarded as a
955+
# code template only.
956+
# It will require modifications to work:
957+
# - It may require correct/in-range values for request initialization.
958+
# - It may require specifying regional endpoints when creating the service
959+
# client as shown in:
960+
# https://googleapis.dev/python/google-api-core/latest/client_options.html
912961
from google.cloud import retail_v2
913962
914963
async def sample_get_attributes_config():
@@ -1014,6 +1063,13 @@ async def update_attributes_config(
10141063
10151064
.. code-block:: python
10161065
1066+
# This snippet has been automatically generated and should be regarded as a
1067+
# code template only.
1068+
# It will require modifications to work:
1069+
# - It may require correct/in-range values for request initialization.
1070+
# - It may require specifying regional endpoints when creating the service
1071+
# client as shown in:
1072+
# https://googleapis.dev/python/google-api-core/latest/client_options.html
10171073
from google.cloud import retail_v2
10181074
10191075
async def sample_update_attributes_config():
@@ -1133,6 +1189,13 @@ async def add_catalog_attribute(
11331189
11341190
.. code-block:: python
11351191
1192+
# This snippet has been automatically generated and should be regarded as a
1193+
# code template only.
1194+
# It will require modifications to work:
1195+
# - It may require correct/in-range values for request initialization.
1196+
# - It may require specifying regional endpoints when creating the service
1197+
# client as shown in:
1198+
# https://googleapis.dev/python/google-api-core/latest/client_options.html
11361199
from google.cloud import retail_v2
11371200
11381201
async def sample_add_catalog_attribute():
@@ -1217,6 +1280,13 @@ async def remove_catalog_attribute(
12171280
12181281
.. code-block:: python
12191282
1283+
# This snippet has been automatically generated and should be regarded as a
1284+
# code template only.
1285+
# It will require modifications to work:
1286+
# - It may require correct/in-range values for request initialization.
1287+
# - It may require specifying regional endpoints when creating the service
1288+
# client as shown in:
1289+
# https://googleapis.dev/python/google-api-core/latest/client_options.html
12201290
from google.cloud import retail_v2
12211291
12221292
async def sample_remove_catalog_attribute():
@@ -1300,6 +1370,13 @@ async def replace_catalog_attribute(
13001370
13011371
.. code-block:: python
13021372
1373+
# This snippet has been automatically generated and should be regarded as a
1374+
# code template only.
1375+
# It will require modifications to work:
1376+
# - It may require correct/in-range values for request initialization.
1377+
# - It may require specifying regional endpoints when creating the service
1378+
# client as shown in:
1379+
# https://googleapis.dev/python/google-api-core/latest/client_options.html
13031380
from google.cloud import retail_v2
13041381
13051382
async def sample_replace_catalog_attribute():

packages/google-cloud-retail/google/cloud/retail_v2/services/catalog_service/client.py

Lines changed: 77 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -515,6 +515,13 @@ def list_catalogs(
515515
516516
.. code-block:: python
517517
518+
# This snippet has been automatically generated and should be regarded as a
519+
# code template only.
520+
# It will require modifications to work:
521+
# - It may require correct/in-range values for request initialization.
522+
# - It may require specifying regional endpoints when creating the service
523+
# client as shown in:
524+
# https://googleapis.dev/python/google-api-core/latest/client_options.html
518525
from google.cloud import retail_v2
519526
520527
def sample_list_catalogs():
@@ -631,6 +638,13 @@ def update_catalog(
631638
632639
.. code-block:: python
633640
641+
# This snippet has been automatically generated and should be regarded as a
642+
# code template only.
643+
# It will require modifications to work:
644+
# - It may require correct/in-range values for request initialization.
645+
# - It may require specifying regional endpoints when creating the service
646+
# client as shown in:
647+
# https://googleapis.dev/python/google-api-core/latest/client_options.html
634648
from google.cloud import retail_v2
635649
636650
def sample_update_catalog():
@@ -785,6 +799,13 @@ def set_default_branch(
785799
786800
.. code-block:: python
787801
802+
# This snippet has been automatically generated and should be regarded as a
803+
# code template only.
804+
# It will require modifications to work:
805+
# - It may require correct/in-range values for request initialization.
806+
# - It may require specifying regional endpoints when creating the service
807+
# client as shown in:
808+
# https://googleapis.dev/python/google-api-core/latest/client_options.html
788809
from google.cloud import retail_v2
789810
790811
def sample_set_default_branch():
@@ -869,6 +890,13 @@ def get_default_branch(
869890
870891
.. code-block:: python
871892
893+
# This snippet has been automatically generated and should be regarded as a
894+
# code template only.
895+
# It will require modifications to work:
896+
# - It may require correct/in-range values for request initialization.
897+
# - It may require specifying regional endpoints when creating the service
898+
# client as shown in:
899+
# https://googleapis.dev/python/google-api-core/latest/client_options.html
872900
from google.cloud import retail_v2
873901
874902
def sample_get_default_branch():
@@ -964,6 +992,13 @@ def get_completion_config(
964992
965993
.. code-block:: python
966994
995+
# This snippet has been automatically generated and should be regarded as a
996+
# code template only.
997+
# It will require modifications to work:
998+
# - It may require correct/in-range values for request initialization.
999+
# - It may require specifying regional endpoints when creating the service
1000+
# client as shown in:
1001+
# https://googleapis.dev/python/google-api-core/latest/client_options.html
9671002
from google.cloud import retail_v2
9681003
9691004
def sample_get_completion_config():
@@ -1063,6 +1098,13 @@ def update_completion_config(
10631098
10641099
.. code-block:: python
10651100
1101+
# This snippet has been automatically generated and should be regarded as a
1102+
# code template only.
1103+
# It will require modifications to work:
1104+
# - It may require correct/in-range values for request initialization.
1105+
# - It may require specifying regional endpoints when creating the service
1106+
# client as shown in:
1107+
# https://googleapis.dev/python/google-api-core/latest/client_options.html
10661108
from google.cloud import retail_v2
10671109
10681110
def sample_update_completion_config():
@@ -1192,6 +1234,13 @@ def get_attributes_config(
11921234
11931235
.. code-block:: python
11941236
1237+
# This snippet has been automatically generated and should be regarded as a
1238+
# code template only.
1239+
# It will require modifications to work:
1240+
# - It may require correct/in-range values for request initialization.
1241+
# - It may require specifying regional endpoints when creating the service
1242+
# client as shown in:
1243+
# https://googleapis.dev/python/google-api-core/latest/client_options.html
11951244
from google.cloud import retail_v2
11961245
11971246
def sample_get_attributes_config():
@@ -1297,6 +1346,13 @@ def update_attributes_config(
12971346
12981347
.. code-block:: python
12991348
1349+
# This snippet has been automatically generated and should be regarded as a
1350+
# code template only.
1351+
# It will require modifications to work:
1352+
# - It may require correct/in-range values for request initialization.
1353+
# - It may require specifying regional endpoints when creating the service
1354+
# client as shown in:
1355+
# https://googleapis.dev/python/google-api-core/latest/client_options.html
13001356
from google.cloud import retail_v2
13011357
13021358
def sample_update_attributes_config():
@@ -1416,6 +1472,13 @@ def add_catalog_attribute(
14161472
14171473
.. code-block:: python
14181474
1475+
# This snippet has been automatically generated and should be regarded as a
1476+
# code template only.
1477+
# It will require modifications to work:
1478+
# - It may require correct/in-range values for request initialization.
1479+
# - It may require specifying regional endpoints when creating the service
1480+
# client as shown in:
1481+
# https://googleapis.dev/python/google-api-core/latest/client_options.html
14191482
from google.cloud import retail_v2
14201483
14211484
def sample_add_catalog_attribute():
@@ -1501,6 +1564,13 @@ def remove_catalog_attribute(
15011564
15021565
.. code-block:: python
15031566
1567+
# This snippet has been automatically generated and should be regarded as a
1568+
# code template only.
1569+
# It will require modifications to work:
1570+
# - It may require correct/in-range values for request initialization.
1571+
# - It may require specifying regional endpoints when creating the service
1572+
# client as shown in:
1573+
# https://googleapis.dev/python/google-api-core/latest/client_options.html
15041574
from google.cloud import retail_v2
15051575
15061576
def sample_remove_catalog_attribute():
@@ -1585,6 +1655,13 @@ def replace_catalog_attribute(
15851655
15861656
.. code-block:: python
15871657
1658+
# This snippet has been automatically generated and should be regarded as a
1659+
# code template only.
1660+
# It will require modifications to work:
1661+
# - It may require correct/in-range values for request initialization.
1662+
# - It may require specifying regional endpoints when creating the service
1663+
# client as shown in:
1664+
# https://googleapis.dev/python/google-api-core/latest/client_options.html
15881665
from google.cloud import retail_v2
15891666
15901667
def sample_replace_catalog_attribute():

packages/google-cloud-retail/google/cloud/retail_v2/services/completion_service/async_client.py

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -225,6 +225,13 @@ async def complete_query(
225225
226226
.. code-block:: python
227227
228+
# This snippet has been automatically generated and should be regarded as a
229+
# code template only.
230+
# It will require modifications to work:
231+
# - It may require correct/in-range values for request initialization.
232+
# - It may require specifying regional endpoints when creating the service
233+
# client as shown in:
234+
# https://googleapis.dev/python/google-api-core/latest/client_options.html
228235
from google.cloud import retail_v2
229236
230237
async def sample_complete_query():
@@ -304,6 +311,13 @@ async def import_completion_data(
304311
305312
.. code-block:: python
306313
314+
# This snippet has been automatically generated and should be regarded as a
315+
# code template only.
316+
# It will require modifications to work:
317+
# - It may require correct/in-range values for request initialization.
318+
# - It may require specifying regional endpoints when creating the service
319+
# client as shown in:
320+
# https://googleapis.dev/python/google-api-core/latest/client_options.html
307321
from google.cloud import retail_v2
308322
309323
async def sample_import_completion_data():

packages/google-cloud-retail/google/cloud/retail_v2/services/completion_service/client.py

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -450,6 +450,13 @@ def complete_query(
450450
451451
.. code-block:: python
452452
453+
# This snippet has been automatically generated and should be regarded as a
454+
# code template only.
455+
# It will require modifications to work:
456+
# - It may require correct/in-range values for request initialization.
457+
# - It may require specifying regional endpoints when creating the service
458+
# client as shown in:
459+
# https://googleapis.dev/python/google-api-core/latest/client_options.html
453460
from google.cloud import retail_v2
454461
455462
def sample_complete_query():
@@ -530,6 +537,13 @@ def import_completion_data(
530537
531538
.. code-block:: python
532539
540+
# This snippet has been automatically generated and should be regarded as a
541+
# code template only.
542+
# It will require modifications to work:
543+
# - It may require correct/in-range values for request initialization.
544+
# - It may require specifying regional endpoints when creating the service
545+
# client as shown in:
546+
# https://googleapis.dev/python/google-api-core/latest/client_options.html
533547
from google.cloud import retail_v2
534548
535549
def sample_import_completion_data():

0 commit comments

Comments
 (0)