PubSub/src/Topic.php
public function reload(array $options = [])
    {
        return $this->info = $this->connection->getTopic($options + [
            'topic' => $this->name
        ]);
    }
public function reload(array $options = [])
    {
        return $this->info = $this->connection->getTopic($options + [
            'topic' => $this->name
        ]);
    }
public function reload ( array $ options = [ ] ) { return $ this -> info = $ this -> connection -> getTopic ( $ options + [ 'topic' => $ this -> name ] ) ; }
Get topic information from the API.

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 retrieve a new result from the API. To use a previously
cached result, if one exists, use {@see Google\Cloud\Pubsub\Topic::info()}.

Example:
```
$topic->reload();
$info = $topic->info();
echo $info['name']; // projects/my-awesome-project/topics/my-new-topic
```

@see https://cloud.google.com/pubsub/docs/reference/rest/v1/projects.topics/get Get Topic

@codingStandardsIgnoreStart
@param array $options [optional] Configuration Options
@return array [A representation of a Topic](https://cloud.google.com/pubsub/docs/reference/rest/v1/projects.topics)
@codingStandardsIgnoreEnd
Get topic information from the API .