docs: public ProjectTopicName deleteTopic(String topicId) throws Exception {
      // [START pubsub_delete_topic]
      try (TopicAdminClient topicAdminClient = TopicAdminClient.create()) {
        ProjectTopicName topicName = ProjectTopicName.of(projectId, topicId);
        topicAdminClient.deleteTopic(topicName);
        return topicName;
      }
      // [END pubsub_delete_topic]
    }