Class: Google::Cloud::Translate::V3::AdaptiveMtTranslateRequest::ReferenceSentenceConfig

Inherits:
Object
  • Object
show all
Extended by:
Protobuf::MessageExts::ClassMethods
Includes:
Protobuf::MessageExts
Defined in:
proto_docs/google/cloud/translate/v3/adaptive_mt.rb

Overview

Message of caller-provided reference configuration.

Instance Attribute Summary collapse

Instance Attribute Details

#reference_sentence_pair_lists::Array<::Google::Cloud::Translate::V3::AdaptiveMtTranslateRequest::ReferenceSentencePairList>

Returns 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.

Returns:



186
187
188
189
# File 'proto_docs/google/cloud/translate/v3/adaptive_mt.rb', line 186

class ReferenceSentenceConfig
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#source_language_code::String

Returns Source language code.

Returns:

  • (::String)

    Source language code.



186
187
188
189
# File 'proto_docs/google/cloud/translate/v3/adaptive_mt.rb', line 186

class ReferenceSentenceConfig
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#target_language_code::String

Returns Target language code.

Returns:

  • (::String)

    Target language code.



186
187
188
189
# File 'proto_docs/google/cloud/translate/v3/adaptive_mt.rb', line 186

class ReferenceSentenceConfig
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end