public function __construct(AnalyticsClient $client, string $viewId) { $this->client = $client; $this->viewId = $viewId; }