public subscribe ( string $name, string $topicName, array $options = [] ) : |
||
$name | string | A subscription name |
$topicName | string | The topic to which the new subscription will be subscribed. |
$options | array | [optional] Please see {@see \Google\Cloud\PubSub\Subscription::create()} for configuration details. |
return |