# Google Cloud Translation v3 API - Class TranslateDocumentResponse (3.11.0)

3.11.0 (latest) 3.10.0 3.9.0 3.8.0 3.7.0 3.6.0 3.5.0 3.4.0 3.3.0 3.2.0 3.1.0 3.0.0 2.4.0 2.3.0 2.2.0

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

Reference documentation and code samples for the Google Cloud Translation v3 API class TranslateDocumentResponse.

A translated document response message.

## Inheritance

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

## Implements

[IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.html)[TranslateDocumentResponse](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Translate.V3/latest/Google.Cloud.Translate.V3.TranslateDocumentResponse), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[TranslateDocumentResponse](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Translate.V3/latest/Google.Cloud.Translate.V3.TranslateDocumentResponse), [IDeepCloneable](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.html)[TranslateDocumentResponse](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Translate.V3/latest/Google.Cloud.Translate.V3.TranslateDocumentResponse), [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.Translate.V3](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Translate.V3/latest/Google.Cloud.Translate.V3)

## Assembly

Google.Cloud.Translate.V3.dll

## Constructors

### TranslateDocumentResponse()

    public TranslateDocumentResponse()

### TranslateDocumentResponse(TranslateDocumentResponse)

    public TranslateDocumentResponse(TranslateDocumentResponse other)

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `other` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Translate.V3/latest/Google.Cloud.Translate.V3.TranslateDocumentResponse` |

## Properties

### DocumentTranslation

    public DocumentTranslation DocumentTranslation { get; set; }

Translated document.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Translate.V3/latest/Google.Cloud.Translate.V3.DocumentTranslation` |   |

### GlossaryConfig

    public TranslateTextGlossaryConfig GlossaryConfig { get; set; }

The `glossary_config` used for this translation.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Translate.V3/latest/Google.Cloud.Translate.V3.TranslateTextGlossaryConfig` |   |

### GlossaryDocumentTranslation

    public DocumentTranslation GlossaryDocumentTranslation { get; set; }

The document's translation output if a glossary is provided in the request.
This can be the same as \[TranslateDocumentResponse.document_translation\]
if no glossary terms apply.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Translate.V3/latest/Google.Cloud.Translate.V3.DocumentTranslation` |   |

### Model

    public string Model { get; set; }

Only present when 'model' is present in the request.
'model' is normalized to have a project number.

For example:
If the 'model' field in TranslateDocumentRequest is:
`projects/{project-id}/locations/{location-id}/models/general/nmt` then
`model` here would be normalized to
`projects/{project-number}/locations/{location-id}/models/general/nmt`.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.string` |   |