code: public function unserialize($serialized)
      {
          list($this->qps, $this->config, $this->lastRequestTime, $this->logger) = unserialize($serialized);
          $this->client = new Client($this->config);
      }
docs: {@inheritdoc}