extensions = $extensions; } /** * @return ExtensionChainExtension[] */ public function getExtensions() { return $this->extensions; } /** * Required. Conditions under which this chain is invoked for a request. * * @param ExtensionChainMatchCondition $matchCondition */ public function setMatchCondition(ExtensionChainMatchCondition $matchCondition) { $this->matchCondition = $matchCondition; } /** * @return ExtensionChainMatchCondition */ public function getMatchCondition() { return $this->matchCondition; } /** * Required. The name for this extension chain. The name is logged as part of * the HTTP request logs. The name must conform with RFC-1034, is restricted * to lower-cased letters, numbers and hyphens, and can have a maximum length * of 63 characters. Additionally, the first character must be a letter and * the last a letter or a number. * * @param string $name */ public function setName($name) { $this->name = $name; } /** * @return string */ public function getName() { return $this->name; } } // Adding a class alias for backwards compatibility with the previous class name. class_alias(ExtensionChain::class, 'Google_Service_NetworkServices_ExtensionChain');