source: vendor/google/apiclient-services/src/RecaptchaEnterprise/GoogleCloudRecaptchaenterpriseV1FirewallAction.php@ e3d4e0a

Last change on this file since e3d4e0a was e3d4e0a, checked in by Vlado 222039 <vlado.popovski@…>, 2 weeks ago

Upload project files

  • Property mode set to 100644
File size: 4.1 KB
Line 
1<?php
2/*
3 * Copyright 2014 Google Inc.
4 *
5 * Licensed under the Apache License, Version 2.0 (the "License"); you may not
6 * use this file except in compliance with the License. You may obtain a copy of
7 * the License at
8 *
9 * http://www.apache.org/licenses/LICENSE-2.0
10 *
11 * Unless required by applicable law or agreed to in writing, software
12 * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
13 * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
14 * License for the specific language governing permissions and limitations under
15 * the License.
16 */
17
18namespace Google\Service\RecaptchaEnterprise;
19
20class GoogleCloudRecaptchaenterpriseV1FirewallAction extends \Google\Model
21{
22 protected $allowType = GoogleCloudRecaptchaenterpriseV1FirewallActionAllowAction::class;
23 protected $allowDataType = '';
24 protected $blockType = GoogleCloudRecaptchaenterpriseV1FirewallActionBlockAction::class;
25 protected $blockDataType = '';
26 protected $includeRecaptchaScriptType = GoogleCloudRecaptchaenterpriseV1FirewallActionIncludeRecaptchaScriptAction::class;
27 protected $includeRecaptchaScriptDataType = '';
28 protected $redirectType = GoogleCloudRecaptchaenterpriseV1FirewallActionRedirectAction::class;
29 protected $redirectDataType = '';
30 protected $setHeaderType = GoogleCloudRecaptchaenterpriseV1FirewallActionSetHeaderAction::class;
31 protected $setHeaderDataType = '';
32 protected $substituteType = GoogleCloudRecaptchaenterpriseV1FirewallActionSubstituteAction::class;
33 protected $substituteDataType = '';
34
35 /**
36 * @param GoogleCloudRecaptchaenterpriseV1FirewallActionAllowAction
37 */
38 public function setAllow(GoogleCloudRecaptchaenterpriseV1FirewallActionAllowAction $allow)
39 {
40 $this->allow = $allow;
41 }
42 /**
43 * @return GoogleCloudRecaptchaenterpriseV1FirewallActionAllowAction
44 */
45 public function getAllow()
46 {
47 return $this->allow;
48 }
49 /**
50 * @param GoogleCloudRecaptchaenterpriseV1FirewallActionBlockAction
51 */
52 public function setBlock(GoogleCloudRecaptchaenterpriseV1FirewallActionBlockAction $block)
53 {
54 $this->block = $block;
55 }
56 /**
57 * @return GoogleCloudRecaptchaenterpriseV1FirewallActionBlockAction
58 */
59 public function getBlock()
60 {
61 return $this->block;
62 }
63 /**
64 * @param GoogleCloudRecaptchaenterpriseV1FirewallActionIncludeRecaptchaScriptAction
65 */
66 public function setIncludeRecaptchaScript(GoogleCloudRecaptchaenterpriseV1FirewallActionIncludeRecaptchaScriptAction $includeRecaptchaScript)
67 {
68 $this->includeRecaptchaScript = $includeRecaptchaScript;
69 }
70 /**
71 * @return GoogleCloudRecaptchaenterpriseV1FirewallActionIncludeRecaptchaScriptAction
72 */
73 public function getIncludeRecaptchaScript()
74 {
75 return $this->includeRecaptchaScript;
76 }
77 /**
78 * @param GoogleCloudRecaptchaenterpriseV1FirewallActionRedirectAction
79 */
80 public function setRedirect(GoogleCloudRecaptchaenterpriseV1FirewallActionRedirectAction $redirect)
81 {
82 $this->redirect = $redirect;
83 }
84 /**
85 * @return GoogleCloudRecaptchaenterpriseV1FirewallActionRedirectAction
86 */
87 public function getRedirect()
88 {
89 return $this->redirect;
90 }
91 /**
92 * @param GoogleCloudRecaptchaenterpriseV1FirewallActionSetHeaderAction
93 */
94 public function setSetHeader(GoogleCloudRecaptchaenterpriseV1FirewallActionSetHeaderAction $setHeader)
95 {
96 $this->setHeader = $setHeader;
97 }
98 /**
99 * @return GoogleCloudRecaptchaenterpriseV1FirewallActionSetHeaderAction
100 */
101 public function getSetHeader()
102 {
103 return $this->setHeader;
104 }
105 /**
106 * @param GoogleCloudRecaptchaenterpriseV1FirewallActionSubstituteAction
107 */
108 public function setSubstitute(GoogleCloudRecaptchaenterpriseV1FirewallActionSubstituteAction $substitute)
109 {
110 $this->substitute = $substitute;
111 }
112 /**
113 * @return GoogleCloudRecaptchaenterpriseV1FirewallActionSubstituteAction
114 */
115 public function getSubstitute()
116 {
117 return $this->substitute;
118 }
119}
120
121// Adding a class alias for backwards compatibility with the previous class name.
122class_alias(GoogleCloudRecaptchaenterpriseV1FirewallAction::class, 'Google_Service_RecaptchaEnterprise_GoogleCloudRecaptchaenterpriseV1FirewallAction');
Note: See TracBrowser for help on using the repository browser.