Class BatchTranslateResponse (3.14.0)

BatchTranslateResponse(mapping=None, *, ignore_unknown_fields=False, **kwargs)

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

Attributes

NameDescription
total_characters int
Total number of characters (Unicode codepoints).
translated_characters int
Number of successfully translated characters (Unicode codepoints).
failed_characters int
Number of characters that have failed to process (Unicode codepoints).
submit_time google.protobuf.timestamp_pb2.Timestamp
Time when the operation was submitted.
end_time google.protobuf.timestamp_pb2.Timestamp
The time when the operation is finished and google.longrunning.Operation.done][google.longrunning.Operation.done] is set to true.