Google Cloud Translation v3 API - Class RomanizeTextRequest (3.9.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 > RomanizeTextRequest

Namespace

Google.Cloud.Translate.V3

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-typed view over the 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". 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