public sealed class Key.Types.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 "".
[[["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 webpage provides documentation for the \u003ccode\u003eKey.Types.PathElement\u003c/code\u003e class within the Google Cloud Data Loss Prevention v2 API, specifically in the .NET context.\u003c/p\u003e\n"],["\u003cp\u003eThe class \u003ccode\u003eKey.Types.PathElement\u003c/code\u003e represents a (kind, ID/name) pair used for constructing a key path, and can be considered complete if either a name or ID is set or incomplete if neither are.\u003c/p\u003e\n"],["\u003cp\u003eThe latest version of this API element is 4.16.0, and this page offers documentation for versions ranging from 2.15.0 to the latest, with version 4.9.0 being highlighted.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eKey.Types.PathElement\u003c/code\u003e class implements various interfaces including \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e, demonstrating its capabilities for message handling, comparison, cloning, and buffer operations.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003ePathElement\u003c/code\u003e class has properties such as \u003ccode\u003eId\u003c/code\u003e, \u003ccode\u003eName\u003c/code\u003e, \u003ccode\u003eKind\u003c/code\u003e, \u003ccode\u003eHasId\u003c/code\u003e, and \u003ccode\u003eHasName\u003c/code\u003e, to interact with its properties, and \u003ccode\u003eIdTypeCase\u003c/code\u003e which is used to specify whether it is an ID or a name.\u003c/p\u003e\n"]]],[],null,[]]