Class: Google::Cloud::Translate::V3::AdaptiveMtTranslateResponse

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

An AdaptiveMtTranslate response.

Instance Attribute Summary collapse

Instance Attribute Details

#glossary_translations::Array<::Google::Cloud::Translate::V3::AdaptiveMtTranslation>

Returns Text translation response if a glossary is provided in the request. This could be the same as 'translation' above if no terms apply.

Returns:



236
237
238
239
# File 'proto_docs/google/cloud/translate/v3/adaptive_mt.rb', line 236

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

#language_code::String (readonly)

Returns Output only. The translation's language code.

Returns:

  • (::String)

    Output only. The translation's language code.



236
237
238
239
# File 'proto_docs/google/cloud/translate/v3/adaptive_mt.rb', line 236

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

#translations::Array<::Google::Cloud::Translate::V3::AdaptiveMtTranslation> (readonly)

Returns Output only. The translation.

Returns:



236
237
238
239
# File 'proto_docs/google/cloud/translate/v3/adaptive_mt.rb', line 236

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