def _GetPkginfoPlist(self):
    d = {
        'installer_type': 'apple_update_metadata',
        'name': self.product_id,
    }
    if self.unattended:
      d['unattended_install'] = self.unattended
    if self.unattended_uninstall:
      d['unattended_uninstall'] = self.unattended_uninstall
    if self.force_install_after_date:
      d['force_install_after_date'] = self.force_install_after_date
    d['version'] = '1.0'  # TODO(user): find out if this is needed.

    plist = plist_lib.ApplePlist()
    plist.SetContents(d)
    return plist
Returns a pkginfo plist for an Apple Update Product.
dataset/ETHPy150Open google/simian/src/simian/mac/models/base.py/AppleSUSProduct._GetPkginfoPlist