public sealed class PartitionId : IMessage<PartitionId>, IEquatable<PartitionId>, IDeepCloneable<PartitionId>, IBufferMessage, IMessage
Reference documentation and code samples for the Google Cloud Data Loss Prevention v2 API class PartitionId.
Datastore partition ID.
A partition ID identifies a grouping of entities. The grouping is always
by project and namespace, however the namespace ID may be empty.
A partition ID contains several dimensions:
project ID and namespace ID.
[[["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 page provides reference documentation for the \u003ccode\u003ePartitionId\u003c/code\u003e class within the Google Cloud Data Loss Prevention (DLP) v2 API, covering versions from 2.15.0 to 4.16.0, with 4.16.0 being the latest version.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003ePartitionId\u003c/code\u003e class represents a Datastore partition ID, which groups entities by project and namespace, with the namespace ID potentially being empty.\u003c/p\u003e\n"],["\u003cp\u003eThe class 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, and inherits from \u003ccode\u003eobject\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003ePartitionId\u003c/code\u003e class has two constructors: a default constructor and a constructor that accepts another \u003ccode\u003ePartitionId\u003c/code\u003e object as a parameter, allowing for the cloning of an existing object.\u003c/p\u003e\n"],["\u003cp\u003eThe class includes two properties, \u003ccode\u003eNamespaceId\u003c/code\u003e and \u003ccode\u003eProjectId\u003c/code\u003e, which are strings that define the ID of the namespace and project to which the entities belong.\u003c/p\u003e\n"]]],[],null,[]]