Reference documentation and code samples for the Cloud Translation V3 Client class GlossaryEntry.
Represents a single entry in a glossary.
Generated from protobuf message google.cloud.translation.v3.GlossaryEntry
Namespace
Google \ Cloud \ Translate \ V3Methods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ name
string
Identifier. The resource name of the entry. Format: projects/*/locations/*/glossaries/*/glossaryEntries/*
↳ terms_pair
↳ terms_set
↳ description
string
Describes the glossary entry.
getName
Identifier. The resource name of the entry.
Format: projects/*/locations/*/glossaries/*/glossaryEntries/*
string
setName
Identifier. The resource name of the entry.
Format: projects/*/locations/*/glossaries/*/glossaryEntries/*
var
string
$this
getTermsPair
Used for an unidirectional glossary.
hasTermsPair
setTermsPair
Used for an unidirectional glossary.
$this
getTermsSet
Used for an equivalent term sets glossary.
hasTermsSet
setTermsSet
Used for an equivalent term sets glossary.
$this
getDescription
Describes the glossary entry.
string
setDescription
Describes the glossary entry.
var
string
$this
getData
string