public function __construct(UpdateSubscriptionAttributes $attributes = NULL) { parent::__construct('put', 'topics/' . $attributes->getTopicName() . '/subscriptions/' . $attributes->getSubscriptionName() . '?metaoverride=true'); if ($attributes == NULL) { $attributes = new UpdateSubscriptionAttributes(); } $this->attributes = $attributes; }