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\SecurityCommandCenter;
19
20class Finding extends \Google\Collection
21{
22  protected $collection_key = 'iamBindings';
23  protected $accessType = Access::class;
24  protected $accessDataType = '';
25  /**
26   * @var string
27   */
28  public $canonicalName;
29  /**
30   * @var string
31   */
32  public $category;
33  protected $connectionsType = Connection::class;
34  protected $connectionsDataType = 'array';
35  /**
36   * @var string
37   */
38  public $createTime;
39  /**
40   * @var string
41   */
42  public $description;
43  /**
44   * @var string
45   */
46  public $eventTime;
47  protected $externalSystemsType = GoogleCloudSecuritycenterV1ExternalSystem::class;
48  protected $externalSystemsDataType = 'map';
49  /**
50   * @var string
51   */
52  public $externalUri;
53  /**
54   * @var string
55   */
56  public $findingClass;
57  protected $iamBindingsType = IamBinding::class;
58  protected $iamBindingsDataType = 'array';
59  protected $indicatorType = Indicator::class;
60  protected $indicatorDataType = '';
61  protected $mitreAttackType = MitreAttack::class;
62  protected $mitreAttackDataType = '';
63  /**
64   * @var string
65   */
66  public $mute;
67  /**
68   * @var string
69   */
70  public $muteInitiator;
71  /**
72   * @var string
73   */
74  public $muteUpdateTime;
75  /**
76   * @var string
77   */
78  public $name;
79  /**
80   * @var string
81   */
82  public $nextSteps;
83  /**
84   * @var string
85   */
86  public $parent;
87  /**
88   * @var string
89   */
90  public $resourceName;
91  protected $securityMarksType = SecurityMarks::class;
92  protected $securityMarksDataType = '';
93  /**
94   * @var string
95   */
96  public $severity;
97  /**
98   * @var array[]
99   */
100  public $sourceProperties;
101  /**
102   * @var string
103   */
104  public $state;
105  protected $vulnerabilityType = Vulnerability::class;
106  protected $vulnerabilityDataType = '';
107
108  /**
109   * @param Access
110   */
111  public function setAccess(Access $access)
112  {
113    $this->access = $access;
114  }
115  /**
116   * @return Access
117   */
118  public function getAccess()
119  {
120    return $this->access;
121  }
122  /**
123   * @param string
124   */
125  public function setCanonicalName($canonicalName)
126  {
127    $this->canonicalName = $canonicalName;
128  }
129  /**
130   * @return string
131   */
132  public function getCanonicalName()
133  {
134    return $this->canonicalName;
135  }
136  /**
137   * @param string
138   */
139  public function setCategory($category)
140  {
141    $this->category = $category;
142  }
143  /**
144   * @return string
145   */
146  public function getCategory()
147  {
148    return $this->category;
149  }
150  /**
151   * @param Connection[]
152   */
153  public function setConnections($connections)
154  {
155    $this->connections = $connections;
156  }
157  /**
158   * @return Connection[]
159   */
160  public function getConnections()
161  {
162    return $this->connections;
163  }
164  /**
165   * @param string
166   */
167  public function setCreateTime($createTime)
168  {
169    $this->createTime = $createTime;
170  }
171  /**
172   * @return string
173   */
174  public function getCreateTime()
175  {
176    return $this->createTime;
177  }
178  /**
179   * @param string
180   */
181  public function setDescription($description)
182  {
183    $this->description = $description;
184  }
185  /**
186   * @return string
187   */
188  public function getDescription()
189  {
190    return $this->description;
191  }
192  /**
193   * @param string
194   */
195  public function setEventTime($eventTime)
196  {
197    $this->eventTime = $eventTime;
198  }
199  /**
200   * @return string
201   */
202  public function getEventTime()
203  {
204    return $this->eventTime;
205  }
206  /**
207   * @param GoogleCloudSecuritycenterV1ExternalSystem[]
208   */
209  public function setExternalSystems($externalSystems)
210  {
211    $this->externalSystems = $externalSystems;
212  }
213  /**
214   * @return GoogleCloudSecuritycenterV1ExternalSystem[]
215   */
216  public function getExternalSystems()
217  {
218    return $this->externalSystems;
219  }
220  /**
221   * @param string
222   */
223  public function setExternalUri($externalUri)
224  {
225    $this->externalUri = $externalUri;
226  }
227  /**
228   * @return string
229   */
230  public function getExternalUri()
231  {
232    return $this->externalUri;
233  }
234  /**
235   * @param string
236   */
237  public function setFindingClass($findingClass)
238  {
239    $this->findingClass = $findingClass;
240  }
241  /**
242   * @return string
243   */
244  public function getFindingClass()
245  {
246    return $this->findingClass;
247  }
248  /**
249   * @param IamBinding[]
250   */
251  public function setIamBindings($iamBindings)
252  {
253    $this->iamBindings = $iamBindings;
254  }
255  /**
256   * @return IamBinding[]
257   */
258  public function getIamBindings()
259  {
260    return $this->iamBindings;
261  }
262  /**
263   * @param Indicator
264   */
265  public function setIndicator(Indicator $indicator)
266  {
267    $this->indicator = $indicator;
268  }
269  /**
270   * @return Indicator
271   */
272  public function getIndicator()
273  {
274    return $this->indicator;
275  }
276  /**
277   * @param MitreAttack
278   */
279  public function setMitreAttack(MitreAttack $mitreAttack)
280  {
281    $this->mitreAttack = $mitreAttack;
282  }
283  /**
284   * @return MitreAttack
285   */
286  public function getMitreAttack()
287  {
288    return $this->mitreAttack;
289  }
290  /**
291   * @param string
292   */
293  public function setMute($mute)
294  {
295    $this->mute = $mute;
296  }
297  /**
298   * @return string
299   */
300  public function getMute()
301  {
302    return $this->mute;
303  }
304  /**
305   * @param string
306   */
307  public function setMuteInitiator($muteInitiator)
308  {
309    $this->muteInitiator = $muteInitiator;
310  }
311  /**
312   * @return string
313   */
314  public function getMuteInitiator()
315  {
316    return $this->muteInitiator;
317  }
318  /**
319   * @param string
320   */
321  public function setMuteUpdateTime($muteUpdateTime)
322  {
323    $this->muteUpdateTime = $muteUpdateTime;
324  }
325  /**
326   * @return string
327   */
328  public function getMuteUpdateTime()
329  {
330    return $this->muteUpdateTime;
331  }
332  /**
333   * @param string
334   */
335  public function setName($name)
336  {
337    $this->name = $name;
338  }
339  /**
340   * @return string
341   */
342  public function getName()
343  {
344    return $this->name;
345  }
346  /**
347   * @param string
348   */
349  public function setNextSteps($nextSteps)
350  {
351    $this->nextSteps = $nextSteps;
352  }
353  /**
354   * @return string
355   */
356  public function getNextSteps()
357  {
358    return $this->nextSteps;
359  }
360  /**
361   * @param string
362   */
363  public function setParent($parent)
364  {
365    $this->parent = $parent;
366  }
367  /**
368   * @return string
369   */
370  public function getParent()
371  {
372    return $this->parent;
373  }
374  /**
375   * @param string
376   */
377  public function setResourceName($resourceName)
378  {
379    $this->resourceName = $resourceName;
380  }
381  /**
382   * @return string
383   */
384  public function getResourceName()
385  {
386    return $this->resourceName;
387  }
388  /**
389   * @param SecurityMarks
390   */
391  public function setSecurityMarks(SecurityMarks $securityMarks)
392  {
393    $this->securityMarks = $securityMarks;
394  }
395  /**
396   * @return SecurityMarks
397   */
398  public function getSecurityMarks()
399  {
400    return $this->securityMarks;
401  }
402  /**
403   * @param string
404   */
405  public function setSeverity($severity)
406  {
407    $this->severity = $severity;
408  }
409  /**
410   * @return string
411   */
412  public function getSeverity()
413  {
414    return $this->severity;
415  }
416  /**
417   * @param array[]
418   */
419  public function setSourceProperties($sourceProperties)
420  {
421    $this->sourceProperties = $sourceProperties;
422  }
423  /**
424   * @return array[]
425   */
426  public function getSourceProperties()
427  {
428    return $this->sourceProperties;
429  }
430  /**
431   * @param string
432   */
433  public function setState($state)
434  {
435    $this->state = $state;
436  }
437  /**
438   * @return string
439   */
440  public function getState()
441  {
442    return $this->state;
443  }
444  /**
445   * @param Vulnerability
446   */
447  public function setVulnerability(Vulnerability $vulnerability)
448  {
449    $this->vulnerability = $vulnerability;
450  }
451  /**
452   * @return Vulnerability
453   */
454  public function getVulnerability()
455  {
456    return $this->vulnerability;
457  }
458}
459
460// Adding a class alias for backwards compatibility with the previous class name.
461class_alias(Finding::class, 'Google_Service_SecurityCommandCenter_Finding');
462