SecurityCenter/src/V1/Asset.php
public function setIamPolicy($var)
    {
        GPBUtil::checkMessage($var, \Google\Cloud\SecurityCenter\V1\Asset_IamPolicy::class);
        $this->iam_policy = $var;

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

        return $this;
    }
public function setIamPolicy ( $ var ) { GPBUtil :: checkMessage ( $ var , \ Google \ Cloud \ SecurityCenter \ V1 \ Asset_IamPolicy :: class ) ; $ this -> iam_policy = $ var ; return $ this ; }
IAM Policy information associated with the GCP resource described by the
Cloud SCC asset. This information is managed and defined by the GCP
resource and cannot be modified by the user.

Generated from protobuf field <code>.google.cloud.securitycenter.v1.Asset.IamPolicy iam_policy = 11;</code>
@param \Google\Cloud\SecurityCenter\V1\Asset\IamPolicy $var
@return $this
IAM Policy information associated with the GCP resource described by the Cloud SCC asset . This information is managed and defined by the GCP resource and cannot be modified by the user .