# Media Translation v1beta1 API - Class StreamingTranslateSpeechResponse (2.0.0-beta06)

<button class="button button-with-icon cloud-select-dropdown__button " aria-haspopup="true">Version latest</button>

- [2.0.0-beta06 (latest)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.MediaTranslation.V1Beta1/latest/Google.Cloud.MediaTranslation.V1Beta1.StreamingTranslateSpeechResponse)
- [2.0.0-beta05](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.MediaTranslation.V1Beta1/2.0.0-beta05/Google.Cloud.MediaTranslation.V1Beta1.StreamingTranslateSpeechResponse)
- [1.0.0-beta03](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.MediaTranslation.V1Beta1/1.0.0-beta03/Google.Cloud.MediaTranslation.V1Beta1.StreamingTranslateSpeechResponse)

    public sealed class StreamingTranslateSpeechResponse : IMessage<StreamingTranslateSpeechResponse>, IEquatable<StreamingTranslateSpeechResponse>, IDeepCloneable<StreamingTranslateSpeechResponse>, IBufferMessage, IMessage

Reference documentation and code samples for the Media Translation v1beta1 API class StreamingTranslateSpeechResponse.

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

## Inheritance

[object](https://learn.microsoft.com/dotnet/api/system.object) \> StreamingTranslateSpeechResponse

## Implements

[IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.html)[StreamingTranslateSpeechResponse](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.MediaTranslation.V1Beta1/latest/Google.Cloud.MediaTranslation.V1Beta1.StreamingTranslateSpeechResponse), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[StreamingTranslateSpeechResponse](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.MediaTranslation.V1Beta1/latest/Google.Cloud.MediaTranslation.V1Beta1.StreamingTranslateSpeechResponse), [IDeepCloneable](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.html)[StreamingTranslateSpeechResponse](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.MediaTranslation.V1Beta1/latest/Google.Cloud.MediaTranslation.V1Beta1.StreamingTranslateSpeechResponse), [IBufferMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IBufferMessage.html), [IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage.html)

## Inherited Members

[object.GetHashCode()](https://learn.microsoft.com/dotnet/api/system.object.gethashcode) [object.GetType()](https://learn.microsoft.com/dotnet/api/system.object.gettype) [object.ToString()](https://learn.microsoft.com/dotnet/api/system.object.tostring)

## Namespace

[Google.Cloud.MediaTranslation.V1Beta1](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.MediaTranslation.V1Beta1/latest/Google.Cloud.MediaTranslation.V1Beta1)

## Assembly

Google.Cloud.MediaTranslation.V1Beta1.dll

## Constructors

### StreamingTranslateSpeechResponse()

    public StreamingTranslateSpeechResponse()

### StreamingTranslateSpeechResponse(StreamingTranslateSpeechResponse)

    public StreamingTranslateSpeechResponse(StreamingTranslateSpeechResponse other)

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `other` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.MediaTranslation.V1Beta1/latest/Google.Cloud.MediaTranslation.V1Beta1.StreamingTranslateSpeechResponse` |

## Properties

### Error

    public Status Error { get; set; }

Output only. If set, returns a \[google.rpc.Status\]\[google.rpc.Status\] message that
specifies the error for the operation.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/dotnet/docs/reference/Google.Api.CommonProtos/latest/Google.Rpc.Status.html` |   |

### Result

    public StreamingTranslateSpeechResult Result { get; set; }

Output only. The translation result that is currently being processed (is_final could be
true or false).

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.MediaTranslation.V1Beta1/latest/Google.Cloud.MediaTranslation.V1Beta1.StreamingTranslateSpeechResult` |   |

### SpeechEventType

    public StreamingTranslateSpeechResponse.Types.SpeechEventType SpeechEventType { get; set; }

Output only. Indicates the type of speech event.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.MediaTranslation.V1Beta1/latest/Google.Cloud.MediaTranslation.V1Beta1.StreamingTranslateSpeechResponsehttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.MediaTranslation.V1Beta1/latest/Google.Cloud.MediaTranslation.V1Beta1.StreamingTranslateSpeechResponse.Typeshttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.MediaTranslation.V1Beta1/latest/Google.Cloud.MediaTranslation.V1Beta1.StreamingTranslateSpeechResponse.Types.SpeechEventType` |   |