public sealed class PathElement : IMessage<Key.Types.PathElement>, IEquatable<Key.Types.PathElement>, IDeepCloneable<Key.Types.PathElement>, IBufferMessage, IMessage
Reference documentation and code samples for the Google Cloud Data Loss Prevention v2 API class Key.Types.PathElement.
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.
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 "".
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 "".
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-07 UTC."],[[["\u003cp\u003eThis document provides reference documentation for the \u003ccode\u003eKey.Types.PathElement\u003c/code\u003e class in the Google Cloud Data Loss Prevention v2 API, detailing its properties, constructors, and implemented interfaces.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003ePathElement\u003c/code\u003e class represents a (kind, ID/name) pair used in constructing a key path, where the presence of either a name or ID indicates a complete element, and their absence signifies an incomplete element.\u003c/p\u003e\n"],["\u003cp\u003eThe latest version available for \u003ccode\u003eKey.Types.PathElement\u003c/code\u003e is 4.16.0, and the page displays versions dating back to version 2.15.0, all accessible via their respective links.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003ePathElement\u003c/code\u003e contains properties such as \u003ccode\u003eId\u003c/code\u003e, \u003ccode\u003eIdTypeCase\u003c/code\u003e, \u003ccode\u003eKind\u003c/code\u003e, and \u003ccode\u003eName\u003c/code\u003e, which describe the element's unique identifier, its type, and its classification.\u003c/p\u003e\n"],["\u003cp\u003eThe document includes inheritance information, showing that \u003ccode\u003eKey.Types.PathElement\u003c/code\u003e inherits from \u003ccode\u003eObject\u003c/code\u003e and implements several interfaces, including \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e.\u003c/p\u003e\n"]]],[],null,[]]