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 documentation for the \u003ccode\u003ePartitionId\u003c/code\u003e class within the Google Cloud Data Loss Prevention (DLP) v2 API, specifically in the .NET context.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003ePartitionId\u003c/code\u003e class, part of the \u003ccode\u003eGoogle.Cloud.Dlp.V2\u003c/code\u003e namespace, is used to identify a grouping of entities within a Datastore by project and namespace.\u003c/p\u003e\n"],["\u003cp\u003eThe latest version documented is 4.16.0, while the initial documented version is 2.15.0, and the page includes documentation for many versions of this class between these two numbers.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003ePartitionId\u003c/code\u003e 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 members from the \u003ccode\u003eobject\u003c/code\u003e class.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003ePartitionId\u003c/code\u003e objects can be created either with no parameters, or by passing another \u003ccode\u003ePartitionId\u003c/code\u003e as parameter, and it allows setting both a \u003ccode\u003eProjectId\u003c/code\u003e and \u003ccode\u003eNamespaceId\u003c/code\u003e.\u003c/p\u003e\n"]]],[],null,[]]