PubSub/src/Subscription.php
public function modifyPushConfig(array $pushConfig, array $options = [])
    {
        $this->connection->modifyPushConfig($options + [
            'subscription' => $this->name,
            'pushConfig' => $pushConfig
        ]);
    }
public function modifyPushConfig(array $pushConfig, array $options = [])
    {
        $this->connection->modifyPushConfig($options + [
            'subscription' => $this->name,
            'pushConfig' => $pushConfig
        ]);
    }
public function modifyPushConfig ( array $ pushConfig , array $ options = [ ] ) { $ this -> connection -> modifyPushConfig ( $ options + [ 'subscription' => $ this -> name , 'pushConfig' => $ pushConfig ] ) ; }
Set the push config for the subscription

Example:
```
$subscription->modifyPushConfig([
'pushEndpoint' => 'https://www.example.com/foo/bar'
]);
```

@codingStandardsIgnoreStart
@see https://cloud.google.com/pubsub/docs/reference/rest/v1/projects.subscriptions/modifyPushConfig Modify Push Config
@codingStandardsIgnoreEnd

@param array $pushConfig {
Push delivery configuration. See
[PushConfig](https://cloud.google.com/pubsub/docs/reference/rest/v1/projects.subscriptions#PushConfig)
for more details.

@type string $pushEndpoint A URL locating the endpoint to which
messages should be pushed. For example, a Webhook endpoint
might use "https://example.com/push".
@type array $attributes Endpoint configuration attributes.
}
@param array $options [optional] Configuration Options
@return void
Set the push config for the subscription