SecurityCenter/src/V1/CreateSourceRequest.php
public function setSource($var)
    {
        GPBUtil::checkMessage($var, \Google\Cloud\SecurityCenter\V1\Source::class);
        $this->source = $var;

        return $this;
    }
public function setSource($var)
    {
        GPBUtil::checkMessage($var, \Google\Cloud\SecurityCenter\V1\Source::class);
        $this->source = $var;

        return $this;
    }
public function setSource ( $ var ) { GPBUtil :: checkMessage ( $ var , \ Google \ Cloud \ SecurityCenter \ V1 \ Source :: class ) ; $ this -> source = $ var ; return $ this ; }
The Source being created, only the display_name and description will be
used. All other fields will be ignored.

Generated from protobuf field <code>.google.cloud.securitycenter.v1.Source source = 2;</code>
@param \Google\Cloud\SecurityCenter\V1\Source $var
@return $this
The Source being created only the display_name and description will be used . All other fields will be ignored .