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

Commit 0c210be

Browse files
docs: added explanation for SuggestionResult (#490)
* docs: added explanation for SuggestionResult PiperOrigin-RevId: 435670355 Source-Link: googleapis/googleapis@5d85995 Source-Link: https://github.com/googleapis/googleapis-gen/commit/1b913e4484a66b3f4d01c55be174704272466264 Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiMWI5MTNlNDQ4NGE2NmIzZjRkMDFjNTViZTE3NDcwNDI3MjQ2NjI2NCJ9 * 🦉 Updates from OwlBot post-processor See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>
1 parent fa5fd8b commit 0c210be

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

google/cloud/dialogflow_v2/types/participant.py

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -360,11 +360,22 @@ class AnalyzeContentResponse(proto.Message):
360360
[HumanAgentAssistantConfig.SuggestionConfig.feature_configs][google.cloud.dialogflow.v2.HumanAgentAssistantConfig.SuggestionConfig.feature_configs]
361361
of
362362
[HumanAgentAssistantConfig.human_agent_suggestion_config][google.cloud.dialogflow.v2.HumanAgentAssistantConfig.human_agent_suggestion_config].
363+
364+
Note that any failure of Agent Assist features will not lead
365+
to the overall failure of an AnalyzeContent API call.
366+
Instead, the features will fail silently with the error
367+
field set in the corresponding SuggestionResult.
363368
end_user_suggestion_results (Sequence[google.cloud.dialogflow_v2.types.SuggestionResult]):
364369
The suggestions for end user. The order is the same as
365370
[HumanAgentAssistantConfig.SuggestionConfig.feature_configs][google.cloud.dialogflow.v2.HumanAgentAssistantConfig.SuggestionConfig.feature_configs]
366371
of
367372
[HumanAgentAssistantConfig.end_user_suggestion_config][google.cloud.dialogflow.v2.HumanAgentAssistantConfig.end_user_suggestion_config].
373+
374+
Same as human_agent_suggestion_results, any failure of Agent
375+
Assist features will not lead to the overall failure of an
376+
AnalyzeContent API call. Instead, the features will fail
377+
silently with the error field set in the corresponding
378+
SuggestionResult.
368379
dtmf_parameters (google.cloud.dialogflow_v2.types.DtmfParameters):
369380
Indicates the parameters of DTMF.
370381
"""

0 commit comments

Comments
 (0)