Class Glossary (2.12.0)

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

A Glossary represents a collection of GlossaryCategories and GlossaryTerms defined by the user. Glossary is a top level resource and is the Google Cloud parent resource of all the GlossaryCategories and GlossaryTerms within it.

Attributes

Name Description
name str
Output only. Identifier. The resource name of the Glossary. Format: projects/{project_id_or_number}/locations/{location_id}/glossaries/{glossary_id}
uid str
Output only. System generated unique id for the Glossary. This ID will be different if the Glossary is deleted and re-created with the same name.
display_name str
Optional. User friendly display name of the Glossary. This is user-mutable. This will be same as the GlossaryId, if not specified.
description str
Optional. The user-mutable description of the Glossary.
create_time google.protobuf.timestamp_pb2.Timestamp
Output only. The time at which the Glossary was created.
update_time google.protobuf.timestamp_pb2.Timestamp
Output only. The time at which the Glossary was last updated.
labels MutableMapping[str, str]
Optional. User-defined labels for the Glossary.
term_count int
Output only. The number of GlossaryTerms in the Glossary.
category_count int
Output only. The number of GlossaryCategories in the Glossary.
etag str
Optional. Needed for resource freshness validation. This checksum is computed by the server based on the value of other fields, and may be sent on update and delete requests to ensure the client has an up-to-date value before proceeding.

Classes

LabelsEntry

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

The abstract base class for a message.

Parameters
Name Description
kwargs dict

Keys and values corresponding to the fields of the message.

mapping Union[dict, .Message]

A dictionary or message to be used to determine the values for this message.

ignore_unknown_fields Optional(bool)

If True, do not raise errors for unknown fields. Only applied if mapping is a mapping type or there are keyword parameters.