Google Cloud Translation v3 API - Class BatchTranslateMetadata (3.1.0)

public sealed class BatchTranslateMetadata : IMessage<BatchTranslateMetadata>, IEquatable<BatchTranslateMetadata>, IDeepCloneable<BatchTranslateMetadata>, IBufferMessage, IMessage

Reference documentation and code samples for the Google Cloud Translation v3 API class BatchTranslateMetadata.

State metadata for the batch translation operation.

Inheritance

Object > BatchTranslateMetadata

Namespace

Google.Cloud.Translate.V3

Assembly

Google.Cloud.Translate.V3.dll

Constructors

BatchTranslateMetadata()

public BatchTranslateMetadata()

BatchTranslateMetadata(BatchTranslateMetadata)

public BatchTranslateMetadata(BatchTranslateMetadata other)
Parameter
NameDescription
otherBatchTranslateMetadata

Properties

FailedCharacters

public long FailedCharacters { get; set; }

Number of characters that have failed to process so far (Unicode codepoints).

Property Value
TypeDescription
Int64

State

public BatchTranslateMetadata.Types.State State { get; set; }

The state of the operation.

Property Value
TypeDescription
BatchTranslateMetadata.Types.State

SubmitTime

public Timestamp SubmitTime { get; set; }

Time when the operation was submitted.

Property Value
TypeDescription
Timestamp

TotalCharacters

public long TotalCharacters { get; set; }

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.

Property Value
TypeDescription
Int64

TranslatedCharacters

public long TranslatedCharacters { get; set; }

Number of successfully translated characters so far (Unicode codepoints).

Property Value
TypeDescription
Int64