Class: Google::Cloud::Translate::V3::BatchTranslateResponse

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

Stored in the google.longrunning.Operation.response field returned by BatchTranslateText if at least one sentence is translated successfully.

Instance Attribute Summary collapse

Instance Attribute Details

#end_time::Google::Protobuf::Timestamp

Returns The time when the operation is finished and google.longrunning.Operation.done is set to true.

Returns:



612
613
614
615
# File 'proto_docs/google/cloud/translate/v3/translation_service.rb', line 612

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

#failed_characters::Integer

Returns Number of characters that have failed to process (Unicode codepoints).

Returns:

  • (::Integer)

    Number of characters that have failed to process (Unicode codepoints).



612
613
614
615
# File 'proto_docs/google/cloud/translate/v3/translation_service.rb', line 612

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

#submit_time::Google::Protobuf::Timestamp

Returns Time when the operation was submitted.

Returns:



612
613
614
615
# File 'proto_docs/google/cloud/translate/v3/translation_service.rb', line 612

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

#total_characters::Integer

Returns Total number of characters (Unicode codepoints).

Returns:

  • (::Integer)

    Total number of characters (Unicode codepoints).



612
613
614
615
# File 'proto_docs/google/cloud/translate/v3/translation_service.rb', line 612

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

#translated_characters::Integer

Returns Number of successfully translated characters (Unicode codepoints).

Returns:

  • (::Integer)

    Number of successfully translated characters (Unicode codepoints).



612
613
614
615
# File 'proto_docs/google/cloud/translate/v3/translation_service.rb', line 612

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