SecurityCenter/src/V1/Finding.php
public function setSecurityMarks($var)
    {
        GPBUtil::checkMessage($var, \Google\Cloud\SecurityCenter\V1\SecurityMarks::class);
        $this->security_marks = $var;

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

        return $this;
    }
public function setSecurityMarks ( $ var ) { GPBUtil :: checkMessage ( $ var , \ Google \ Cloud \ SecurityCenter \ V1 \ SecurityMarks :: class ) ; $ this -> security_marks = $ var ; return $ this ; }
Output only. User specified security marks. These marks are entirely
managed by the user and come from the SecurityMarks resource that belongs
to the finding.

Generated from protobuf field <code>.google.cloud.securitycenter.v1.SecurityMarks security_marks = 8;</code>
@param \Google\Cloud\SecurityCenter\V1\SecurityMarks $var
@return $this
Output only . User specified security marks . These marks are entirely managed by the user and come from the SecurityMarks resource that belongs to the finding .