Dlp/src/V2/CreateInspectTemplateRequest.php
public function setInspectTemplate($var)
    {
        GPBUtil::checkMessage($var, \Google\Cloud\Dlp\V2\InspectTemplate::class);
        $this->inspect_template = $var;

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

        return $this;
    }
public function setInspectTemplate ( $ var ) { GPBUtil :: checkMessage ( $ var , \ Google \ Cloud \ Dlp \ V2 \ InspectTemplate :: class ) ; $ this -> inspect_template = $ var ; return $ this ; }
The InspectTemplate to create.

Generated from protobuf field <code>.google.privacy.dlp.v2.InspectTemplate inspect_template = 2;</code>
@param \Google\Cloud\Dlp\V2\InspectTemplate $var
@return $this
The InspectTemplate to create .