src/Iam/Admin/V1/UpdateRoleRequest.php
public function setRole($var)
    {
        GPBUtil::checkMessage($var, \Google\Iam\Admin\V1\Role::class);
        $this->role = $var;

        return $this;
    }
public function setRole($var)
    {
        GPBUtil::checkMessage($var, \Google\Iam\Admin\V1\Role::class);
        $this->role = $var;

        return $this;
    }
The updated role.

Generated from protobuf field <code>.google.iam.admin.v1.Role role = 2;</code>
@param \Google\Iam\Admin\V1\Role $var
@return $this