PubSub/src/V1/Subscription.php
public function setPushConfig($var)
    {
        GPBUtil::checkMessage($var, \Google\Cloud\PubSub\V1\PushConfig::class);
        $this->push_config = $var;

        return $this;
    }
public function setPushConfig($var)
    {
        GPBUtil::checkMessage($var, \Google\Cloud\PubSub\V1\PushConfig::class);
        $this->push_config = $var;

        return $this;
    }
public function setPushConfig ( $ var ) { GPBUtil :: checkMessage ( $ var , \ Google \ Cloud \ PubSub \ V1 \ PushConfig :: class ) ; $ this -> push_config = $ var ; return $ this ; }
If push delivery is used with this subscription, this field is
used to configure it. An empty `pushConfig` signifies that the subscriber
will pull and ack messages using API methods.

Generated from protobuf field <code>.google.pubsub.v1.PushConfig push_config = 4;</code>
@param \Google\Cloud\PubSub\V1\PushConfig $var
@return $this
If push delivery is used with this subscription this field is used to configure it . An empty pushConfig signifies that the subscriber will pull and ack messages using API methods .