databaseRegex = $databaseRegex; } /** * @return string */ public function getDatabaseRegex() { return $this->databaseRegex; } /** * 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. * * @param string $databaseResourceNameRegex */ public function setDatabaseResourceNameRegex($databaseResourceNameRegex) { $this->databaseResourceNameRegex = $databaseResourceNameRegex; } /** * @return string */ public function getDatabaseResourceNameRegex() { return $this->databaseResourceNameRegex; } /** * Regex to test the instance name against. If empty, all instances match. * * @param string $instanceRegex */ public function setInstanceRegex($instanceRegex) { $this->instanceRegex = $instanceRegex; } /** * @return string */ public function getInstanceRegex() { return $this->instanceRegex; } /** * For organizations, if unset, will match all projects. Has no effect for * configurations created within a project. * * @param string $projectIdRegex */ public function setProjectIdRegex($projectIdRegex) { $this->projectIdRegex = $projectIdRegex; } /** * @return string */ public function getProjectIdRegex() { return $this->projectIdRegex; } } // Adding a class alias for backwards compatibility with the previous class name. class_alias(GooglePrivacyDlpV2DatabaseResourceRegex::class, 'Google_Service_DLP_GooglePrivacyDlpV2DatabaseResourceRegex');