# Class StreamingAnalyzeContentResponse (2.48.0)

2.48.0 (latest) 2.47.0 2.46.0 2.45.0 2.44.0 2.43.0 2.42.0 2.41.2 2.40.0 2.39.1 2.38.0 2.37.0 2.36.0 2.35.0 2.34.0 2.33.0 2.32.0 2.30.2 2.29.0 2.28.3 2.27.0 2.26.0 2.25.0 2.24.1 2.23.3 2.22.0 2.21.0 2.20.0 2.19.1 2.18.0 2.17.0 2.16.1 2.15.2 2.14.1 2.13.0 2.12.0 2.11.0 2.10.0 2.9.1 2.8.1 2.7.1 2.6.0 2.5.0 2.4.0 2.3.0 2.2.0 2.1.2 2.0.0 1.1.3 1.0.0 0.8.0 0.7.2

    StreamingAnalyzeContentResponse(
        mapping=None, *, ignore_unknown_fields=False, **kwargs
    )

The top-level message returned from the `StreamingAnalyzeContent`
method.

Multiple response messages can be returned in order:

1. If the input was set to streaming audio, the first one or more
   messages contain `recognition_result`. Each
   `recognition_result` represents a more complete transcript of
   what the user said. The last `recognition_result` has
   `is_final` set to `true`.

2. In virtual agent stage: if
   `enable_partial_automated_agent_reply` is true, the following N
   (currently 1 \<= N \<= 4) messages contain
   `automated_agent_reply` and optionally `reply_audio` returned
   by the virtual agent. The first (N-1)
   `automated_agent_reply`\\ s will have
   `automated_agent_reply_type` set to `PARTIAL`. The last
   `automated_agent_reply` has `automated_agent_reply_type` set
   to `FINAL`. If `enable_partial_automated_agent_reply` is not
   enabled, response stream only contains the final reply.

   In human assist stage: the following N (N \>= 1) messages contain
   `human_agent_suggestion_results`,
   `end_user_suggestion_results` or `message`.

| ## Attributes ||
|---|---|
| **Name** | **Description** |
| `recognition_result` | `https://docs.cloud.google.com/python/docs/reference/dialogflow/latest/google.cloud.dialogflow_v2.types.StreamingRecognitionResult` The result of speech recognition. |
| `reply_text` | `str` The output text content. This field is set if an automated agent responded with a text for the user. |
| `reply_audio` | `https://docs.cloud.google.com/python/docs/reference/dialogflow/latest/google.cloud.dialogflow_v2.types.OutputAudio` The audio data bytes encoded as specified in the request. This field is set if: - The `reply_audio_config` field is specified in the request. - The automated agent, which this output comes from, responded with audio. In such case, the `reply_audio.config` field contains settings used to synthesize the speech. In some scenarios, multiple output audio fields may be present in the response structure. In these cases, only the top-most-level audio output has content. |
| `automated_agent_reply` | `https://docs.cloud.google.com/python/docs/reference/dialogflow/latest/google.cloud.dialogflow_v2.types.AutomatedAgentReply` Note that in \[AutomatedAgentReply.DetectIntentResponse\]\[\], \[Sessions.DetectIntentResponse.output_audio\]\[\] and \[Sessions.DetectIntentResponse.output_audio_config\]\[\] are always empty, use reply_audio instead. |
| `message` | `https://docs.cloud.google.com/python/docs/reference/dialogflow/latest/google.cloud.dialogflow_v2.types.Message` Message analyzed by CCAI. |
| `human_agent_suggestion_results` | `MutableSequence[https://docs.cloud.google.com/python/docs/reference/dialogflow/latest/google.cloud.dialogflow_v2.types.SuggestionResult]` The suggestions for most recent human agent. The order is the same as HumanAgentAssistantConfig.SuggestionConfig.feature_configs of HumanAgentAssistantConfig.human_agent_suggestion_config. |
| `end_user_suggestion_results` | `MutableSequence[https://docs.cloud.google.com/python/docs/reference/dialogflow/latest/google.cloud.dialogflow_v2.types.SuggestionResult]` The suggestions for end user. The order is the same as HumanAgentAssistantConfig.SuggestionConfig.feature_configs of HumanAgentAssistantConfig.end_user_suggestion_config. |
| `dtmf_parameters` | `https://docs.cloud.google.com/python/docs/reference/dialogflow/latest/google.cloud.dialogflow_v2.types.DtmfParameters` Indicates the parameters of DTMF. |
| `debugging_info` | `https://docs.cloud.google.com/python/docs/reference/dialogflow/latest/google.cloud.dialogflow_v2.types.CloudConversationDebuggingInfo` Debugging info that would get populated when `StreamingAnalyzeContentRequest.enable_debugging_info` is set to true. |
| `speech_model` | `str` The name of the actual Cloud speech model used for speech recognition. |