public sealed class CreateDiscoveryConfigRequest : IMessage<CreateDiscoveryConfigRequest>, IEquatable<CreateDiscoveryConfigRequest>, IDeepCloneable<CreateDiscoveryConfigRequest>, IBufferMessage, IMessage
Reference documentation and code samples for the Google Cloud Data Loss Prevention v2 API class CreateDiscoveryConfigRequest.
The config ID can contain uppercase and lowercase letters,
numbers, and hyphens; that is, it must match the regular
expression: [a-zA-Z\d-_]+. The maximum length is 100
characters. Can be empty to allow the system to generate one.
The following example parent string specifies a parent project with the
identifier example-project, and specifies the europe-west3 location
for processing data:
[[["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 webpage provides documentation for the \u003ccode\u003eCreateDiscoveryConfigRequest\u003c/code\u003e class within the Google Cloud Data Loss Prevention (DLP) v2 API, with versions ranging from 2.15.0 to 4.16.0.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eCreateDiscoveryConfigRequest\u003c/code\u003e class is used to create a request message for the \u003ccode\u003eCreateDiscoveryConfig\u003c/code\u003e operation, inheriting from \u003ccode\u003eobject\u003c/code\u003e and implementing interfaces such as \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\u003eIt includes properties such as \u003ccode\u003eConfigId\u003c/code\u003e, \u003ccode\u003eDiscoveryConfig\u003c/code\u003e, \u003ccode\u003eParent\u003c/code\u003e, and \u003ccode\u003eParentAsLocationName\u003c/code\u003e to define the configuration details and scope of the discovery request.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eParent\u003c/code\u003e property's format changes depending on the scope, whether it's a project or an organization, and includes the location ID for data processing, for example, \u003ccode\u003eparent=projects/example-project/locations/europe-west3\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe latest version available for this class is 4.16.0, as well as a comprehensive list of previous versions going back to 2.15.0, offering various versions for the user to implement in their usage.\u003c/p\u003e\n"]]],[],null,[]]