public sealed class DatabaseResourceRegex : IMessage<DatabaseResourceRegex>, IEquatable<DatabaseResourceRegex>, IDeepCloneable<DatabaseResourceRegex>, IBufferMessage, IMessage
Reference documentation and code samples for the Google Cloud Data Loss Prevention v2 API class DatabaseResourceRegex.
A pattern to match against one or more database resources. At least one
pattern must be specified. Regular expressions use RE2
syntax; a guide can be found
under the google/re2 repository on GitHub.
public string DatabaseResourceNameRegex { get; set; }
Regex to test the database resource's name against. An example of a
database resource name is a table's name. Other database resource names
like view names could be included in the future. If empty, all database
resources match.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-04-09 UTC."],[[["This document provides reference documentation for the `DatabaseResourceRegex` class within the Google Cloud Data Loss Prevention v2 API, specifically for version 4.14.0 and other versions ranging from 2.15.0 to 4.16.0."],["The `DatabaseResourceRegex` class is designed to match against database resources using regular expressions, and it is a sealed class that implements several interfaces, including `IMessage`, `IEquatable`, and `IDeepCloneable`."],["This class includes properties like `DatabaseRegex`, `DatabaseResourceNameRegex`, `InstanceRegex`, and `ProjectIdRegex`, allowing for matching against database names, database resource names, instance names, and project IDs respectively, utilizing RE2 syntax for regular expressions."],["The document details the constructors for `DatabaseResourceRegex`, including a default constructor and a copy constructor, as well as providing information on inherited members from the base `object` class."],["The document also covers assembly information for `DatabaseResourceRegex` indicating it is from `Google.Cloud.Dlp.V2.dll`, and shows the availability of various package versions for the class."]]],[]]