API Playground - set_package_contents
set_package_contents
Use this function to make a resource into a pakcage and set package type and contents, or to make a package into a regular resource (by setting package_type=none)
(click for full documentation)