endOfSegmentLocation = $endOfSegmentLocation; } /** * @return EndOfSegmentLocation */ public function getEndOfSegmentLocation() { return $this->endOfSegmentLocation; } /** * @param Location */ public function setLocation(Location $location) { $this->location = $location; } /** * @return Location */ public function getLocation() { return $this->location; } /** * @param string */ public function setText($text) { $this->text = $text; } /** * @return string */ public function getText() { return $this->text; } } // Adding a class alias for backwards compatibility with the previous class name. class_alias(InsertTextRequest::class, 'Google_Service_Docs_InsertTextRequest');