Dlp/src/V2/StoredInfoType.php
public function setPendingVersions($var)
    {
        $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Cloud\Dlp\V2\StoredInfoTypeVersion::class);
        $this->pending_versions = $arr;

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

        return $this;
    }
public function setPendingVersions ( $ var ) { $ arr = GPBUtil :: checkRepeatedField ( $ var , \ Google \ Protobuf \ Internal \ GPBType :: MESSAGE , \ Google \ Cloud \ Dlp \ V2 \ StoredInfoTypeVersion :: class ) ; $ this -> pending_versions = $ arr ; return $ this ; }
Pending versions of the stored info type. Empty if no versions are
pending.

Generated from protobuf field <code>repeated .google.privacy.dlp.v2.StoredInfoTypeVersion pending_versions = 3;</code>
@param \Google\Cloud\Dlp\V2\StoredInfoTypeVersion[]|\Google\Protobuf\Internal\RepeatedField $var
@return $this
Pending versions of the stored info type . Empty if no versions are pending .