allow = $allow; } /** * @return GoogleCloudRecaptchaenterpriseV1FirewallActionAllowAction */ public function getAllow() { return $this->allow; } /** * @param GoogleCloudRecaptchaenterpriseV1FirewallActionBlockAction */ public function setBlock(GoogleCloudRecaptchaenterpriseV1FirewallActionBlockAction $block) { $this->block = $block; } /** * @return GoogleCloudRecaptchaenterpriseV1FirewallActionBlockAction */ public function getBlock() { return $this->block; } /** * @param GoogleCloudRecaptchaenterpriseV1FirewallActionIncludeRecaptchaScriptAction */ public function setIncludeRecaptchaScript(GoogleCloudRecaptchaenterpriseV1FirewallActionIncludeRecaptchaScriptAction $includeRecaptchaScript) { $this->includeRecaptchaScript = $includeRecaptchaScript; } /** * @return GoogleCloudRecaptchaenterpriseV1FirewallActionIncludeRecaptchaScriptAction */ public function getIncludeRecaptchaScript() { return $this->includeRecaptchaScript; } /** * @param GoogleCloudRecaptchaenterpriseV1FirewallActionRedirectAction */ public function setRedirect(GoogleCloudRecaptchaenterpriseV1FirewallActionRedirectAction $redirect) { $this->redirect = $redirect; } /** * @return GoogleCloudRecaptchaenterpriseV1FirewallActionRedirectAction */ public function getRedirect() { return $this->redirect; } /** * @param GoogleCloudRecaptchaenterpriseV1FirewallActionSetHeaderAction */ public function setSetHeader(GoogleCloudRecaptchaenterpriseV1FirewallActionSetHeaderAction $setHeader) { $this->setHeader = $setHeader; } /** * @return GoogleCloudRecaptchaenterpriseV1FirewallActionSetHeaderAction */ public function getSetHeader() { return $this->setHeader; } /** * @param GoogleCloudRecaptchaenterpriseV1FirewallActionSubstituteAction */ public function setSubstitute(GoogleCloudRecaptchaenterpriseV1FirewallActionSubstituteAction $substitute) { $this->substitute = $substitute; } /** * @return GoogleCloudRecaptchaenterpriseV1FirewallActionSubstituteAction */ public function getSubstitute() { return $this->substitute; } } // Adding a class alias for backwards compatibility with the previous class name. class_alias(GoogleCloudRecaptchaenterpriseV1FirewallAction::class, 'Google_Service_RecaptchaEnterprise_GoogleCloudRecaptchaenterpriseV1FirewallAction');