# Class StreamingTranslateSpeechResponse (0.14.1)

0.14.1 (latest) 0.14.0 0.13.0 0.12.0 0.11.17 0.10.0 0.9.4 0.8.2 0.7.1 0.6.0 0.5.4 0.4.0 0.3.0 0.2.0 0.1.1

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

A streaming speech translation response corresponding to a
portion of the audio currently processed.

| ## Attributes ||
|---|---|
| **Name** | **Description** |
| `error` | `google.rpc.status_pb2.Status` Output only. If set, returns a `google.rpc.Status][google.rpc.Status]` message that specifies the error for the operation. |
| `result` | `https://docs.cloud.google.com/python/docs/reference/mediatranslation/latest/google.cloud.mediatranslation_v1beta1.types.StreamingTranslateSpeechResult` Output only. The translation result that is currently being processed (is_final could be true or false). |
| `speech_event_type` | `https://docs.cloud.google.com/python/docs/reference/mediatranslation/latest/google.cloud.mediatranslation_v1beta1.types.StreamingTranslateSpeechResponse.SpeechEventType` Output only. Indicates the type of speech event. |

## Classes

### SpeechEventType

    SpeechEventType(value)

Indicates the type of speech event.