Check if a topic exists

topics_exists(topic, project = ps_project_get())

Arguments

topic

character, Topic Required, topic name or instance of a topic object

project

character GCP project id

Value

logical, TRUE if topic exists, FALSE otherwise