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.
↳ source_language_code
string
Source language code.
↳ target_language_code
string
Target language code.
getReferenceSentencePairLists
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.
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.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-09-09 UTC."],[],[],null,["# Cloud Translation V3 Client - Class ReferenceSentenceConfig (2.0.3)\n\nVersion latestkeyboard_arrow_down\n\n- [2.0.3 (latest)](/php/docs/reference/cloud-translate/latest/V3.AdaptiveMtTranslateRequest.ReferenceSentenceConfig)\n- [2.0.2](/php/docs/reference/cloud-translate/2.0.2/V3.AdaptiveMtTranslateRequest.ReferenceSentenceConfig)\n- [1.21.0](/php/docs/reference/cloud-translate/1.21.0/V3.AdaptiveMtTranslateRequest.ReferenceSentenceConfig)\n- [1.20.2](/php/docs/reference/cloud-translate/1.20.2/V3.AdaptiveMtTranslateRequest.ReferenceSentenceConfig)\n- [1.19.0](/php/docs/reference/cloud-translate/1.19.0/V3.AdaptiveMtTranslateRequest.ReferenceSentenceConfig)\n- [1.18.1](/php/docs/reference/cloud-translate/1.18.1/V3.AdaptiveMtTranslateRequest.ReferenceSentenceConfig)\n- [1.17.7](/php/docs/reference/cloud-translate/1.17.7/V3.AdaptiveMtTranslateRequest.ReferenceSentenceConfig)\n- [1.16.0](/php/docs/reference/cloud-translate/1.16.0/V3.AdaptiveMtTranslateRequest.ReferenceSentenceConfig)\n- [1.15.4](/php/docs/reference/cloud-translate/1.15.4/V3.AdaptiveMtTranslateRequest.ReferenceSentenceConfig)\n- [1.14.3](/php/docs/reference/cloud-translate/1.14.3/V3.AdaptiveMtTranslateRequest.ReferenceSentenceConfig)\n- [1.13.3](/php/docs/reference/cloud-translate/1.13.3/V3.AdaptiveMtTranslateRequest.ReferenceSentenceConfig)\n- [1.12.12](/php/docs/reference/cloud-translate/1.12.12/V3.AdaptiveMtTranslateRequest.ReferenceSentenceConfig) \nReference documentation and code samples for the Cloud Translation V3 Client class ReferenceSentenceConfig.\n\nMessage of caller-provided reference configuration.\n\nGenerated from protobuf message `google.cloud.translation.v3.AdaptiveMtTranslateRequest.ReferenceSentenceConfig`\n\nNamespace\n---------\n\nGoogle \\\\ Cloud \\\\ Translate \\\\ V3 \\\\ AdaptiveMtTranslateRequest\n\nMethods\n-------\n\n### __construct\n\nConstructor.\n\n### getReferenceSentencePairLists\n\nReference sentences pair lists. Each list will be used as the references\nto translate the sentence under \"content\" field at the corresponding\nindex. Length of the list is required to be equal to the length of\n\"content\" field.\n\n### setReferenceSentencePairLists\n\nReference sentences pair lists. Each list will be used as the references\nto translate the sentence under \"content\" field at the corresponding\nindex. Length of the list is required to be equal to the length of\n\"content\" field.\n\n### getSourceLanguageCode\n\nSource language code.\n\n### setSourceLanguageCode\n\nSource language code.\n\n### getTargetLanguageCode\n\nTarget language code.\n\n### setTargetLanguageCode\n\nTarget language code."]]