public sealed class GlossaryInputConfig : IMessage<GlossaryInputConfig>, IEquatable<GlossaryInputConfig>, IDeepCloneable<GlossaryInputConfig>, IBufferMessage, IMessage
Input configuration for glossaries.
Implements
IMessage<GlossaryInputConfig>, IEquatable<GlossaryInputConfig>, IDeepCloneable<GlossaryInputConfig>, IBufferMessage, IMessageNamespace
Google.Cloud.Translate.V3Assembly
Google.Cloud.Translate.V3.dll
Constructors
GlossaryInputConfig()
public GlossaryInputConfig()
GlossaryInputConfig(GlossaryInputConfig)
public GlossaryInputConfig(GlossaryInputConfig other)
Parameter | |
---|---|
Name | Description |
other | GlossaryInputConfig |
Properties
GcsSource
public GcsSource GcsSource { get; set; }
Required. Google Cloud Storage location of glossary data. File format is determined based on the filename extension. API returns [google.rpc.Code.INVALID_ARGUMENT] for unsupported URI-s and file formats. Wildcards are not allowed. This must be a single file in one of the following formats:
For unidirectional glossaries:
TSV/CSV (
.tsv
/.csv
): 2 column file, tab- or comma-separated. The first column is source text. The second column is target text. The file must not contain headers. That is, the first row is data, not column names.TMX (
.tmx
): TMX file with parallel data defining source/target term pairs.
For equivalent term sets glossaries:
- CSV (
.csv
): Multi-column CSV file defining equivalent glossary terms in multiple languages. See documentation for more information - glossaries.
Property Value | |
---|---|
Type | Description |
GcsSource |
SourceCase
public GlossaryInputConfig.SourceOneofCase SourceCase { get; }
Property Value | |
---|---|
Type | Description |
GlossaryInputConfig.SourceOneofCase |