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 document provides reference documentation for the \u003ccode\u003ePartitionId\u003c/code\u003e class within the Google Cloud Data Loss Prevention (DLP) v2 API, detailing its structure and usage.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003ePartitionId\u003c/code\u003e class identifies a grouping of entities in Datastore, defined by a project ID and a namespace ID, which can be empty.\u003c/p\u003e\n"],["\u003cp\u003eThe document includes a list of available versions of the Google Cloud DLP v2 API, ranging from version 2.15.0 up to the latest, 4.16.0.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003ePartitionId\u003c/code\u003e implements multiple 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 the base \u003ccode\u003eObject\u003c/code\u003e class, which contains inherited members \u003ccode\u003eGetHashCode\u003c/code\u003e, \u003ccode\u003eGetType\u003c/code\u003e, \u003ccode\u003eMemberwiseClone\u003c/code\u003e and \u003ccode\u003eToString\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003ePartitionId\u003c/code\u003e class has two properties, \u003ccode\u003eNamespaceId\u003c/code\u003e and \u003ccode\u003eProjectId\u003c/code\u003e, which are strings representing the namespace and project to which the entities belong respectively, along with two constructors \u003ccode\u003ePartitionId()\u003c/code\u003e and \u003ccode\u003ePartitionId(PartitionId other)\u003c/code\u003e.\u003c/p\u003e\n"]]],[],null,[]]