human
I wrote the below code

    def expiring_elements(properties, upload_element, types):
        xml_element = XML.SubElement(upload_element, 'com.google.jenkins.plugins.storage.ExpiringBucketLifecycleManager')
        mapping = [('bucket-name', 'bucketNameWithVars', None), ('', 'sharedPublicly', False), ('', 'forFailedJobs', False), ('days-to-retain', 'bucketObjectTTL', None)]
        helpers.convert_mapping_to_xml(xml_element, properties, mapping, fail_required=True)
        if (types.count('expiring-elements') > 1):
            XML.SubElement(xml_element, 'module', {'reference': '../../com.google.jenkins.plugins.storage.ExpiringBucketLifecycleManager/module'})
        else:
            XML.SubElement(xml_element, 'module')
    def build_log(properties, upload_element, types):
        xml_element = XML.SubElement(upload_element, 'com.google.jenkins.plugins.storage.StdoutUpload')
        mapping = [('storage-location', 'bucketNameWithVars', None), ('share-publicly', 'sharedPublicly', False), ('upload-for-failed-jobs', 'forFailedJobs', False), ('show-inline', 'showInline', True), ('strip-prefix', 'pathPrefix', ''), ('log-name', 'logName', None)]
        helpers.convert_mapping_to_xml(xml_element, properties, mapping, fail_required=True)
        if (types.count('build-log') > 1):
            XML.SubElement(xml_element, 'module', {'reference': '../../com.google.jenkins.plugins.storage.StdoutUpload/module'})
        else:
            XML.SubElement(xml_element, 'module')
    def classic(properties, upload_element, types):
        xml_element = XML.SubElement(upload_element, 'com.google.jenkins.plugins.storage.ClassicUpload')
        mapping = [('storage-location', 'bucketNameWithVars', None), ('share-publicly', 'sharedPublicly', False), ('upload-for-failed-jobs', 'forFailedJobs', False), ('show-inline', 'showInline', False), ('strip-prefix', 'pathPrefix', ''), ('file-pattern', 'sourceGlobWithVars', None)]
        helpers.convert_mapping_to_xml(xml_element, properties, mapping, fail_required=True)
        if (types.count('classic') > 1):
 ...

What's a good function header?
 Here's a good function header?
assistant
#Here's a good function header.

def google_cloud_storage(registry, xml_parent, data):