Class Glossary

Represents a glossary built from user provided data.

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
NameDescription
strname
Required. The resource name of the glossary. Glossary names have the form ``projects/{project-number-or-id}/locations/{location-id}/glossaries/{glossary-id}``.
google.cloud.translate_v3.types.Glossary.LanguageCodePairlanguage_pair
Used with unidirectional glossaries. This field is a member of `oneof`_ ``languages``.
google.cloud.translate_v3.types.Glossary.LanguageCodesSetlanguage_codes_set
Used with equivalent term set glossaries. This field is a member of `oneof`_ ``languages``.
google.cloud.translate_v3.types.GlossaryInputConfiginput_config
Required. Provides examples to build the glossary from. Total glossary must not exceed 10M Unicode codepoints.
intentry_count
Output only. The number of entries defined in the glossary.
google.protobuf.timestamp_pb2.Timestampsubmit_time
Output only. When CreateGlossary was called.
google.protobuf.timestamp_pb2.Timestampend_time
Output only. When the glossary creation was finished.

Inheritance

builtins.object > proto.message.Message > Glossary

Classes

LanguageCodePair

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

Used with unidirectional glossaries.

LanguageCodesSet

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

Used with equivalent term set glossaries.