Cloud Data Loss Prevention (DLP) V2 API - Class Google::Cloud::Dlp::V2::DatabaseResourceRegex (v1.3.0)

Reference documentation and code samples for the Cloud Data Loss Prevention (DLP) V2 API class Google::Cloud::Dlp::V2::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.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#database_regex

def database_regex() -> ::String
Returns
  • (::String) — Regex to test the database name against. If empty, all databases match.

#database_regex=

def database_regex=(value) -> ::String
Parameter
  • value (::String) — Regex to test the database name against. If empty, all databases match.
Returns
  • (::String) — Regex to test the database name against. If empty, all databases match.

#database_resource_name_regex

def database_resource_name_regex() -> ::String
Returns
  • (::String) — 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.

#database_resource_name_regex=

def database_resource_name_regex=(value) -> ::String
Parameter
  • value (::String) — 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.
Returns
  • (::String) — 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.

#instance_regex

def instance_regex() -> ::String
Returns
  • (::String) — Regex to test the instance name against. If empty, all instances match.

#instance_regex=

def instance_regex=(value) -> ::String
Parameter
  • value (::String) — Regex to test the instance name against. If empty, all instances match.
Returns
  • (::String) — Regex to test the instance name against. If empty, all instances match.

#project_id_regex

def project_id_regex() -> ::String
Returns
  • (::String) — For organizations, if unset, will match all projects. Has no effect for configurations created within a project.

#project_id_regex=

def project_id_regex=(value) -> ::String
Parameter
  • value (::String) — For organizations, if unset, will match all projects. Has no effect for configurations created within a project.
Returns
  • (::String) — For organizations, if unset, will match all projects. Has no effect for configurations created within a project.