Reference documentation and code samples for the Cloud Translation V3 API class Google::Cloud::Translate::V3::AdaptiveMtTranslateRequest::ReferenceSentenceConfig.
Message of caller-provided reference configuration.
[[["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 API - Class Google::Cloud::Translate::V3::AdaptiveMtTranslateRequest::ReferenceSentenceConfig (v1.5.2)\n\nVersion latestkeyboard_arrow_down\n\n- [1.5.2 (latest)](/ruby/docs/reference/google-cloud-translate-v3/latest/Google-Cloud-Translate-V3-AdaptiveMtTranslateRequest-ReferenceSentenceConfig)\n- [1.5.1](/ruby/docs/reference/google-cloud-translate-v3/1.5.1/Google-Cloud-Translate-V3-AdaptiveMtTranslateRequest-ReferenceSentenceConfig)\n- [1.4.1](/ruby/docs/reference/google-cloud-translate-v3/1.4.1/Google-Cloud-Translate-V3-AdaptiveMtTranslateRequest-ReferenceSentenceConfig)\n- [1.3.0](/ruby/docs/reference/google-cloud-translate-v3/1.3.0/Google-Cloud-Translate-V3-AdaptiveMtTranslateRequest-ReferenceSentenceConfig)\n- [1.2.0](/ruby/docs/reference/google-cloud-translate-v3/1.2.0/Google-Cloud-Translate-V3-AdaptiveMtTranslateRequest-ReferenceSentenceConfig)\n- [1.1.1](/ruby/docs/reference/google-cloud-translate-v3/1.1.1/Google-Cloud-Translate-V3-AdaptiveMtTranslateRequest-ReferenceSentenceConfig)\n- [1.0.0](/ruby/docs/reference/google-cloud-translate-v3/1.0.0/Google-Cloud-Translate-V3-AdaptiveMtTranslateRequest-ReferenceSentenceConfig)\n- [0.12.0](/ruby/docs/reference/google-cloud-translate-v3/0.12.0/Google-Cloud-Translate-V3-AdaptiveMtTranslateRequest-ReferenceSentenceConfig)\n- [0.11.2](/ruby/docs/reference/google-cloud-translate-v3/0.11.2/Google-Cloud-Translate-V3-AdaptiveMtTranslateRequest-ReferenceSentenceConfig)\n- [0.10.0](/ruby/docs/reference/google-cloud-translate-v3/0.10.0/Google-Cloud-Translate-V3-AdaptiveMtTranslateRequest-ReferenceSentenceConfig)\n- [0.9.0](/ruby/docs/reference/google-cloud-translate-v3/0.9.0/Google-Cloud-Translate-V3-AdaptiveMtTranslateRequest-ReferenceSentenceConfig)\n- [0.8.0](/ruby/docs/reference/google-cloud-translate-v3/0.8.0/Google-Cloud-Translate-V3-AdaptiveMtTranslateRequest-ReferenceSentenceConfig)\n- [0.7.3](/ruby/docs/reference/google-cloud-translate-v3/0.7.3/Google-Cloud-Translate-V3-AdaptiveMtTranslateRequest-ReferenceSentenceConfig)\n- [0.6.0](/ruby/docs/reference/google-cloud-translate-v3/0.6.0/Google-Cloud-Translate-V3-AdaptiveMtTranslateRequest-ReferenceSentenceConfig)\n- [0.5.2](/ruby/docs/reference/google-cloud-translate-v3/0.5.2/Google-Cloud-Translate-V3-AdaptiveMtTranslateRequest-ReferenceSentenceConfig)\n- [0.4.2](/ruby/docs/reference/google-cloud-translate-v3/0.4.2/Google-Cloud-Translate-V3-AdaptiveMtTranslateRequest-ReferenceSentenceConfig) \nReference documentation and code samples for the Cloud Translation V3 API class Google::Cloud::Translate::V3::AdaptiveMtTranslateRequest::ReferenceSentenceConfig.\n\nMessage of caller-provided reference configuration. \n\nInherits\n--------\n\n- Object \n\nExtended By\n-----------\n\n- Google::Protobuf::MessageExts::ClassMethods \n\nIncludes\n--------\n\n- Google::Protobuf::MessageExts\n\nMethods\n-------\n\n### #reference_sentence_pair_lists\n\n def reference_sentence_pair_lists() -\u003e ::Array\u003c::Google::Cloud::Translate::V3::AdaptiveMtTranslateRequest::ReferenceSentencePairList\u003e\n\n**Returns**\n\n- (::Array\\\u003c[::Google::Cloud::Translate::V3::AdaptiveMtTranslateRequest::ReferenceSentencePairList](./Google-Cloud-Translate-V3-AdaptiveMtTranslateRequest-ReferenceSentencePairList)\\\u003e) --- 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.\n\n### #reference_sentence_pair_lists=\n\n def reference_sentence_pair_lists=(value) -\u003e ::Array\u003c::Google::Cloud::Translate::V3::AdaptiveMtTranslateRequest::ReferenceSentencePairList\u003e\n\n**Parameter**\n\n- **value** (::Array\\\u003c[::Google::Cloud::Translate::V3::AdaptiveMtTranslateRequest::ReferenceSentencePairList](./Google-Cloud-Translate-V3-AdaptiveMtTranslateRequest-ReferenceSentencePairList)\\\u003e) --- 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. \n**Returns**\n\n- (::Array\\\u003c[::Google::Cloud::Translate::V3::AdaptiveMtTranslateRequest::ReferenceSentencePairList](./Google-Cloud-Translate-V3-AdaptiveMtTranslateRequest-ReferenceSentencePairList)\\\u003e) --- 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.\n\n### #source_language_code\n\n def source_language_code() -\u003e ::String\n\n**Returns**\n\n- (::String) --- Source language code.\n\n### #source_language_code=\n\n def source_language_code=(value) -\u003e ::String\n\n**Parameter**\n\n- **value** (::String) --- Source language code. \n**Returns**\n\n- (::String) --- Source language code.\n\n### #target_language_code\n\n def target_language_code() -\u003e ::String\n\n**Returns**\n\n- (::String) --- Target language code.\n\n### #target_language_code=\n\n def target_language_code=(value) -\u003e ::String\n\n**Parameter**\n\n- **value** (::String) --- Target language code. \n**Returns**\n\n- (::String) --- Target language code."]]