Currently this resource returns only the topic name, if the topic exists.
It is mostly useful therefore for checking if a topic exists.
Since this method will throw an exception if the topic is not found, you
may find that Topic::exists() is a better fit for a true/false check.
This method will use the previously cached result, if available. To force
a refresh from the API, use {@see \Google\Cloud\Pubsub\Topic::reload()}.
Example:
$info = $topic->info();
echo $info['name']; // projects/my-awesome-project/topics/my-new-topic