

def ex_modify_tag_key(self, tag_key, name=None, description=None, value_required=None, display_on_report=None):
    '\n        Modify a specific tag key\n\n        :param tag_key: The tag key you want to modify (required)\n        :type  tag_key: :class:`DimensionDataTagKey` or ``str``\n\n        :param name: Set to modifiy the name of the tag key\n        :type  name: ``str``\n\n        :param description: Set to modify the description of the tag key\n        :type  description: ``str``\n\n        :param value_required: Set to modify if a value is required for\n                               the tag key\n        :type  value_required: ``bool``\n\n        :param display_on_report: Set to modify if this tag key should display\n                                  on the usage reports\n        :type  display_on_report: ``bool``\n\n        :rtype: ``bool``\n        '
    tag_key_id = self._tag_key_to_tag_key_id(tag_key)
    modify_tag_key = ET.Element('editTagKey', {
        'xmlns': TYPES_URN,
        'id': tag_key_id,
    })
    if (name is not None):
        ET.SubElement(modify_tag_key, 'name').text = name
    if (description is not None):
        ET.SubElement(modify_tag_key, 'description').text = description
    if (name is not None):
        ET.SubElement(modify_tag_key, 'valueRequired').text = str(value_required).lower()
    if (display_on_report is not None):
        ET.SubElement(modify_tag_key, 'displayOnReport').text = str(display_on_report).lower()
    response = self.connection.request_with_orgId_api_2('tag/editTagKey', method='POST', data=ET.tostring(modify_tag_key)).object
    response_code = findtext(response, 'responseCode', TYPES_URN)
    return (response_code in ['IN_PROGRESS', 'OK'])

dataset/ETHPy150Open apache/libcloud/libcloud/compute/drivers/dimensiondata.py DimensionDataNodeDriver.ex_modify_tag_key/VarMisuse@112/444 `value_required`->`name`