May 9th — v7.0.0-rc.3
Version 7 will be released soon. Read the v7 docs

Resource::setProp

Modifies any of the properties of a Resource Object.

resource.setProp( name, value )

To modify any of the extendedProps, use setExtendedProp.