def update(hashid, name, index, **opts): api_client = ManagementAPIClient(**opts) return api_client.patch(_get_index_url(hashid, name), index)
def update(hashid, name, item_id, item, temp=False, **opts): api_client = ManagementAPIClient(**opts) return api_client.patch(_get_item_url(hashid, name, item_id, temp), item)
def update(hashid, search_engine, **opts): api_client = ManagementAPIClient(**opts) return api_client.patch(_get_searchengine_url(hashid), search_engine)
def bulk_update(hashid, name, items, temp=False, **opts): api_client = ManagementAPIClient(**opts) return api_client.patch(_get_bulk_url(hashid, name, temp), items)