Dlp/src/V2/InspectConfig.php
public function setContentOptions($var)
    {
        $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::ENUM, \Google\Cloud\Dlp\V2\ContentOption::class);
        $this->content_options = $arr;

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

        return $this;
    }
public function setContentOptions ( $ var ) { $ arr = GPBUtil :: checkRepeatedField ( $ var , \ Google \ Protobuf \ Internal \ GPBType :: ENUM , \ Google \ Cloud \ Dlp \ V2 \ ContentOption :: class ) ; $ this -> content_options = $ arr ; return $ this ; }
List of options defining data content to scan.
If empty, text, images, and other content will be included.

Generated from protobuf field <code>repeated .google.privacy.dlp.v2.ContentOption content_options = 8;</code>
@param int[]|\Google\Protobuf\Internal\RepeatedField $var
@return $this
List of options defining data content to scan . If empty text images and other content will be included .