Dlp/src/V2/CustomInfoType/DetectionRule/HotwordRule.php
public function setHotwordRegex($var)
    {
        GPBUtil::checkMessage($var, \Google\Cloud\Dlp\V2\CustomInfoType_Regex::class);
        $this->hotword_regex = $var;

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

        return $this;
    }
public function setHotwordRegex ( $ var ) { GPBUtil :: checkMessage ( $ var , \ Google \ Cloud \ Dlp \ V2 \ CustomInfoType_Regex :: class ) ; $ this -> hotword_regex = $ var ; return $ this ; }
Regular expression pattern defining what qualifies as a hotword.

Generated from protobuf field <code>.google.privacy.dlp.v2.CustomInfoType.Regex hotword_regex = 1;</code>
@param \Google\Cloud\Dlp\V2\CustomInfoType\Regex $var
@return $this
Regular expression pattern defining what qualifies as a hotword .