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

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

        return $this;
    }
public function setFinding ( $ var ) { GPBUtil :: checkMessage ( $ var , \ Google \ Cloud \ SecurityCenter \ V1 \ Finding :: class ) ; $ this -> finding = $ var ; return $ this ; }
The finding resource to update or create if it does not already exist.
parent, security_marks, and update_time will be ignored.
In the case of creation, the finding id portion of the name must be
alphanumeric and less than or equal to 32 characters and greater than 0
characters in length.

Generated from protobuf field <code>.google.cloud.securitycenter.v1.Finding finding = 1;</code>
@param \Google\Cloud\SecurityCenter\V1\Finding $var
@return $this
The finding resource to update or create if it does not already exist . parent security_marks and update_time will be ignored . In the case of creation the finding id portion of the name must be alphanumeric and less than or equal to 32 characters and greater than 0 characters in length .