Google Cloud Translation v3 API - Class AdaptiveMtTranslateRequest.Types.ReferenceSentenceConfig (3.8.0)

public sealed class AdaptiveMtTranslateRequest.Types.ReferenceSentenceConfig : IMessage<AdaptiveMtTranslateRequest.Types.ReferenceSentenceConfig>, IEquatable<AdaptiveMtTranslateRequest.Types.ReferenceSentenceConfig>, IDeepCloneable<AdaptiveMtTranslateRequest.Types.ReferenceSentenceConfig>, IBufferMessage, IMessage

Reference documentation and code samples for the Google Cloud Translation v3 API class AdaptiveMtTranslateRequest.Types.ReferenceSentenceConfig.

Message of caller-provided reference configuration.

Inheritance

object > AdaptiveMtTranslateRequest.Types.ReferenceSentenceConfig

Namespace

Google.Cloud.Translate.V3

Assembly

Google.Cloud.Translate.V3.dll

Constructors

ReferenceSentenceConfig()

public ReferenceSentenceConfig()

ReferenceSentenceConfig(ReferenceSentenceConfig)

public ReferenceSentenceConfig(AdaptiveMtTranslateRequest.Types.ReferenceSentenceConfig other)
Parameter
Name Description
other AdaptiveMtTranslateRequestTypesReferenceSentenceConfig

Properties

ReferenceSentencePairLists

public RepeatedField<AdaptiveMtTranslateRequest.Types.ReferenceSentencePairList> ReferenceSentencePairLists { get; }

Reference sentences pair lists. Each list will be used as the references to translate the sentence under "content" field at the corresponding index. Length of the list is required to be equal to the length of "content" field.

Property Value
Type Description
RepeatedFieldAdaptiveMtTranslateRequestTypesReferenceSentencePairList

SourceLanguageCode

public string SourceLanguageCode { get; set; }

Source language code.

Property Value
Type Description
string

TargetLanguageCode

public string TargetLanguageCode { get; set; }

Target language code.

Property Value
Type Description
string