source: vendor/google/apiclient-services/src/Assuredworkloads/GoogleCloudAssuredworkloadsV1Violation.php

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

Upload project files

  • Property mode set to 100644
File size: 7.3 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\Assuredworkloads;
19
20class GoogleCloudAssuredworkloadsV1Violation extends \Google\Collection
21{
22 protected $collection_key = 'exceptionContexts';
23 /**
24 * @var bool
25 */
26 public $acknowledged;
27 /**
28 * @var string
29 */
30 public $acknowledgementTime;
31 /**
32 * @var string
33 */
34 public $associatedOrgPolicyViolationId;
35 /**
36 * @var string
37 */
38 public $auditLogLink;
39 /**
40 * @var string
41 */
42 public $beginTime;
43 /**
44 * @var string
45 */
46 public $category;
47 /**
48 * @var string
49 */
50 public $description;
51 /**
52 * @var string
53 */
54 public $exceptionAuditLogLink;
55 protected $exceptionContextsType = GoogleCloudAssuredworkloadsV1ViolationExceptionContext::class;
56 protected $exceptionContextsDataType = 'array';
57 /**
58 * @var string
59 */
60 public $name;
61 /**
62 * @var string
63 */
64 public $nonCompliantOrgPolicy;
65 /**
66 * @var string
67 */
68 public $orgPolicyConstraint;
69 /**
70 * @var string
71 */
72 public $parentProjectNumber;
73 protected $remediationType = GoogleCloudAssuredworkloadsV1ViolationRemediation::class;
74 protected $remediationDataType = '';
75 /**
76 * @var string
77 */
78 public $resolveTime;
79 /**
80 * @var string
81 */
82 public $resourceName;
83 /**
84 * @var string
85 */
86 public $resourceType;
87 /**
88 * @var string
89 */
90 public $state;
91 /**
92 * @var string
93 */
94 public $updateTime;
95 /**
96 * @var string
97 */
98 public $violationType;
99
100 /**
101 * @param bool
102 */
103 public function setAcknowledged($acknowledged)
104 {
105 $this->acknowledged = $acknowledged;
106 }
107 /**
108 * @return bool
109 */
110 public function getAcknowledged()
111 {
112 return $this->acknowledged;
113 }
114 /**
115 * @param string
116 */
117 public function setAcknowledgementTime($acknowledgementTime)
118 {
119 $this->acknowledgementTime = $acknowledgementTime;
120 }
121 /**
122 * @return string
123 */
124 public function getAcknowledgementTime()
125 {
126 return $this->acknowledgementTime;
127 }
128 /**
129 * @param string
130 */
131 public function setAssociatedOrgPolicyViolationId($associatedOrgPolicyViolationId)
132 {
133 $this->associatedOrgPolicyViolationId = $associatedOrgPolicyViolationId;
134 }
135 /**
136 * @return string
137 */
138 public function getAssociatedOrgPolicyViolationId()
139 {
140 return $this->associatedOrgPolicyViolationId;
141 }
142 /**
143 * @param string
144 */
145 public function setAuditLogLink($auditLogLink)
146 {
147 $this->auditLogLink = $auditLogLink;
148 }
149 /**
150 * @return string
151 */
152 public function getAuditLogLink()
153 {
154 return $this->auditLogLink;
155 }
156 /**
157 * @param string
158 */
159 public function setBeginTime($beginTime)
160 {
161 $this->beginTime = $beginTime;
162 }
163 /**
164 * @return string
165 */
166 public function getBeginTime()
167 {
168 return $this->beginTime;
169 }
170 /**
171 * @param string
172 */
173 public function setCategory($category)
174 {
175 $this->category = $category;
176 }
177 /**
178 * @return string
179 */
180 public function getCategory()
181 {
182 return $this->category;
183 }
184 /**
185 * @param string
186 */
187 public function setDescription($description)
188 {
189 $this->description = $description;
190 }
191 /**
192 * @return string
193 */
194 public function getDescription()
195 {
196 return $this->description;
197 }
198 /**
199 * @param string
200 */
201 public function setExceptionAuditLogLink($exceptionAuditLogLink)
202 {
203 $this->exceptionAuditLogLink = $exceptionAuditLogLink;
204 }
205 /**
206 * @return string
207 */
208 public function getExceptionAuditLogLink()
209 {
210 return $this->exceptionAuditLogLink;
211 }
212 /**
213 * @param GoogleCloudAssuredworkloadsV1ViolationExceptionContext[]
214 */
215 public function setExceptionContexts($exceptionContexts)
216 {
217 $this->exceptionContexts = $exceptionContexts;
218 }
219 /**
220 * @return GoogleCloudAssuredworkloadsV1ViolationExceptionContext[]
221 */
222 public function getExceptionContexts()
223 {
224 return $this->exceptionContexts;
225 }
226 /**
227 * @param string
228 */
229 public function setName($name)
230 {
231 $this->name = $name;
232 }
233 /**
234 * @return string
235 */
236 public function getName()
237 {
238 return $this->name;
239 }
240 /**
241 * @param string
242 */
243 public function setNonCompliantOrgPolicy($nonCompliantOrgPolicy)
244 {
245 $this->nonCompliantOrgPolicy = $nonCompliantOrgPolicy;
246 }
247 /**
248 * @return string
249 */
250 public function getNonCompliantOrgPolicy()
251 {
252 return $this->nonCompliantOrgPolicy;
253 }
254 /**
255 * @param string
256 */
257 public function setOrgPolicyConstraint($orgPolicyConstraint)
258 {
259 $this->orgPolicyConstraint = $orgPolicyConstraint;
260 }
261 /**
262 * @return string
263 */
264 public function getOrgPolicyConstraint()
265 {
266 return $this->orgPolicyConstraint;
267 }
268 /**
269 * @param string
270 */
271 public function setParentProjectNumber($parentProjectNumber)
272 {
273 $this->parentProjectNumber = $parentProjectNumber;
274 }
275 /**
276 * @return string
277 */
278 public function getParentProjectNumber()
279 {
280 return $this->parentProjectNumber;
281 }
282 /**
283 * @param GoogleCloudAssuredworkloadsV1ViolationRemediation
284 */
285 public function setRemediation(GoogleCloudAssuredworkloadsV1ViolationRemediation $remediation)
286 {
287 $this->remediation = $remediation;
288 }
289 /**
290 * @return GoogleCloudAssuredworkloadsV1ViolationRemediation
291 */
292 public function getRemediation()
293 {
294 return $this->remediation;
295 }
296 /**
297 * @param string
298 */
299 public function setResolveTime($resolveTime)
300 {
301 $this->resolveTime = $resolveTime;
302 }
303 /**
304 * @return string
305 */
306 public function getResolveTime()
307 {
308 return $this->resolveTime;
309 }
310 /**
311 * @param string
312 */
313 public function setResourceName($resourceName)
314 {
315 $this->resourceName = $resourceName;
316 }
317 /**
318 * @return string
319 */
320 public function getResourceName()
321 {
322 return $this->resourceName;
323 }
324 /**
325 * @param string
326 */
327 public function setResourceType($resourceType)
328 {
329 $this->resourceType = $resourceType;
330 }
331 /**
332 * @return string
333 */
334 public function getResourceType()
335 {
336 return $this->resourceType;
337 }
338 /**
339 * @param string
340 */
341 public function setState($state)
342 {
343 $this->state = $state;
344 }
345 /**
346 * @return string
347 */
348 public function getState()
349 {
350 return $this->state;
351 }
352 /**
353 * @param string
354 */
355 public function setUpdateTime($updateTime)
356 {
357 $this->updateTime = $updateTime;
358 }
359 /**
360 * @return string
361 */
362 public function getUpdateTime()
363 {
364 return $this->updateTime;
365 }
366 /**
367 * @param string
368 */
369 public function setViolationType($violationType)
370 {
371 $this->violationType = $violationType;
372 }
373 /**
374 * @return string
375 */
376 public function getViolationType()
377 {
378 return $this->violationType;
379 }
380}
381
382// Adding a class alias for backwards compatibility with the previous class name.
383class_alias(GoogleCloudAssuredworkloadsV1Violation::class, 'Google_Service_Assuredworkloads_GoogleCloudAssuredworkloadsV1Violation');
Note: See TracBrowser for help on using the repository browser.