def METHOD_NAME(self, data, parent_data):
    executor = parent_data.get_one_of_inputs("executor")
    client = get_client_by_user(executor)
    if parent_data.get_one_of_inputs("language"):
        setattr(client, "language", parent_data.get_one_of_inputs("language"))
        translation.activate(parent_data.get_one_of_inputs("language"))
    biz_cc_id = data.get_one_of_inputs("biz_cc_id", parent_data.inputs.biz_cc_id)
    supplier_account = supplier_account_for_business(biz_cc_id)
    cc_set_select_method = data.get_one_of_inputs("cc_set_select_method")
    if cc_set_select_method == SelectMethod.TOPO.value:
        cc_set_select = cc_format_tree_mode_id(data.get_one_of_inputs("cc_set_select_topo"))
    elif cc_set_select_method == SelectMethod.TEXT.value:
        cc_set_select_text = data.get_one_of_inputs("cc_set_select_text")
        cc_list_select_node_inst_id_return = cc_list_select_node_inst_id(
            executor, biz_cc_id, supplier_account, BkObjType.SET, cc_set_select_text
        )
        if not cc_list_select_node_inst_id_return["result"]:
            data.set_outputs("ex_data", cc_list_select_node_inst_id_return["message"])
            return False
        cc_set_select = cc_list_select_node_inst_id_return["data"]
    else:
        data.set_outputs("ex_data", _("请选择填参方式"))
        return False
    cc_set_property = data.get_one_of_inputs("cc_set_property")
    if cc_set_property == "bk_service_status":
        bk_service_status = cc_format_prop_data(
            executor, "set", "bk_service_status", parent_data.get_one_of_inputs("language"), supplier_account
        )
        if not bk_service_status["result"]:
            data.set_outputs("ex_data", bk_service_status["message"])
            return False
        cc_set_prop_value = bk_service_status["data"].get(data.get_one_of_inputs("cc_set_prop_value"))
        if not cc_set_prop_value:
            data.set_outputs("ex_data", _("服务状态校验失败，请重试并修改为正确的服务状态"))
            return False
    elif cc_set_property == "bk_set_env":
        bk_set_env = cc_format_prop_data(
            executor, "set", "bk_set_env", parent_data.get_one_of_inputs("language"), supplier_account
        )
        if not bk_set_env["result"]:
            data.set_outputs("ex_data", bk_set_env["message"])
            return False
        cc_set_prop_value = bk_set_env["data"].get(data.get_one_of_inputs("cc_set_prop_value"))
        if not cc_set_prop_value:
            data.set_outputs("ex_data", _("环境类型校验失败，请重试并修改为正确的环境类型"))
            return False
    elif cc_set_property == "bk_capacity":
        try:
            cc_set_prop_value = int(data.get_one_of_inputs("cc_set_prop_value"))
        except Exception:
            self.logger.error(traceback.format_exc())
            data.set_outputs("ex_data", _("集群容量必须为整数"))
            return False
    else:
        cc_set_prop_value = data.get_one_of_inputs("cc_set_prop_value")
    for set_id in cc_set_select:
        cc_kwargs = {
            "bk_biz_id": biz_cc_id,
            "bk_supplier_account": supplier_account,
            "bk_set_id": set_id,
            "data": {cc_set_property: cc_set_prop_value},
        }
        cc_result = client.cc.update_set(cc_kwargs)
        if not cc_result["result"]:
            message = cc_handle_api_error("cc.update_set", cc_kwargs, cc_result)
            self.logger.error(message)
            data.set_outputs("ex_data", message)
            return False
    return True