Google Cloud Translation v3 API - Class Glossary (3.6.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
Name Description
other Glossary

Properties

DisplayName

public string DisplayName { get; set; }

Optional. The display name of the glossary.

Property Value
Type Description
string

EndTime

public Timestamp EndTime { get; set; }

Output only. When the glossary creation was finished.

Property Value
Type Description
Timestamp

EntryCount

public int EntryCount { get; set; }

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

Property Value
Type Description
int

GlossaryName

public GlossaryName GlossaryName { get; set; }

GlossaryName-typed view over the Name resource name property.

Property Value
Type Description
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
Type Description
GlossaryInputConfig

LanguageCodesSet

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

Used with equivalent term set glossaries.

Property Value
Type Description
GlossaryTypesLanguageCodesSet

LanguagePair

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

Used with unidirectional glossaries.

Property Value
Type Description
GlossaryTypesLanguageCodePair

LanguagesCase

public Glossary.LanguagesOneofCase LanguagesCase { get; }
Property Value
Type Description
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
Type Description
string

SubmitTime

public Timestamp SubmitTime { get; set; }

Output only. When CreateGlossary was called.

Property Value
Type Description
Timestamp