Class DatabaseResourceRegex (3.18.0)

DatabaseResourceRegex(mapping=None, *, ignore_unknown_fields=False, **kwargs)

A pattern to match against one or more database resources. At least one pattern must be specified. Regular expressions use RE2 syntax <https://github.com/google/re2/wiki/Syntax>__; a guide can be found under the google/re2 repository on GitHub.

Attributes

Name Description
project_id_regex str
For organizations, if unset, will match all projects. Has no effect for configurations created within a project.
instance_regex str
Regex to test the instance name against. If empty, all instances match.
database_regex str
Regex to test the database name against. If empty, all databases match.
database_resource_name_regex str
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.