Class: Google::Cloud::Translate::V3::Glossary::LanguageCodePair

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

Overview

Used with unidirectional glossaries.

Instance Attribute Summary collapse

Instance Attribute Details

#source_language_code::String

Returns Required. The ISO-639 language code of the input text, for example, "en-US". Expected to be an exact match for GlossaryTerm.language_code.

Returns:

  • (::String)

    Required. The ISO-639 language code of the input text, for example, "en-US". Expected to be an exact match for GlossaryTerm.language_code.



936
937
938
939
# File 'proto_docs/google/cloud/translate/v3/translation_service.rb', line 936

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

#target_language_code::String

Returns Required. The ISO-639 language code for translation output, for example, "zh-CN". Expected to be an exact match for GlossaryTerm.language_code.

Returns:

  • (::String)

    Required. The ISO-639 language code for translation output, for example, "zh-CN". Expected to be an exact match for GlossaryTerm.language_code.



936
937
938
939
# File 'proto_docs/google/cloud/translate/v3/translation_service.rb', line 936

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