Reference documentation and code samples for the Cloud Translation V3 API class Google::Cloud::Translate::V3::BatchTranslateMetadata.
State metadata for the batch translation operation.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#failed_characters
def failed_characters() -> ::Integer
Returns
- (::Integer) — Number of characters that have failed to process so far (Unicode codepoints).
#failed_characters=
def failed_characters=(value) -> ::Integer
Parameter
- value (::Integer) — Number of characters that have failed to process so far (Unicode codepoints).
Returns
- (::Integer) — Number of characters that have failed to process so far (Unicode codepoints).
#state
def state() -> ::Google::Cloud::Translate::V3::BatchTranslateMetadata::State
Returns
- (::Google::Cloud::Translate::V3::BatchTranslateMetadata::State) — The state of the operation.
#state=
def state=(value) -> ::Google::Cloud::Translate::V3::BatchTranslateMetadata::State
Parameter
- value (::Google::Cloud::Translate::V3::BatchTranslateMetadata::State) — The state of the operation.
Returns
- (::Google::Cloud::Translate::V3::BatchTranslateMetadata::State) — The state of the operation.
#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). This is the total number of codepoints from input files times the number of target languages and appears here shortly after the call is submitted.
#total_characters=
def total_characters=(value) -> ::Integer
Parameter
- value (::Integer) — Total number of characters (Unicode codepoints). This is the total number of codepoints from input files times the number of target languages and appears here shortly after the call is submitted.
Returns
- (::Integer) — Total number of characters (Unicode codepoints). This is the total number of codepoints from input files times the number of target languages and appears here shortly after the call is submitted.
#translated_characters
def translated_characters() -> ::Integer
Returns
- (::Integer) — Number of successfully translated characters so far (Unicode codepoints).
#translated_characters=
def translated_characters=(value) -> ::Integer
Parameter
- value (::Integer) — Number of successfully translated characters so far (Unicode codepoints).
Returns
- (::Integer) — Number of successfully translated characters so far (Unicode codepoints).