Google Cloud Translation v3 API - Class Glossary (3.5.0)

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

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

Represents a glossary built from user-provided data.

Inheritance

object > Glossary

Namespace

Google.Cloud.Translate.V3

Assembly

Google.Cloud.Translate.V3.dll

Constructors

Glossary()

public Glossary()

Glossary(Glossary)

public Glossary(Glossary other)
Parameter
NameDescription
otherGlossary

Properties

DisplayName

public string DisplayName { get; set; }

Optional. The display name of the glossary.

Property Value
TypeDescription
string

EndTime

public Timestamp EndTime { get; set; }

Output only. When the glossary creation was finished.

Property Value
TypeDescription
Timestamp

EntryCount

public int EntryCount { get; set; }

Output only. The number of entries defined in the glossary.

Property Value
TypeDescription
int

GlossaryName

public GlossaryName GlossaryName { get; set; }

GlossaryName-typed view over the Name resource name property.

Property Value
TypeDescription
GlossaryName

InputConfig

public GlossaryInputConfig InputConfig { get; set; }

Required. Provides examples to build the glossary from. Total glossary must not exceed 10M Unicode codepoints.

Property Value
TypeDescription
GlossaryInputConfig

LanguageCodesSet

public Glossary.Types.LanguageCodesSet LanguageCodesSet { get; set; }

Used with equivalent term set glossaries.

Property Value
TypeDescription
GlossaryTypesLanguageCodesSet

LanguagePair

public Glossary.Types.LanguageCodePair LanguagePair { get; set; }

Used with unidirectional glossaries.

Property Value
TypeDescription
GlossaryTypesLanguageCodePair

LanguagesCase

public Glossary.LanguagesOneofCase LanguagesCase { get; }
Property Value
TypeDescription
GlossaryLanguagesOneofCase

Name

public string Name { get; set; }

Required. The resource name of the glossary. Glossary names have the form projects/{project-number-or-id}/locations/{location-id}/glossaries/{glossary-id}.

Property Value
TypeDescription
string

SubmitTime

public Timestamp SubmitTime { get; set; }

Output only. When CreateGlossary was called.

Property Value
TypeDescription
Timestamp