Class PathElement (2.0.2)

Stay organized with collections Save and categorize content based on your preferences.
PathElement(mapping=None, *, ignore_unknown_fields=False, **kwargs)

A (kind, ID/name) pair used to construct a key path. If either name or ID is set, the element is complete. If neither is set, the element is incomplete.

Attributes

NameDescription
kind str
The kind of the entity. A kind matching regex ``__.*__`` is reserved/read-only. A kind must not contain more than 1500 bytes when UTF-8 encoded. Cannot be ``""``.
id int
The auto-allocated ID of the entity. Never equal to zero. Values less than zero are discouraged and may not be supported in the future.
name str
The name of the entity. A name matching regex ``__.*__`` is reserved/read-only. A name must not be more than 1500 bytes when UTF-8 encoded. Cannot be ``""``.

Inheritance

builtins.object > proto.message.Message > PathElement