Google Cloud Data Loss Prevention v2 API - Class DatabaseResourceRegex (4.14.0)

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.

Inheritance

object > DatabaseResourceRegex

Namespace

Google.Cloud.Dlp.V2

Assembly

Google.Cloud.Dlp.V2.dll

Constructors

DatabaseResourceRegex()

public DatabaseResourceRegex()

DatabaseResourceRegex(DatabaseResourceRegex)

public DatabaseResourceRegex(DatabaseResourceRegex other)
Parameter
Name Description
other DatabaseResourceRegex

Properties

DatabaseRegex

public string DatabaseRegex { get; set; }

Regex to test the database name against. If empty, all databases match.

Property Value
Type Description
string

DatabaseResourceNameRegex

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.

Property Value
Type Description
string

InstanceRegex

public string InstanceRegex { get; set; }

Regex to test the instance name against. If empty, all instances match.

Property Value
Type Description
string

ProjectIdRegex

public string ProjectIdRegex { get; set; }

For organizations, if unset, will match all projects. Has no effect for configurations created within a project.

Property Value
Type Description
string