Cloud Data Loss Prevention (DLP) V2 API - Class Google::Cloud::Dlp::V2::DatabaseResourceRegex (v1.2.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

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

#database_regex=

defdatabase_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

defdatabase_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=

defdatabase_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

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

#instance_regex=

definstance_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

defproject_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=

defproject_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.

Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2025年10月30日 UTC.