pingConfig = $pingConfig; } /** * @return PingConfig */ public function getPingConfig() { return $this->pingConfig; } /** * @param int */ public function setPort($port) { $this->port = $port; } /** * @return int */ public function getPort() { return $this->port; } } // Adding a class alias for backwards compatibility with the previous class name. class_alias(TcpCheck::class, 'Google_Service_Monitoring_TcpCheck');