source: vendor/google/apiclient-services/src/CloudDeploy/DeployPolicyEvaluationEvent.php@ e3d4e0a

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

Upload project files

  • Property mode set to 100644
File size: 4.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\CloudDeploy;
19
20class DeployPolicyEvaluationEvent extends \Google\Collection
21{
22 protected $collection_key = 'overrides';
23 /**
24 * @var bool
25 */
26 public $allowed;
27 /**
28 * @var string
29 */
30 public $deliveryPipeline;
31 /**
32 * @var string
33 */
34 public $deployPolicy;
35 /**
36 * @var string
37 */
38 public $deployPolicyUid;
39 /**
40 * @var string
41 */
42 public $invoker;
43 /**
44 * @var string
45 */
46 public $message;
47 /**
48 * @var string[]
49 */
50 public $overrides;
51 /**
52 * @var string
53 */
54 public $pipelineUid;
55 /**
56 * @var string
57 */
58 public $rule;
59 /**
60 * @var string
61 */
62 public $ruleType;
63 /**
64 * @var string
65 */
66 public $target;
67 /**
68 * @var string
69 */
70 public $targetUid;
71 /**
72 * @var string
73 */
74 public $verdict;
75
76 /**
77 * @param bool
78 */
79 public function setAllowed($allowed)
80 {
81 $this->allowed = $allowed;
82 }
83 /**
84 * @return bool
85 */
86 public function getAllowed()
87 {
88 return $this->allowed;
89 }
90 /**
91 * @param string
92 */
93 public function setDeliveryPipeline($deliveryPipeline)
94 {
95 $this->deliveryPipeline = $deliveryPipeline;
96 }
97 /**
98 * @return string
99 */
100 public function getDeliveryPipeline()
101 {
102 return $this->deliveryPipeline;
103 }
104 /**
105 * @param string
106 */
107 public function setDeployPolicy($deployPolicy)
108 {
109 $this->deployPolicy = $deployPolicy;
110 }
111 /**
112 * @return string
113 */
114 public function getDeployPolicy()
115 {
116 return $this->deployPolicy;
117 }
118 /**
119 * @param string
120 */
121 public function setDeployPolicyUid($deployPolicyUid)
122 {
123 $this->deployPolicyUid = $deployPolicyUid;
124 }
125 /**
126 * @return string
127 */
128 public function getDeployPolicyUid()
129 {
130 return $this->deployPolicyUid;
131 }
132 /**
133 * @param string
134 */
135 public function setInvoker($invoker)
136 {
137 $this->invoker = $invoker;
138 }
139 /**
140 * @return string
141 */
142 public function getInvoker()
143 {
144 return $this->invoker;
145 }
146 /**
147 * @param string
148 */
149 public function setMessage($message)
150 {
151 $this->message = $message;
152 }
153 /**
154 * @return string
155 */
156 public function getMessage()
157 {
158 return $this->message;
159 }
160 /**
161 * @param string[]
162 */
163 public function setOverrides($overrides)
164 {
165 $this->overrides = $overrides;
166 }
167 /**
168 * @return string[]
169 */
170 public function getOverrides()
171 {
172 return $this->overrides;
173 }
174 /**
175 * @param string
176 */
177 public function setPipelineUid($pipelineUid)
178 {
179 $this->pipelineUid = $pipelineUid;
180 }
181 /**
182 * @return string
183 */
184 public function getPipelineUid()
185 {
186 return $this->pipelineUid;
187 }
188 /**
189 * @param string
190 */
191 public function setRule($rule)
192 {
193 $this->rule = $rule;
194 }
195 /**
196 * @return string
197 */
198 public function getRule()
199 {
200 return $this->rule;
201 }
202 /**
203 * @param string
204 */
205 public function setRuleType($ruleType)
206 {
207 $this->ruleType = $ruleType;
208 }
209 /**
210 * @return string
211 */
212 public function getRuleType()
213 {
214 return $this->ruleType;
215 }
216 /**
217 * @param string
218 */
219 public function setTarget($target)
220 {
221 $this->target = $target;
222 }
223 /**
224 * @return string
225 */
226 public function getTarget()
227 {
228 return $this->target;
229 }
230 /**
231 * @param string
232 */
233 public function setTargetUid($targetUid)
234 {
235 $this->targetUid = $targetUid;
236 }
237 /**
238 * @return string
239 */
240 public function getTargetUid()
241 {
242 return $this->targetUid;
243 }
244 /**
245 * @param string
246 */
247 public function setVerdict($verdict)
248 {
249 $this->verdict = $verdict;
250 }
251 /**
252 * @return string
253 */
254 public function getVerdict()
255 {
256 return $this->verdict;
257 }
258}
259
260// Adding a class alias for backwards compatibility with the previous class name.
261class_alias(DeployPolicyEvaluationEvent::class, 'Google_Service_CloudDeploy_DeployPolicyEvaluationEvent');
Note: See TracBrowser for help on using the repository browser.