Skip to content

Commit 47916ad

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

File tree

451 files changed

+9182
-3806
lines changed

Some content is hidden

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

451 files changed

+9182
-3806
lines changed

packages/google-cloud-dialogflow/google/cloud/dialogflow_v2/services/agents/async_client.py

Lines changed: 63 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -213,6 +213,13 @@ async def get_agent(
213213
214214
.. code-block:: python
215215
216+
# This snippet has been automatically generated and should be regarded as a
217+
# code template only.
218+
# It will require modifications to work:
219+
# - It may require correct/in-range values for request initialization.
220+
# - It may require specifying regional endpoints when creating the service
221+
# client as shown in:
222+
# https://googleapis.dev/python/google-api-core/latest/client_options.html
216223
from google.cloud import dialogflow_v2
217224
218225
async def sample_get_agent():
@@ -321,6 +328,13 @@ async def set_agent(
321328
322329
.. code-block:: python
323330
331+
# This snippet has been automatically generated and should be regarded as a
332+
# code template only.
333+
# It will require modifications to work:
334+
# - It may require correct/in-range values for request initialization.
335+
# - It may require specifying regional endpoints when creating the service
336+
# client as shown in:
337+
# https://googleapis.dev/python/google-api-core/latest/client_options.html
324338
from google.cloud import dialogflow_v2
325339
326340
async def sample_set_agent():
@@ -431,6 +445,13 @@ async def delete_agent(
431445
432446
.. code-block:: python
433447
448+
# This snippet has been automatically generated and should be regarded as a
449+
# code template only.
450+
# It will require modifications to work:
451+
# - It may require correct/in-range values for request initialization.
452+
# - It may require specifying regional endpoints when creating the service
453+
# client as shown in:
454+
# https://googleapis.dev/python/google-api-core/latest/client_options.html
434455
from google.cloud import dialogflow_v2
435456
436457
async def sample_delete_agent():
@@ -520,6 +541,13 @@ async def search_agents(
520541
521542
.. code-block:: python
522543
544+
# This snippet has been automatically generated and should be regarded as a
545+
# code template only.
546+
# It will require modifications to work:
547+
# - It may require correct/in-range values for request initialization.
548+
# - It may require specifying regional endpoints when creating the service
549+
# client as shown in:
550+
# https://googleapis.dev/python/google-api-core/latest/client_options.html
523551
from google.cloud import dialogflow_v2
524552
525553
async def sample_search_agents():
@@ -642,6 +670,13 @@ async def train_agent(
642670
643671
.. code-block:: python
644672
673+
# This snippet has been automatically generated and should be regarded as a
674+
# code template only.
675+
# It will require modifications to work:
676+
# - It may require correct/in-range values for request initialization.
677+
# - It may require specifying regional endpoints when creating the service
678+
# client as shown in:
679+
# https://googleapis.dev/python/google-api-core/latest/client_options.html
645680
from google.cloud import dialogflow_v2
646681
647682
async def sample_train_agent():
@@ -769,6 +804,13 @@ async def export_agent(
769804
770805
.. code-block:: python
771806
807+
# This snippet has been automatically generated and should be regarded as a
808+
# code template only.
809+
# It will require modifications to work:
810+
# - It may require correct/in-range values for request initialization.
811+
# - It may require specifying regional endpoints when creating the service
812+
# client as shown in:
813+
# https://googleapis.dev/python/google-api-core/latest/client_options.html
772814
from google.cloud import dialogflow_v2
773815
774816
async def sample_export_agent():
@@ -908,6 +950,13 @@ async def import_agent(
908950
909951
.. code-block:: python
910952
953+
# This snippet has been automatically generated and should be regarded as a
954+
# code template only.
955+
# It will require modifications to work:
956+
# - It may require correct/in-range values for request initialization.
957+
# - It may require specifying regional endpoints when creating the service
958+
# client as shown in:
959+
# https://googleapis.dev/python/google-api-core/latest/client_options.html
911960
from google.cloud import dialogflow_v2
912961
913962
async def sample_import_agent():
@@ -1030,6 +1079,13 @@ async def restore_agent(
10301079
10311080
.. code-block:: python
10321081
1082+
# This snippet has been automatically generated and should be regarded as a
1083+
# code template only.
1084+
# It will require modifications to work:
1085+
# - It may require correct/in-range values for request initialization.
1086+
# - It may require specifying regional endpoints when creating the service
1087+
# client as shown in:
1088+
# https://googleapis.dev/python/google-api-core/latest/client_options.html
10331089
from google.cloud import dialogflow_v2
10341090
10351091
async def sample_restore_agent():
@@ -1128,6 +1184,13 @@ async def get_validation_result(
11281184
11291185
.. code-block:: python
11301186
1187+
# This snippet has been automatically generated and should be regarded as a
1188+
# code template only.
1189+
# It will require modifications to work:
1190+
# - It may require correct/in-range values for request initialization.
1191+
# - It may require specifying regional endpoints when creating the service
1192+
# client as shown in:
1193+
# https://googleapis.dev/python/google-api-core/latest/client_options.html
11311194
from google.cloud import dialogflow_v2
11321195
11331196
async def sample_get_validation_result():

packages/google-cloud-dialogflow/google/cloud/dialogflow_v2/services/agents/client.py

Lines changed: 63 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -439,6 +439,13 @@ def get_agent(
439439
440440
.. code-block:: python
441441
442+
# This snippet has been automatically generated and should be regarded as a
443+
# code template only.
444+
# It will require modifications to work:
445+
# - It may require correct/in-range values for request initialization.
446+
# - It may require specifying regional endpoints when creating the service
447+
# client as shown in:
448+
# https://googleapis.dev/python/google-api-core/latest/client_options.html
442449
from google.cloud import dialogflow_v2
443450
444451
def sample_get_agent():
@@ -547,6 +554,13 @@ def set_agent(
547554
548555
.. code-block:: python
549556
557+
# This snippet has been automatically generated and should be regarded as a
558+
# code template only.
559+
# It will require modifications to work:
560+
# - It may require correct/in-range values for request initialization.
561+
# - It may require specifying regional endpoints when creating the service
562+
# client as shown in:
563+
# https://googleapis.dev/python/google-api-core/latest/client_options.html
550564
from google.cloud import dialogflow_v2
551565
552566
def sample_set_agent():
@@ -657,6 +671,13 @@ def delete_agent(
657671
658672
.. code-block:: python
659673
674+
# This snippet has been automatically generated and should be regarded as a
675+
# code template only.
676+
# It will require modifications to work:
677+
# - It may require correct/in-range values for request initialization.
678+
# - It may require specifying regional endpoints when creating the service
679+
# client as shown in:
680+
# https://googleapis.dev/python/google-api-core/latest/client_options.html
660681
from google.cloud import dialogflow_v2
661682
662683
def sample_delete_agent():
@@ -746,6 +767,13 @@ def search_agents(
746767
747768
.. code-block:: python
748769
770+
# This snippet has been automatically generated and should be regarded as a
771+
# code template only.
772+
# It will require modifications to work:
773+
# - It may require correct/in-range values for request initialization.
774+
# - It may require specifying regional endpoints when creating the service
775+
# client as shown in:
776+
# https://googleapis.dev/python/google-api-core/latest/client_options.html
749777
from google.cloud import dialogflow_v2
750778
751779
def sample_search_agents():
@@ -868,6 +896,13 @@ def train_agent(
868896
869897
.. code-block:: python
870898
899+
# This snippet has been automatically generated and should be regarded as a
900+
# code template only.
901+
# It will require modifications to work:
902+
# - It may require correct/in-range values for request initialization.
903+
# - It may require specifying regional endpoints when creating the service
904+
# client as shown in:
905+
# https://googleapis.dev/python/google-api-core/latest/client_options.html
871906
from google.cloud import dialogflow_v2
872907
873908
def sample_train_agent():
@@ -995,6 +1030,13 @@ def export_agent(
9951030
9961031
.. code-block:: python
9971032
1033+
# This snippet has been automatically generated and should be regarded as a
1034+
# code template only.
1035+
# It will require modifications to work:
1036+
# - It may require correct/in-range values for request initialization.
1037+
# - It may require specifying regional endpoints when creating the service
1038+
# client as shown in:
1039+
# https://googleapis.dev/python/google-api-core/latest/client_options.html
9981040
from google.cloud import dialogflow_v2
9991041
10001042
def sample_export_agent():
@@ -1134,6 +1176,13 @@ def import_agent(
11341176
11351177
.. code-block:: python
11361178
1179+
# This snippet has been automatically generated and should be regarded as a
1180+
# code template only.
1181+
# It will require modifications to work:
1182+
# - It may require correct/in-range values for request initialization.
1183+
# - It may require specifying regional endpoints when creating the service
1184+
# client as shown in:
1185+
# https://googleapis.dev/python/google-api-core/latest/client_options.html
11371186
from google.cloud import dialogflow_v2
11381187
11391188
def sample_import_agent():
@@ -1257,6 +1306,13 @@ def restore_agent(
12571306
12581307
.. code-block:: python
12591308
1309+
# This snippet has been automatically generated and should be regarded as a
1310+
# code template only.
1311+
# It will require modifications to work:
1312+
# - It may require correct/in-range values for request initialization.
1313+
# - It may require specifying regional endpoints when creating the service
1314+
# client as shown in:
1315+
# https://googleapis.dev/python/google-api-core/latest/client_options.html
12601316
from google.cloud import dialogflow_v2
12611317
12621318
def sample_restore_agent():
@@ -1356,6 +1412,13 @@ def get_validation_result(
13561412
13571413
.. code-block:: python
13581414
1415+
# This snippet has been automatically generated and should be regarded as a
1416+
# code template only.
1417+
# It will require modifications to work:
1418+
# - It may require correct/in-range values for request initialization.
1419+
# - It may require specifying regional endpoints when creating the service
1420+
# client as shown in:
1421+
# https://googleapis.dev/python/google-api-core/latest/client_options.html
13591422
from google.cloud import dialogflow_v2
13601423
13611424
def sample_get_validation_result():

packages/google-cloud-dialogflow/google/cloud/dialogflow_v2/services/answer_records/async_client.py

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -224,6 +224,13 @@ async def list_answer_records(
224224
225225
.. code-block:: python
226226
227+
# This snippet has been automatically generated and should be regarded as a
228+
# code template only.
229+
# It will require modifications to work:
230+
# - It may require correct/in-range values for request initialization.
231+
# - It may require specifying regional endpoints when creating the service
232+
# client as shown in:
233+
# https://googleapis.dev/python/google-api-core/latest/client_options.html
227234
from google.cloud import dialogflow_v2
228235
229236
async def sample_list_answer_records():
@@ -334,6 +341,13 @@ async def update_answer_record(
334341
335342
.. code-block:: python
336343
344+
# This snippet has been automatically generated and should be regarded as a
345+
# code template only.
346+
# It will require modifications to work:
347+
# - It may require correct/in-range values for request initialization.
348+
# - It may require specifying regional endpoints when creating the service
349+
# client as shown in:
350+
# https://googleapis.dev/python/google-api-core/latest/client_options.html
337351
from google.cloud import dialogflow_v2
338352
339353
async def sample_update_answer_record():

packages/google-cloud-dialogflow/google/cloud/dialogflow_v2/services/answer_records/client.py

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -442,6 +442,13 @@ def list_answer_records(
442442
443443
.. code-block:: python
444444
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
445452
from google.cloud import dialogflow_v2
446453
447454
def sample_list_answer_records():
@@ -552,6 +559,13 @@ def update_answer_record(
552559
553560
.. code-block:: python
554561
562+
# This snippet has been automatically generated and should be regarded as a
563+
# code template only.
564+
# It will require modifications to work:
565+
# - It may require correct/in-range values for request initialization.
566+
# - It may require specifying regional endpoints when creating the service
567+
# client as shown in:
568+
# https://googleapis.dev/python/google-api-core/latest/client_options.html
555569
from google.cloud import dialogflow_v2
556570
557571
def sample_update_answer_record():

packages/google-cloud-dialogflow/google/cloud/dialogflow_v2/services/contexts/async_client.py

Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -213,6 +213,13 @@ async def list_contexts(
213213
214214
.. code-block:: python
215215
216+
# This snippet has been automatically generated and should be regarded as a
217+
# code template only.
218+
# It will require modifications to work:
219+
# - It may require correct/in-range values for request initialization.
220+
# - It may require specifying regional endpoints when creating the service
221+
# client as shown in:
222+
# https://googleapis.dev/python/google-api-core/latest/client_options.html
216223
from google.cloud import dialogflow_v2
217224
218225
async def sample_list_contexts():
@@ -325,6 +332,13 @@ async def get_context(
325332
326333
.. code-block:: python
327334
335+
# This snippet has been automatically generated and should be regarded as a
336+
# code template only.
337+
# It will require modifications to work:
338+
# - It may require correct/in-range values for request initialization.
339+
# - It may require specifying regional endpoints when creating the service
340+
# client as shown in:
341+
# https://googleapis.dev/python/google-api-core/latest/client_options.html
328342
from google.cloud import dialogflow_v2
329343
330344
async def sample_get_context():
@@ -445,6 +459,13 @@ async def create_context(
445459
446460
.. code-block:: python
447461
462+
# This snippet has been automatically generated and should be regarded as a
463+
# code template only.
464+
# It will require modifications to work:
465+
# - It may require correct/in-range values for request initialization.
466+
# - It may require specifying regional endpoints when creating the service
467+
# client as shown in:
468+
# https://googleapis.dev/python/google-api-core/latest/client_options.html
448469
from google.cloud import dialogflow_v2
449470
450471
async def sample_create_context():
@@ -573,6 +594,13 @@ async def update_context(
573594
574595
.. code-block:: python
575596
597+
# This snippet has been automatically generated and should be regarded as a
598+
# code template only.
599+
# It will require modifications to work:
600+
# - It may require correct/in-range values for request initialization.
601+
# - It may require specifying regional endpoints when creating the service
602+
# client as shown in:
603+
# https://googleapis.dev/python/google-api-core/latest/client_options.html
576604
from google.cloud import dialogflow_v2
577605
578606
async def sample_update_context():
@@ -697,6 +725,13 @@ async def delete_context(
697725
698726
.. code-block:: python
699727
728+
# This snippet has been automatically generated and should be regarded as a
729+
# code template only.
730+
# It will require modifications to work:
731+
# - It may require correct/in-range values for request initialization.
732+
# - It may require specifying regional endpoints when creating the service
733+
# client as shown in:
734+
# https://googleapis.dev/python/google-api-core/latest/client_options.html
700735
from google.cloud import dialogflow_v2
701736
702737
async def sample_delete_context():
@@ -785,6 +820,13 @@ async def delete_all_contexts(
785820
786821
.. code-block:: python
787822
823+
# This snippet has been automatically generated and should be regarded as a
824+
# code template only.
825+
# It will require modifications to work:
826+
# - It may require correct/in-range values for request initialization.
827+
# - It may require specifying regional endpoints when creating the service
828+
# client as shown in:
829+
# https://googleapis.dev/python/google-api-core/latest/client_options.html
788830
from google.cloud import dialogflow_v2
789831
790832
async def sample_delete_all_contexts():

0 commit comments

Comments
 (0)