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 latest version of the Google Cloud Data Loss Prevention v2 API is 4.16.0, with multiple previous versions available, going back to 2.15.0.\u003c/p\u003e\n"],["\u003cp\u003eThe PartitionId class is part of the Google.Cloud.Dlp.V2 namespace and is used to identify a grouping of entities within the Datastore.\u003c/p\u003e\n"],["\u003cp\u003ePartitionId contains dimensions such as the project ID and namespace ID, and its namespace ID can be left empty.\u003c/p\u003e\n"],["\u003cp\u003eThe PartitionId class implements several interfaces including IMessage, IEquatable, IDeepCloneable, and IBufferMessage, and inherits from object.\u003c/p\u003e\n"],["\u003cp\u003eIt has two constructors: a default constructor and a copy constructor that accepts another PartitionId instance and contains two properties which are NamespaceId and ProjectId.\u003c/p\u003e\n"]]],[],null,[]]