File tree Expand file tree Collapse file tree
packages/google-cloud-dialogflow/google/cloud/dialogflow_v2 Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -181,7 +181,16 @@ async def list_intents(
181181 [Intents.ListIntents][google.cloud.dialogflow.v2.Intents.ListIntents].
182182 parent (:class:`str`):
183183 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.
185194
186195 This corresponds to the ``parent`` field
187196 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(
383383 [Intents.ListIntents][google.cloud.dialogflow.v2.Intents.ListIntents].
384384 parent (str):
385385 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.
387396
388397 This corresponds to the ``parent`` field
389398 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):
10091009 Attributes:
10101010 parent (str):
10111011 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.
10131022 language_code (str):
10141023 Optional. The language used to access language-specific
10151024 data. If not specified, the agent's default language is
You can’t perform that action at this time.
0 commit comments