SecurityCenter/src/V1/ListAssetsResponse.php
public function setListAssetsResults($var)
    {
        $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Cloud\SecurityCenter\V1\ListAssetsResponse\ListAssetsResult::class);
        $this->list_assets_results = $arr;

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

        return $this;
    }
public function setListAssetsResults ( $ var ) { $ arr = GPBUtil :: checkRepeatedField ( $ var , \ Google \ Protobuf \ Internal \ GPBType :: MESSAGE , \ Google \ Cloud \ SecurityCenter \ V1 \ ListAssetsResponse \ ListAssetsResult :: class ) ; $ this -> list_assets_results = $ arr ; return $ this ; }
Assets matching the list request.

Generated from protobuf field <code>repeated .google.cloud.securitycenter.v1.ListAssetsResponse.ListAssetsResult list_assets_results = 1;</code>
@param \Google\Cloud\SecurityCenter\V1\ListAssetsResponse\ListAssetsResult[]|\Google\Protobuf\Internal\RepeatedField $var
@return $this
Assets matching the list request .