Dlp/src/V2/CloudStorageOptions/FileSet.php
public function setRegexFileSet($var)
    {
        GPBUtil::checkMessage($var, \Google\Cloud\Dlp\V2\CloudStorageRegexFileSet::class);
        $this->regex_file_set = $var;

        return $this;
    }
public function setRegexFileSet($var)
    {
        GPBUtil::checkMessage($var, \Google\Cloud\Dlp\V2\CloudStorageRegexFileSet::class);
        $this->regex_file_set = $var;

        return $this;
    }
public function setRegexFileSet ( $ var ) { GPBUtil :: checkMessage ( $ var , \ Google \ Cloud \ Dlp \ V2 \ CloudStorageRegexFileSet :: class ) ; $ this -> regex_file_set = $ var ; return $ this ; }
The regex-filtered set of files to scan. Exactly one of `url` or
`regex_file_set` must be set.

Generated from protobuf field <code>.google.privacy.dlp.v2.CloudStorageRegexFileSet regex_file_set = 2;</code>
@param \Google\Cloud\Dlp\V2\CloudStorageRegexFileSet $var
@return $this
The regex - filtered set of files to scan . Exactly one of url or regex_file_set must be set .