@Override
    public boolean delete(final RegisteredService registeredService) {
        return FunctionUtils.doUnchecked(() -> {
            val updateTime = firestore.collection(collectionName)
                .document(String.valueOf(registeredService.getId())).delete().get().getUpdateTime();
            LOGGER.debug("Deleted ticket [{}] from [{}] @ [{}]", registeredService.getId(), collectionName, updateTime);
            return true;
        });
    }
This is {@link GoogleCloudFirestoreServiceRegistry}.

@author Misagh Moayyed
@since 7.0.0
support/cas-server-support-gcp-firestore-service-registry/src/main/java/org/apereo/cas/services/GoogleCloudFirestoreServiceRegistry.java