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 RomanizeTextRequest : IMessage<RomanizeTextRequest>, IEquatable<RomanizeTextRequest>, IDeepCloneable<RomanizeTextRequest>, IBufferMessage, IMessage

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

The request message for synchronous romanization.

## Inheritance

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

## Implements

[IMessage](https://docs.cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.md.txt)[RomanizeTextRequest](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Translate.V3/latest/Google.Cloud.Translate.V3.RomanizeTextRequest.md.txt), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[RomanizeTextRequest](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Translate.V3/latest/Google.Cloud.Translate.V3.RomanizeTextRequest.md.txt), [IDeepCloneable](https://docs.cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.md.txt)[RomanizeTextRequest](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Translate.V3/latest/Google.Cloud.Translate.V3.RomanizeTextRequest.md.txt), [IBufferMessage](https://docs.cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IBufferMessage.md.txt), [IMessage](https://docs.cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage.md.txt)

## 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.md.txt)

## Assembly

Google.Cloud.Translate.V3.dll

## Constructors

### RomanizeTextRequest()

    public RomanizeTextRequest()

### RomanizeTextRequest(RomanizeTextRequest)

    public RomanizeTextRequest(RomanizeTextRequest other)

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `other` | `RomanizeTextRequest` |

## Properties

### Contents

    public RepeatedField<string> Contents { get; }

Required. The content of the input in string format.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `RepeatedFieldstring` |   |

### Parent

    public string Parent { get; set; }

Required. Project or location to make a call. Must refer to a caller's
project.

Format: `projects/{project-number-or-id}/locations/{location-id}` or
`projects/{project-number-or-id}`.

For global calls, use `projects/{project-number-or-id}/locations/global` or
`projects/{project-number-or-id}`.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `string` |   |

### ParentAsLocationName

    public LocationName ParentAsLocationName { get; set; }

[LocationName](https://docs.cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.ResourceNames.LocationName.md.txt)-typed view over the [Parent](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Translate.V3/latest/Google.Cloud.Translate.V3.RomanizeTextRequest.md.txt#Google_Cloud_Translate_V3_RomanizeTextRequest_Parent) resource name property.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `LocationName` |   |

### SourceLanguageCode

    public string SourceLanguageCode { get; set; }

Optional. The ISO-639 language code of the input text if
known, for example, "hi" or "zh". Supported language codes are
listed in [Language
Support](https://cloud.google.com/translate/docs/languages#roman). If the
source language isn't specified, the API attempts to identify the source
language automatically and returns the source language for each content in
the response.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `string` |   |