source: vendor/google/apiclient-services/src/RecaptchaEnterprise/GoogleCloudRecaptchaenterpriseV1Event.php

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

Upload project files

  • Property mode set to 100644
File size: 5.5 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 GoogleCloudRecaptchaenterpriseV1Event extends \Google\Collection
21{
22 protected $collection_key = 'headers';
23 /**
24 * @var string
25 */
26 public $expectedAction;
27 /**
28 * @var bool
29 */
30 public $express;
31 /**
32 * @var bool
33 */
34 public $firewallPolicyEvaluation;
35 /**
36 * @var string
37 */
38 public $fraudPrevention;
39 /**
40 * @var string
41 */
42 public $hashedAccountId;
43 /**
44 * @var string[]
45 */
46 public $headers;
47 /**
48 * @var string
49 */
50 public $ja3;
51 /**
52 * @var string
53 */
54 public $requestedUri;
55 /**
56 * @var string
57 */
58 public $siteKey;
59 /**
60 * @var string
61 */
62 public $token;
63 protected $transactionDataType = GoogleCloudRecaptchaenterpriseV1TransactionData::class;
64 protected $transactionDataDataType = '';
65 /**
66 * @var string
67 */
68 public $userAgent;
69 protected $userInfoType = GoogleCloudRecaptchaenterpriseV1UserInfo::class;
70 protected $userInfoDataType = '';
71 /**
72 * @var string
73 */
74 public $userIpAddress;
75 /**
76 * @var bool
77 */
78 public $wafTokenAssessment;
79
80 /**
81 * @param string
82 */
83 public function setExpectedAction($expectedAction)
84 {
85 $this->expectedAction = $expectedAction;
86 }
87 /**
88 * @return string
89 */
90 public function getExpectedAction()
91 {
92 return $this->expectedAction;
93 }
94 /**
95 * @param bool
96 */
97 public function setExpress($express)
98 {
99 $this->express = $express;
100 }
101 /**
102 * @return bool
103 */
104 public function getExpress()
105 {
106 return $this->express;
107 }
108 /**
109 * @param bool
110 */
111 public function setFirewallPolicyEvaluation($firewallPolicyEvaluation)
112 {
113 $this->firewallPolicyEvaluation = $firewallPolicyEvaluation;
114 }
115 /**
116 * @return bool
117 */
118 public function getFirewallPolicyEvaluation()
119 {
120 return $this->firewallPolicyEvaluation;
121 }
122 /**
123 * @param string
124 */
125 public function setFraudPrevention($fraudPrevention)
126 {
127 $this->fraudPrevention = $fraudPrevention;
128 }
129 /**
130 * @return string
131 */
132 public function getFraudPrevention()
133 {
134 return $this->fraudPrevention;
135 }
136 /**
137 * @param string
138 */
139 public function setHashedAccountId($hashedAccountId)
140 {
141 $this->hashedAccountId = $hashedAccountId;
142 }
143 /**
144 * @return string
145 */
146 public function getHashedAccountId()
147 {
148 return $this->hashedAccountId;
149 }
150 /**
151 * @param string[]
152 */
153 public function setHeaders($headers)
154 {
155 $this->headers = $headers;
156 }
157 /**
158 * @return string[]
159 */
160 public function getHeaders()
161 {
162 return $this->headers;
163 }
164 /**
165 * @param string
166 */
167 public function setJa3($ja3)
168 {
169 $this->ja3 = $ja3;
170 }
171 /**
172 * @return string
173 */
174 public function getJa3()
175 {
176 return $this->ja3;
177 }
178 /**
179 * @param string
180 */
181 public function setRequestedUri($requestedUri)
182 {
183 $this->requestedUri = $requestedUri;
184 }
185 /**
186 * @return string
187 */
188 public function getRequestedUri()
189 {
190 return $this->requestedUri;
191 }
192 /**
193 * @param string
194 */
195 public function setSiteKey($siteKey)
196 {
197 $this->siteKey = $siteKey;
198 }
199 /**
200 * @return string
201 */
202 public function getSiteKey()
203 {
204 return $this->siteKey;
205 }
206 /**
207 * @param string
208 */
209 public function setToken($token)
210 {
211 $this->token = $token;
212 }
213 /**
214 * @return string
215 */
216 public function getToken()
217 {
218 return $this->token;
219 }
220 /**
221 * @param GoogleCloudRecaptchaenterpriseV1TransactionData
222 */
223 public function setTransactionData(GoogleCloudRecaptchaenterpriseV1TransactionData $transactionData)
224 {
225 $this->transactionData = $transactionData;
226 }
227 /**
228 * @return GoogleCloudRecaptchaenterpriseV1TransactionData
229 */
230 public function getTransactionData()
231 {
232 return $this->transactionData;
233 }
234 /**
235 * @param string
236 */
237 public function setUserAgent($userAgent)
238 {
239 $this->userAgent = $userAgent;
240 }
241 /**
242 * @return string
243 */
244 public function getUserAgent()
245 {
246 return $this->userAgent;
247 }
248 /**
249 * @param GoogleCloudRecaptchaenterpriseV1UserInfo
250 */
251 public function setUserInfo(GoogleCloudRecaptchaenterpriseV1UserInfo $userInfo)
252 {
253 $this->userInfo = $userInfo;
254 }
255 /**
256 * @return GoogleCloudRecaptchaenterpriseV1UserInfo
257 */
258 public function getUserInfo()
259 {
260 return $this->userInfo;
261 }
262 /**
263 * @param string
264 */
265 public function setUserIpAddress($userIpAddress)
266 {
267 $this->userIpAddress = $userIpAddress;
268 }
269 /**
270 * @return string
271 */
272 public function getUserIpAddress()
273 {
274 return $this->userIpAddress;
275 }
276 /**
277 * @param bool
278 */
279 public function setWafTokenAssessment($wafTokenAssessment)
280 {
281 $this->wafTokenAssessment = $wafTokenAssessment;
282 }
283 /**
284 * @return bool
285 */
286 public function getWafTokenAssessment()
287 {
288 return $this->wafTokenAssessment;
289 }
290}
291
292// Adding a class alias for backwards compatibility with the previous class name.
293class_alias(GoogleCloudRecaptchaenterpriseV1Event::class, 'Google_Service_RecaptchaEnterprise_GoogleCloudRecaptchaenterpriseV1Event');
Note: See TracBrowser for help on using the repository browser.