Reference documentation and code samples for the Google Cloud Data Loss Prevention v2 API class DiscoveryCloudSqlFilter.
Determines what tables will have profiles generated within an organization
or project. Includes the ability to filter by regular expression patterns
on project ID, location, instance, database, and database resource name.
Catch-all. This should always be the last target in the list because
anything above it will apply first. Should only appear once in a
configuration. If none is specified, a default one will be added
automatically.
[[["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 available for \u003ccode\u003eDiscoveryCloudSqlFilter\u003c/code\u003e is 4.16.0, with a range of versions from 2.15.0 up to the latest version being accessible.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eDiscoveryCloudSqlFilter\u003c/code\u003e is a class within the Google Cloud Data Loss Prevention v2 API, used to define which Cloud SQL tables within an organization or project will have profiles generated, and includes options to filter by regular expression patterns.\u003c/p\u003e\n"],["\u003cp\u003eThe class 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, which allows for operations like message handling, comparison, cloning, and efficient buffer management.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eDiscoveryCloudSqlFilter\u003c/code\u003e allows users to target specific database resources through the \u003ccode\u003eCollection\u003c/code\u003e property, apply a singular database resource target via \u003ccode\u003eDatabaseResourceReference\u003c/code\u003e, or use \u003ccode\u003eOthers\u003c/code\u003e as a catch-all for resources not otherwise specified.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eFilterCase\u003c/code\u003e property is used to determine which type of filtering is being used, using the \u003ccode\u003eFilterOneofCase\u003c/code\u003e enum.\u003c/p\u003e\n"]]],[],null,[]]