alpn = $alpn; } /** * @return string[] */ public function getAlpn() { return $this->alpn; } /** * Optional. SNI (server name indicator) to match against. SNI will be matched * against all wildcard domains, i.e. `www.example.com` will be first matched * against `www.example.com`, then `*.example.com`, then `*.com.` Partial * wildcards are not supported, and values like *w.example.com are invalid. At * least one of sni_host and alpn is required. Up to 100 sni hosts across all * matches can be set. * * @param string[] $sniHost */ public function setSniHost($sniHost) { $this->sniHost = $sniHost; } /** * @return string[] */ public function getSniHost() { return $this->sniHost; } } // Adding a class alias for backwards compatibility with the previous class name. class_alias(TlsRouteRouteMatch::class, 'Google_Service_NetworkServices_TlsRouteRouteMatch');