Reference documentation and code samples for the Cloud Translation V3 API class Google::Cloud::Translate::V3::BatchTranslateResponse.
Stored in the google.longrunning.Operation.response field returned by BatchTranslateText if at least one sentence 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) — The time when the operation is finished and google.longrunning.Operation.done is set to true.
#end_time=
def end_time=(value) -> ::Google::Protobuf::Timestamp
Parameter
- value (::Google::Protobuf::Timestamp) — The time when the operation is finished and google.longrunning.Operation.done is set to true.
Returns
- (::Google::Protobuf::Timestamp) — The time when the operation is finished and google.longrunning.Operation.done is set to true.
#failed_characters
def failed_characters() -> ::Integer
Returns
- (::Integer) — Number of characters that have failed to process (Unicode codepoints).
#failed_characters=
def failed_characters=(value) -> ::Integer
Parameter
- value (::Integer) — Number of characters that have failed to process (Unicode codepoints).
Returns
- (::Integer) — Number of characters that have failed to process (Unicode codepoints).
#submit_time
def submit_time() -> ::Google::Protobuf::Timestamp
Returns
- (::Google::Protobuf::Timestamp) — Time when the operation was submitted.
#submit_time=
def submit_time=(value) -> ::Google::Protobuf::Timestamp
Parameter
- value (::Google::Protobuf::Timestamp) — Time when the operation was submitted.
Returns
- (::Google::Protobuf::Timestamp) — Time when the operation was submitted.
#total_characters
def total_characters() -> ::Integer
Returns
- (::Integer) — Total number of characters (Unicode codepoints).
#total_characters=
def total_characters=(value) -> ::Integer
Parameter
- value (::Integer) — Total number of characters (Unicode codepoints).
Returns
- (::Integer) — Total number of characters (Unicode codepoints).
#translated_characters
def translated_characters() -> ::Integer
Returns
- (::Integer) — Number of successfully translated characters (Unicode codepoints).
#translated_characters=
def translated_characters=(value) -> ::Integer
Parameter
- value (::Integer) — Number of successfully translated characters (Unicode codepoints).
Returns
- (::Integer) — Number of successfully translated characters (Unicode codepoints).