onClick = $onClick; } /** * @return GoogleChatV1WidgetMarkupOnClick */ public function getOnClick() { return $this->onClick; } /** * @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(GoogleChatV1WidgetMarkupTextButton::class, 'Google_Service_CloudSearch_GoogleChatV1WidgetMarkupTextButton');