Version 7 was just released! The docs will be moved here soon. Visit the external v7 docs site

Resource::setExtendedProp

Modifies a single property in an Resource Object’s extendedProps hash.

resource.setExtendedProp( name, value )