Class PathElement (3.33.0) 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 neitheris set, the element is incomplete.
This message hasoneof_ 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 othermembers.
.. _oneof:https://proto-plus-python.readthedocs.io/en/stable/fields.html#oneofs-mutually-exclusive-fields
Attributes | |
|---|---|
| Name | Description |
kind | strThe 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 | intThe auto-allocated ID of the entity. Never equal to zero. Values less than zero are discouraged and may not be supported in the future. This field is a member of oneof_id_type. |
name | strThe 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"". This field is a member ofoneof_id_type. |
Except as otherwise noted, the content of this page is licensed under theCreative Commons Attribution 4.0 License, and code samples are licensed under theApache 2.0 License. For details, see theGoogle Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-11-13 UTC.