Class: Google::Cloud::Translate::V3::BatchTranslateDocumentResponse

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 BatchTranslateDocument if at least one document 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:



1539
1540
1541
1542
# File 'proto_docs/google/cloud/translate/v3/translation_service.rb', line 1539

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

#failed_characters::Integer

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

Returns:

  • (::Integer)

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



1539
1540
1541
1542
# File 'proto_docs/google/cloud/translate/v3/translation_service.rb', line 1539

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

#failed_pages::Integer

Returns Number of pages that failed to process in all documents. Documents without clear page definition (such as XLSX) are not counted.

Returns:

  • (::Integer)

    Number of pages that failed to process in all documents. Documents without clear page definition (such as XLSX) are not counted.



1539
1540
1541
1542
# File 'proto_docs/google/cloud/translate/v3/translation_service.rb', line 1539

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

#submit_time::Google::Protobuf::Timestamp

Returns Time when the operation was submitted.

Returns:



1539
1540
1541
1542
# File 'proto_docs/google/cloud/translate/v3/translation_service.rb', line 1539

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

#total_billable_characters::Integer

Returns Number of billable characters (Unicode codepoints) in documents without clear page definition, such as XLSX.

Returns:

  • (::Integer)

    Number of billable characters (Unicode codepoints) in documents without clear page definition, such as XLSX.



1539
1540
1541
1542
# File 'proto_docs/google/cloud/translate/v3/translation_service.rb', line 1539

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

#total_billable_pages::Integer

Returns Number of billable pages in documents with clear page definition (such as PDF, DOCX, PPTX).

Returns:

  • (::Integer)

    Number of billable pages in documents with clear page definition (such as PDF, DOCX, PPTX)



1539
1540
1541
1542
# File 'proto_docs/google/cloud/translate/v3/translation_service.rb', line 1539

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

#total_characters::Integer

Returns Total number of characters (Unicode codepoints) in all documents.

Returns:

  • (::Integer)

    Total number of characters (Unicode codepoints) in all documents.



1539
1540
1541
1542
# File 'proto_docs/google/cloud/translate/v3/translation_service.rb', line 1539

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

#total_pages::Integer

Returns Total number of pages to translate in all documents. Documents without clear page definition (such as XLSX) are not counted.

Returns:

  • (::Integer)

    Total number of pages to translate in all documents. Documents without clear page definition (such as XLSX) are not counted.



1539
1540
1541
1542
# File 'proto_docs/google/cloud/translate/v3/translation_service.rb', line 1539

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

#translated_characters::Integer

Returns Number of successfully translated characters (Unicode codepoints) in all documents.

Returns:

  • (::Integer)

    Number of successfully translated characters (Unicode codepoints) in all documents.



1539
1540
1541
1542
# File 'proto_docs/google/cloud/translate/v3/translation_service.rb', line 1539

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

#translated_pages::Integer

Returns Number of successfully translated pages in all documents. Documents without clear page definition (such as XLSX) are not counted.

Returns:

  • (::Integer)

    Number of successfully translated pages in all documents. Documents without clear page definition (such as XLSX) are not counted.



1539
1540
1541
1542
# File 'proto_docs/google/cloud/translate/v3/translation_service.rb', line 1539

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