Class GlossaryEntry (3.17.0)

GlossaryEntry(mapping=None, *, ignore_unknown_fields=False, **kwargs)

Represents a single entry in a glossary.

This message has oneof_ fields (mutually exclusive fields). For each oneof, at most one member field can be set at the same time. Setting any member of the oneof automatically clears all other members.

.. _oneof: https://proto-plus-python.readthedocs.io/en/stable/fields.html#oneofs-mutually-exclusive-fields

Attributes

Name Description
name str
Identifier. The resource name of the entry. Format: projects/*/locations/*/glossaries/*/glossaryEntries/*
terms_pair google.cloud.translate_v3.types.GlossaryEntry.GlossaryTermsPair
Used for an unidirectional glossary. This field is a member of oneof_ data.
terms_set google.cloud.translate_v3.types.GlossaryEntry.GlossaryTermsSet
Used for an equivalent term sets glossary. This field is a member of oneof_ data.
description str
Describes the glossary entry.

Classes

GlossaryTermsPair

GlossaryTermsPair(mapping=None, *, ignore_unknown_fields=False, **kwargs)

Represents a single entry for an unidirectional glossary.

GlossaryTermsSet

GlossaryTermsSet(mapping=None, *, ignore_unknown_fields=False, **kwargs)

Represents a single entry for an equivalent term set glossary. This is used for equivalent term sets where each term can be replaced by the other terms in the set.