document = $document; } /** * @return Document */ public function getDocument() { return $this->document; } } // Adding a class alias for backwards compatibility with the previous class name. class_alias(ClassifyTextRequest::class, 'Google_Service_CloudNaturalLanguage_ClassifyTextRequest');