Dlp/src/V2/CloudStorageOptions.php
public function setFileTypes($var)
    {
        $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::ENUM, \Google\Cloud\Dlp\V2\FileType::class);
        $this->file_types = $arr;

        return $this;
    }
public function setFileTypes($var)
    {
        $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::ENUM, \Google\Cloud\Dlp\V2\FileType::class);
        $this->file_types = $arr;

        return $this;
    }
public function setFileTypes ( $ var ) { $ arr = GPBUtil :: checkRepeatedField ( $ var , \ Google \ Protobuf \ Internal \ GPBType :: ENUM , \ Google \ Cloud \ Dlp \ V2 \ FileType :: class ) ; $ this -> file_types = $ arr ; return $ this ; }
List of file type groups to include in the scan.
If empty, all files are scanned and available data format processors
are applied. In addition, the binary content of the selected files
is always scanned as well.

Generated from protobuf field <code>repeated .google.privacy.dlp.v2.FileType file_types = 5;</code>
@param int[]|\Google\Protobuf\Internal\RepeatedField $var
@return $this
List of file type groups to include in the scan . If empty all files are scanned and available data format processors are applied . In addition the binary content of the selected files is always scanned as well .