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\SecurityCommandCenter;
|
---|
19 |
|
---|
20 | class AttackExposure extends \Google\Model
|
---|
21 | {
|
---|
22 | /**
|
---|
23 | * @var string
|
---|
24 | */
|
---|
25 | public $attackExposureResult;
|
---|
26 | /**
|
---|
27 | * @var int
|
---|
28 | */
|
---|
29 | public $exposedHighValueResourcesCount;
|
---|
30 | /**
|
---|
31 | * @var int
|
---|
32 | */
|
---|
33 | public $exposedLowValueResourcesCount;
|
---|
34 | /**
|
---|
35 | * @var int
|
---|
36 | */
|
---|
37 | public $exposedMediumValueResourcesCount;
|
---|
38 | /**
|
---|
39 | * @var string
|
---|
40 | */
|
---|
41 | public $latestCalculationTime;
|
---|
42 | public $score;
|
---|
43 | /**
|
---|
44 | * @var string
|
---|
45 | */
|
---|
46 | public $state;
|
---|
47 |
|
---|
48 | /**
|
---|
49 | * @param string
|
---|
50 | */
|
---|
51 | public function setAttackExposureResult($attackExposureResult)
|
---|
52 | {
|
---|
53 | $this->attackExposureResult = $attackExposureResult;
|
---|
54 | }
|
---|
55 | /**
|
---|
56 | * @return string
|
---|
57 | */
|
---|
58 | public function getAttackExposureResult()
|
---|
59 | {
|
---|
60 | return $this->attackExposureResult;
|
---|
61 | }
|
---|
62 | /**
|
---|
63 | * @param int
|
---|
64 | */
|
---|
65 | public function setExposedHighValueResourcesCount($exposedHighValueResourcesCount)
|
---|
66 | {
|
---|
67 | $this->exposedHighValueResourcesCount = $exposedHighValueResourcesCount;
|
---|
68 | }
|
---|
69 | /**
|
---|
70 | * @return int
|
---|
71 | */
|
---|
72 | public function getExposedHighValueResourcesCount()
|
---|
73 | {
|
---|
74 | return $this->exposedHighValueResourcesCount;
|
---|
75 | }
|
---|
76 | /**
|
---|
77 | * @param int
|
---|
78 | */
|
---|
79 | public function setExposedLowValueResourcesCount($exposedLowValueResourcesCount)
|
---|
80 | {
|
---|
81 | $this->exposedLowValueResourcesCount = $exposedLowValueResourcesCount;
|
---|
82 | }
|
---|
83 | /**
|
---|
84 | * @return int
|
---|
85 | */
|
---|
86 | public function getExposedLowValueResourcesCount()
|
---|
87 | {
|
---|
88 | return $this->exposedLowValueResourcesCount;
|
---|
89 | }
|
---|
90 | /**
|
---|
91 | * @param int
|
---|
92 | */
|
---|
93 | public function setExposedMediumValueResourcesCount($exposedMediumValueResourcesCount)
|
---|
94 | {
|
---|
95 | $this->exposedMediumValueResourcesCount = $exposedMediumValueResourcesCount;
|
---|
96 | }
|
---|
97 | /**
|
---|
98 | * @return int
|
---|
99 | */
|
---|
100 | public function getExposedMediumValueResourcesCount()
|
---|
101 | {
|
---|
102 | return $this->exposedMediumValueResourcesCount;
|
---|
103 | }
|
---|
104 | /**
|
---|
105 | * @param string
|
---|
106 | */
|
---|
107 | public function setLatestCalculationTime($latestCalculationTime)
|
---|
108 | {
|
---|
109 | $this->latestCalculationTime = $latestCalculationTime;
|
---|
110 | }
|
---|
111 | /**
|
---|
112 | * @return string
|
---|
113 | */
|
---|
114 | public function getLatestCalculationTime()
|
---|
115 | {
|
---|
116 | return $this->latestCalculationTime;
|
---|
117 | }
|
---|
118 | public function setScore($score)
|
---|
119 | {
|
---|
120 | $this->score = $score;
|
---|
121 | }
|
---|
122 | public function getScore()
|
---|
123 | {
|
---|
124 | return $this->score;
|
---|
125 | }
|
---|
126 | /**
|
---|
127 | * @param string
|
---|
128 | */
|
---|
129 | public function setState($state)
|
---|
130 | {
|
---|
131 | $this->state = $state;
|
---|
132 | }
|
---|
133 | /**
|
---|
134 | * @return string
|
---|
135 | */
|
---|
136 | public function getState()
|
---|
137 | {
|
---|
138 | return $this->state;
|
---|
139 | }
|
---|
140 | }
|
---|
141 |
|
---|
142 | // Adding a class alias for backwards compatibility with the previous class name.
|
---|
143 | class_alias(AttackExposure::class, 'Google_Service_SecurityCommandCenter_AttackExposure');
|
---|