# Cloud Translation V3 API - Class Google::Cloud::Translate::V3::BatchTranslateDocumentResponse (v1.10.0)

1.10.0 (latest) 1.9.0 1.8.0 1.7.1 1.6.0 1.5.2 1.4.1 1.3.0 1.2.0 1.1.1 1.0.0 0.12.0 0.11.2 0.10.0 0.9.0 0.8.0 0.7.3 0.6.0 0.5.2 0.4.2 Reference documentation and code samples for the Cloud Translation V3 API class Google::Cloud::Translate::V3::BatchTranslateDocumentResponse.

Stored in the
[google.longrunning.Operation.response](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-translate-v3/latest/Google-Longrunning-Operation#Google__Longrunning__Operation_response_instance_ "Google::Longrunning::Operation#response (method)")
field returned by BatchTranslateDocument if at least one document is
translated successfully.

## Inherits

- Object

## Extended By

- Google::Protobuf::MessageExts::ClassMethods

## Includes

- Google::Protobuf::MessageExts

## Methods

### #end_time

    def end_time() -> ::Google::Protobuf::Timestamp

**Returns**

- ([::Google::Protobuf::Timestamp](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-translate-v3/latest/Google-Protobuf-Timestamp)) --- The time when the operation is finished and [google.longrunning.Operation.done](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-translate-v3/latest/Google-Longrunning-Operation#Google__Longrunning__Operation_done_instance_ "Google::Longrunning::Operation#done (method)") is set to true.

### #end_time=

    def end_time=(value) -> ::Google::Protobuf::Timestamp

**Parameter**

- **value** ([::Google::Protobuf::Timestamp](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-translate-v3/latest/Google-Protobuf-Timestamp)) --- The time when the operation is finished and [google.longrunning.Operation.done](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-translate-v3/latest/Google-Longrunning-Operation#Google__Longrunning__Operation_done_instance_ "Google::Longrunning::Operation#done (method)") is set to true.
**Returns**

- ([::Google::Protobuf::Timestamp](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-translate-v3/latest/Google-Protobuf-Timestamp)) --- The time when the operation is finished and [google.longrunning.Operation.done](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-translate-v3/latest/Google-Longrunning-Operation#Google__Longrunning__Operation_done_instance_ "Google::Longrunning::Operation#done (method)") is set to true.

### #failed_characters

    def failed_characters() -> ::Integer

**Returns**

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

### #failed_characters=

    def failed_characters=(value) -> ::Integer

**Parameter**

- **value** (::Integer) --- 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.

### #failed_pages

    def failed_pages() -> ::Integer

**Returns**

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

### #failed_pages=

    def failed_pages=(value) -> ::Integer

**Parameter**

- **value** (::Integer) --- 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.

### #submit_time

    def submit_time() -> ::Google::Protobuf::Timestamp

**Returns**

- ([::Google::Protobuf::Timestamp](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-translate-v3/latest/Google-Protobuf-Timestamp)) --- Time when the operation was submitted.

### #submit_time=

    def submit_time=(value) -> ::Google::Protobuf::Timestamp

**Parameter**

- **value** ([::Google::Protobuf::Timestamp](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-translate-v3/latest/Google-Protobuf-Timestamp)) --- Time when the operation was submitted.
**Returns**

- ([::Google::Protobuf::Timestamp](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-translate-v3/latest/Google-Protobuf-Timestamp)) --- Time when the operation was submitted.

### #total_billable_characters

    def total_billable_characters() -> ::Integer

**Returns**

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

### #total_billable_characters=

    def total_billable_characters=(value) -> ::Integer

**Parameter**

- **value** (::Integer) --- 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.

### #total_billable_pages

    def total_billable_pages() -> ::Integer

**Returns**

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

### #total_billable_pages=

    def total_billable_pages=(value) -> ::Integer

**Parameter**

- **value** (::Integer) --- 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)

### #total_characters

    def total_characters() -> ::Integer

**Returns**

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

### #total_characters=

    def total_characters=(value) -> ::Integer

**Parameter**

- **value** (::Integer) --- Total number of characters (Unicode codepoints) in all documents.
**Returns**

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

### #total_pages

    def total_pages() -> ::Integer

**Returns**

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

### #total_pages=

    def total_pages=(value) -> ::Integer

**Parameter**

- **value** (::Integer) --- 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.

### #translated_characters

    def translated_characters() -> ::Integer

**Returns**

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

### #translated_characters=

    def translated_characters=(value) -> ::Integer

**Parameter**

- **value** (::Integer) --- Number of successfully translated characters (Unicode codepoints) in all documents.
**Returns**

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

### #translated_pages

    def translated_pages() -> ::Integer

**Returns**

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

### #translated_pages=

    def translated_pages=(value) -> ::Integer

**Parameter**

- **value** (::Integer) --- 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.