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\u003eThe \u003ccode\u003ePartitionId\u003c/code\u003e class, part of the Google Cloud Data Loss Prevention v2 API, identifies a grouping of entities by project and namespace.\u003c/p\u003e\n"],["\u003cp\u003eThis 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.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003ePartitionId\u003c/code\u003e class contains properties for \u003ccode\u003eNamespaceId\u003c/code\u003e and \u003ccode\u003eProjectId\u003c/code\u003e, both of which are strings that can be set and retrieved, to manage the entities contained.\u003c/p\u003e\n"],["\u003cp\u003eThe document provides version history, with version 4.16.0 being the latest and version 2.15.0 being the earliest listed.\u003c/p\u003e\n"],["\u003cp\u003eThe class has two constructors: a default \u003ccode\u003ePartitionId()\u003c/code\u003e constructor, and another that takes \u003ccode\u003ePartitionId\u003c/code\u003e as a parameter to perform deep cloning of the object, \u003ccode\u003ePartitionId(PartitionId other)\u003c/code\u003e.\u003c/p\u003e\n"]]],[],null,[]]