Set properties on Resource