PHP Google\Cloud\PubSub Subscription::reload - 1 examples found. These are the top rated real world PHP examples of Google\Cloud\PubSub\Subscription::reload extracted from open source projects. You can rate examples to help us improve the quality of examples.
To use the previously cached result (if it exists), use
{@see \Subscription::info()}.
Example:
$subscription->reload();
$info = $subscription->info();
echo $info['name']; // projects/my-awesome-project/subscriptions/my-new-subscription
See also:
https://cloud.google.com/pubsub/docs/reference/rest/v1/projects.subscriptions/get Get Subscription