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 |
|
---|
18 | namespace Google\Service\RecaptchaEnterprise;
|
---|
19 |
|
---|
20 | class GoogleCloudRecaptchaenterpriseV1Assessment extends \Google\Model
|
---|
21 | {
|
---|
22 | protected $accountDefenderAssessmentType = GoogleCloudRecaptchaenterpriseV1AccountDefenderAssessment::class;
|
---|
23 | protected $accountDefenderAssessmentDataType = '';
|
---|
24 | protected $accountVerificationType = GoogleCloudRecaptchaenterpriseV1AccountVerificationInfo::class;
|
---|
25 | protected $accountVerificationDataType = '';
|
---|
26 | protected $assessmentEnvironmentType = GoogleCloudRecaptchaenterpriseV1AssessmentEnvironment::class;
|
---|
27 | protected $assessmentEnvironmentDataType = '';
|
---|
28 | protected $eventType = GoogleCloudRecaptchaenterpriseV1Event::class;
|
---|
29 | protected $eventDataType = '';
|
---|
30 | protected $firewallPolicyAssessmentType = GoogleCloudRecaptchaenterpriseV1FirewallPolicyAssessment::class;
|
---|
31 | protected $firewallPolicyAssessmentDataType = '';
|
---|
32 | protected $fraudPreventionAssessmentType = GoogleCloudRecaptchaenterpriseV1FraudPreventionAssessment::class;
|
---|
33 | protected $fraudPreventionAssessmentDataType = '';
|
---|
34 | protected $fraudSignalsType = GoogleCloudRecaptchaenterpriseV1FraudSignals::class;
|
---|
35 | protected $fraudSignalsDataType = '';
|
---|
36 | /**
|
---|
37 | * @var string
|
---|
38 | */
|
---|
39 | public $name;
|
---|
40 | protected $phoneFraudAssessmentType = GoogleCloudRecaptchaenterpriseV1PhoneFraudAssessment::class;
|
---|
41 | protected $phoneFraudAssessmentDataType = '';
|
---|
42 | protected $privatePasswordLeakVerificationType = GoogleCloudRecaptchaenterpriseV1PrivatePasswordLeakVerification::class;
|
---|
43 | protected $privatePasswordLeakVerificationDataType = '';
|
---|
44 | protected $riskAnalysisType = GoogleCloudRecaptchaenterpriseV1RiskAnalysis::class;
|
---|
45 | protected $riskAnalysisDataType = '';
|
---|
46 | protected $tokenPropertiesType = GoogleCloudRecaptchaenterpriseV1TokenProperties::class;
|
---|
47 | protected $tokenPropertiesDataType = '';
|
---|
48 |
|
---|
49 | /**
|
---|
50 | * @param GoogleCloudRecaptchaenterpriseV1AccountDefenderAssessment
|
---|
51 | */
|
---|
52 | public function setAccountDefenderAssessment(GoogleCloudRecaptchaenterpriseV1AccountDefenderAssessment $accountDefenderAssessment)
|
---|
53 | {
|
---|
54 | $this->accountDefenderAssessment = $accountDefenderAssessment;
|
---|
55 | }
|
---|
56 | /**
|
---|
57 | * @return GoogleCloudRecaptchaenterpriseV1AccountDefenderAssessment
|
---|
58 | */
|
---|
59 | public function getAccountDefenderAssessment()
|
---|
60 | {
|
---|
61 | return $this->accountDefenderAssessment;
|
---|
62 | }
|
---|
63 | /**
|
---|
64 | * @param GoogleCloudRecaptchaenterpriseV1AccountVerificationInfo
|
---|
65 | */
|
---|
66 | public function setAccountVerification(GoogleCloudRecaptchaenterpriseV1AccountVerificationInfo $accountVerification)
|
---|
67 | {
|
---|
68 | $this->accountVerification = $accountVerification;
|
---|
69 | }
|
---|
70 | /**
|
---|
71 | * @return GoogleCloudRecaptchaenterpriseV1AccountVerificationInfo
|
---|
72 | */
|
---|
73 | public function getAccountVerification()
|
---|
74 | {
|
---|
75 | return $this->accountVerification;
|
---|
76 | }
|
---|
77 | /**
|
---|
78 | * @param GoogleCloudRecaptchaenterpriseV1AssessmentEnvironment
|
---|
79 | */
|
---|
80 | public function setAssessmentEnvironment(GoogleCloudRecaptchaenterpriseV1AssessmentEnvironment $assessmentEnvironment)
|
---|
81 | {
|
---|
82 | $this->assessmentEnvironment = $assessmentEnvironment;
|
---|
83 | }
|
---|
84 | /**
|
---|
85 | * @return GoogleCloudRecaptchaenterpriseV1AssessmentEnvironment
|
---|
86 | */
|
---|
87 | public function getAssessmentEnvironment()
|
---|
88 | {
|
---|
89 | return $this->assessmentEnvironment;
|
---|
90 | }
|
---|
91 | /**
|
---|
92 | * @param GoogleCloudRecaptchaenterpriseV1Event
|
---|
93 | */
|
---|
94 | public function setEvent(GoogleCloudRecaptchaenterpriseV1Event $event)
|
---|
95 | {
|
---|
96 | $this->event = $event;
|
---|
97 | }
|
---|
98 | /**
|
---|
99 | * @return GoogleCloudRecaptchaenterpriseV1Event
|
---|
100 | */
|
---|
101 | public function getEvent()
|
---|
102 | {
|
---|
103 | return $this->event;
|
---|
104 | }
|
---|
105 | /**
|
---|
106 | * @param GoogleCloudRecaptchaenterpriseV1FirewallPolicyAssessment
|
---|
107 | */
|
---|
108 | public function setFirewallPolicyAssessment(GoogleCloudRecaptchaenterpriseV1FirewallPolicyAssessment $firewallPolicyAssessment)
|
---|
109 | {
|
---|
110 | $this->firewallPolicyAssessment = $firewallPolicyAssessment;
|
---|
111 | }
|
---|
112 | /**
|
---|
113 | * @return GoogleCloudRecaptchaenterpriseV1FirewallPolicyAssessment
|
---|
114 | */
|
---|
115 | public function getFirewallPolicyAssessment()
|
---|
116 | {
|
---|
117 | return $this->firewallPolicyAssessment;
|
---|
118 | }
|
---|
119 | /**
|
---|
120 | * @param GoogleCloudRecaptchaenterpriseV1FraudPreventionAssessment
|
---|
121 | */
|
---|
122 | public function setFraudPreventionAssessment(GoogleCloudRecaptchaenterpriseV1FraudPreventionAssessment $fraudPreventionAssessment)
|
---|
123 | {
|
---|
124 | $this->fraudPreventionAssessment = $fraudPreventionAssessment;
|
---|
125 | }
|
---|
126 | /**
|
---|
127 | * @return GoogleCloudRecaptchaenterpriseV1FraudPreventionAssessment
|
---|
128 | */
|
---|
129 | public function getFraudPreventionAssessment()
|
---|
130 | {
|
---|
131 | return $this->fraudPreventionAssessment;
|
---|
132 | }
|
---|
133 | /**
|
---|
134 | * @param GoogleCloudRecaptchaenterpriseV1FraudSignals
|
---|
135 | */
|
---|
136 | public function setFraudSignals(GoogleCloudRecaptchaenterpriseV1FraudSignals $fraudSignals)
|
---|
137 | {
|
---|
138 | $this->fraudSignals = $fraudSignals;
|
---|
139 | }
|
---|
140 | /**
|
---|
141 | * @return GoogleCloudRecaptchaenterpriseV1FraudSignals
|
---|
142 | */
|
---|
143 | public function getFraudSignals()
|
---|
144 | {
|
---|
145 | return $this->fraudSignals;
|
---|
146 | }
|
---|
147 | /**
|
---|
148 | * @param string
|
---|
149 | */
|
---|
150 | public function setName($name)
|
---|
151 | {
|
---|
152 | $this->name = $name;
|
---|
153 | }
|
---|
154 | /**
|
---|
155 | * @return string
|
---|
156 | */
|
---|
157 | public function getName()
|
---|
158 | {
|
---|
159 | return $this->name;
|
---|
160 | }
|
---|
161 | /**
|
---|
162 | * @param GoogleCloudRecaptchaenterpriseV1PhoneFraudAssessment
|
---|
163 | */
|
---|
164 | public function setPhoneFraudAssessment(GoogleCloudRecaptchaenterpriseV1PhoneFraudAssessment $phoneFraudAssessment)
|
---|
165 | {
|
---|
166 | $this->phoneFraudAssessment = $phoneFraudAssessment;
|
---|
167 | }
|
---|
168 | /**
|
---|
169 | * @return GoogleCloudRecaptchaenterpriseV1PhoneFraudAssessment
|
---|
170 | */
|
---|
171 | public function getPhoneFraudAssessment()
|
---|
172 | {
|
---|
173 | return $this->phoneFraudAssessment;
|
---|
174 | }
|
---|
175 | /**
|
---|
176 | * @param GoogleCloudRecaptchaenterpriseV1PrivatePasswordLeakVerification
|
---|
177 | */
|
---|
178 | public function setPrivatePasswordLeakVerification(GoogleCloudRecaptchaenterpriseV1PrivatePasswordLeakVerification $privatePasswordLeakVerification)
|
---|
179 | {
|
---|
180 | $this->privatePasswordLeakVerification = $privatePasswordLeakVerification;
|
---|
181 | }
|
---|
182 | /**
|
---|
183 | * @return GoogleCloudRecaptchaenterpriseV1PrivatePasswordLeakVerification
|
---|
184 | */
|
---|
185 | public function getPrivatePasswordLeakVerification()
|
---|
186 | {
|
---|
187 | return $this->privatePasswordLeakVerification;
|
---|
188 | }
|
---|
189 | /**
|
---|
190 | * @param GoogleCloudRecaptchaenterpriseV1RiskAnalysis
|
---|
191 | */
|
---|
192 | public function setRiskAnalysis(GoogleCloudRecaptchaenterpriseV1RiskAnalysis $riskAnalysis)
|
---|
193 | {
|
---|
194 | $this->riskAnalysis = $riskAnalysis;
|
---|
195 | }
|
---|
196 | /**
|
---|
197 | * @return GoogleCloudRecaptchaenterpriseV1RiskAnalysis
|
---|
198 | */
|
---|
199 | public function getRiskAnalysis()
|
---|
200 | {
|
---|
201 | return $this->riskAnalysis;
|
---|
202 | }
|
---|
203 | /**
|
---|
204 | * @param GoogleCloudRecaptchaenterpriseV1TokenProperties
|
---|
205 | */
|
---|
206 | public function setTokenProperties(GoogleCloudRecaptchaenterpriseV1TokenProperties $tokenProperties)
|
---|
207 | {
|
---|
208 | $this->tokenProperties = $tokenProperties;
|
---|
209 | }
|
---|
210 | /**
|
---|
211 | * @return GoogleCloudRecaptchaenterpriseV1TokenProperties
|
---|
212 | */
|
---|
213 | public function getTokenProperties()
|
---|
214 | {
|
---|
215 | return $this->tokenProperties;
|
---|
216 | }
|
---|
217 | }
|
---|
218 |
|
---|
219 | // Adding a class alias for backwards compatibility with the previous class name.
|
---|
220 | class_alias(GoogleCloudRecaptchaenterpriseV1Assessment::class, 'Google_Service_RecaptchaEnterprise_GoogleCloudRecaptchaenterpriseV1Assessment');
|
---|