SecurityCenter/src/V1/ListSourcesResponse.php
public function setSources($var)
    {
        $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Cloud\SecurityCenter\V1\Source::class);
        $this->sources = $arr;

        return $this;
    }
public function setSources($var)
    {
        $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Cloud\SecurityCenter\V1\Source::class);
        $this->sources = $arr;

        return $this;
    }
public function setSources ( $ var ) { $ arr = GPBUtil :: checkRepeatedField ( $ var , \ Google \ Protobuf \ Internal \ GPBType :: MESSAGE , \ Google \ Cloud \ SecurityCenter \ V1 \ Source :: class ) ; $ this -> sources = $ arr ; return $ this ; }
Sources belonging to the requested parent.

Generated from protobuf field <code>repeated .google.cloud.securitycenter.v1.Source sources = 1;</code>
@param \Google\Cloud\SecurityCenter\V1\Source[]|\Google\Protobuf\Internal\RepeatedField $var
@return $this
Sources belonging to the requested parent .