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

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

        return $this;
    }
public function setIamPolicy ( $ var ) { GPBUtil :: checkMessage ( $ var , \ Google \ Cloud \ Iam \ V1 \ Policy :: class ) ; $ this -> iam_policy = $ var ; return $ this ; }
Representation of the actual Cloud IAM policy set on a cloud resource. For
each resource, there must be at most one Cloud IAM policy set on it.

Generated from protobuf field <code>.google.iam.v1.Policy iam_policy = 4;</code>
@param \Google\Cloud\Iam\V1\Policy $var
@return $this
Representation of the actual Cloud IAM policy set on a cloud resource . For each resource there must be at most one Cloud IAM policy set on it .