This repository was archived by the owner on Dec 17, 2023. It is now read-only.
File tree 3 files changed +30
-3
lines changed
google/cloud/dialogflow_v2
3 files changed +30
-3
lines changed Original file line number Diff line number Diff line change @@ -181,7 +181,16 @@ async def list_intents(
181
181
[Intents.ListIntents][google.cloud.dialogflow.v2.Intents.ListIntents].
182
182
parent (:class:`str`):
183
183
Required. The agent to list all intents from. Format:
184
- ``projects/<Project ID>/agent``.
184
+ ``projects/<Project ID>/agent`` or
185
+ ``projects/<Project ID>/locations/<Location ID>/agent``.
186
+
187
+ Alternatively, you can specify the environment to list
188
+ intents for. Format:
189
+ ``projects/<Project ID>/agent/environments/<Environment ID>``
190
+ or
191
+ ``projects/<Project ID>/locations/<Location ID>/agent/environments/<Environment ID>``.
192
+ Note: training phrases of the intents will not be
193
+ returned for non-draft environment.
185
194
186
195
This corresponds to the ``parent`` field
187
196
on the ``request`` instance; if ``request`` is provided, this
Original file line number Diff line number Diff line change @@ -383,7 +383,16 @@ def list_intents(
383
383
[Intents.ListIntents][google.cloud.dialogflow.v2.Intents.ListIntents].
384
384
parent (str):
385
385
Required. The agent to list all intents from. Format:
386
- ``projects/<Project ID>/agent``.
386
+ ``projects/<Project ID>/agent`` or
387
+ ``projects/<Project ID>/locations/<Location ID>/agent``.
388
+
389
+ Alternatively, you can specify the environment to list
390
+ intents for. Format:
391
+ ``projects/<Project ID>/agent/environments/<Environment ID>``
392
+ or
393
+ ``projects/<Project ID>/locations/<Location ID>/agent/environments/<Environment ID>``.
394
+ Note: training phrases of the intents will not be
395
+ returned for non-draft environment.
387
396
388
397
This corresponds to the ``parent`` field
389
398
on the ``request`` instance; if ``request`` is provided, this
Original file line number Diff line number Diff line change @@ -1009,7 +1009,16 @@ class ListIntentsRequest(proto.Message):
1009
1009
Attributes:
1010
1010
parent (str):
1011
1011
Required. The agent to list all intents from. Format:
1012
- ``projects/<Project ID>/agent``.
1012
+ ``projects/<Project ID>/agent`` or
1013
+ ``projects/<Project ID>/locations/<Location ID>/agent``.
1014
+
1015
+ Alternatively, you can specify the environment to list
1016
+ intents for. Format:
1017
+ ``projects/<Project ID>/agent/environments/<Environment ID>``
1018
+ or
1019
+ ``projects/<Project ID>/locations/<Location ID>/agent/environments/<Environment ID>``.
1020
+ Note: training phrases of the intents will not be returned
1021
+ for non-draft environment.
1013
1022
language_code (str):
1014
1023
Optional. The language used to access language-specific
1015
1024
data. If not specified, the agent's default language is
You can’t perform that action at this time.
0 commit comments