labels = $labels; } /** * @return string[] */ public function getLabels() { return $this->labels; } /** * @param string */ public function setSubscription($subscription) { $this->subscription = $subscription; } /** * @return string */ public function getSubscription() { return $this->subscription; } } // Adding a class alias for backwards compatibility with the previous class name. class_alias(CreateSnapshotRequest::class, 'Google_Service_Pubsub_CreateSnapshotRequest');