PATH:
home
/
rwabteecom
/
public_html_olld
/
vendor
/
google
/
apiclient-services
/
src
/
RecaptchaEnterprise
/
Editing: GoogleCloudRecaptchaenterpriseV1FirewallAction.php
<?php /* * Copyright 2014 Google Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy of * the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the * License for the specific language governing permissions and limitations under * the License. */ namespace Google\Service\RecaptchaEnterprise; class GoogleCloudRecaptchaenterpriseV1FirewallAction extends \Google\Model { protected $allowType = GoogleCloudRecaptchaenterpriseV1FirewallActionAllowAction::class; protected $allowDataType = ''; protected $blockType = GoogleCloudRecaptchaenterpriseV1FirewallActionBlockAction::class; protected $blockDataType = ''; protected $includeRecaptchaScriptType = GoogleCloudRecaptchaenterpriseV1FirewallActionIncludeRecaptchaScriptAction::class; protected $includeRecaptchaScriptDataType = ''; protected $redirectType = GoogleCloudRecaptchaenterpriseV1FirewallActionRedirectAction::class; protected $redirectDataType = ''; protected $setHeaderType = GoogleCloudRecaptchaenterpriseV1FirewallActionSetHeaderAction::class; protected $setHeaderDataType = ''; protected $substituteType = GoogleCloudRecaptchaenterpriseV1FirewallActionSubstituteAction::class; protected $substituteDataType = ''; /** * @param GoogleCloudRecaptchaenterpriseV1FirewallActionAllowAction */ public function setAllow(GoogleCloudRecaptchaenterpriseV1FirewallActionAllowAction $allow) { $this->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');
SAVE
CANCEL