Dlp/src/V2/ListDeidentifyTemplatesResponse.php
public function setDeidentifyTemplates($var)
    {
        $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Cloud\Dlp\V2\DeidentifyTemplate::class);
        $this->deidentify_templates = $arr;

        return $this;
    }
public function setDeidentifyTemplates($var)
    {
        $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Cloud\Dlp\V2\DeidentifyTemplate::class);
        $this->deidentify_templates = $arr;

        return $this;
    }
public function setDeidentifyTemplates ( $ var ) { $ arr = GPBUtil :: checkRepeatedField ( $ var , \ Google \ Protobuf \ Internal \ GPBType :: MESSAGE , \ Google \ Cloud \ Dlp \ V2 \ DeidentifyTemplate :: class ) ; $ this -> deidentify_templates = $ arr ; return $ this ; }
List of deidentify templates, up to page_size in
ListDeidentifyTemplatesRequest.

Generated from protobuf field <code>repeated .google.privacy.dlp.v2.DeidentifyTemplate deidentify_templates = 1;</code>
@param \Google\Cloud\Dlp\V2\DeidentifyTemplate[]|\Google\Protobuf\Internal\RepeatedField $var
@return $this
List of deidentify templates up to page_size in ListDeidentifyTemplatesRequest .