Cloud Translation V3 API - Class Google::Cloud::Translate::V3::BatchTranslateResponse (v0.9.0)

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

#end_time=

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

#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

#submit_time=

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

#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).