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\Integrations;
|
---|
19 |
|
---|
20 | class GoogleCloudIntegrationsV1alphaTriggerConfig extends \Google\Collection
|
---|
21 | {
|
---|
22 | protected $collection_key = 'startTasks';
|
---|
23 | protected $alertConfigType = GoogleCloudIntegrationsV1alphaIntegrationAlertConfig::class;
|
---|
24 | protected $alertConfigDataType = 'array';
|
---|
25 | protected $cloudSchedulerConfigType = GoogleCloudIntegrationsV1alphaCloudSchedulerConfig::class;
|
---|
26 | protected $cloudSchedulerConfigDataType = '';
|
---|
27 | /**
|
---|
28 | * @var string
|
---|
29 | */
|
---|
30 | public $description;
|
---|
31 | /**
|
---|
32 | * @var string
|
---|
33 | */
|
---|
34 | public $errorCatcherId;
|
---|
35 | protected $inputVariablesType = GoogleCloudIntegrationsV1alphaTriggerConfigVariables::class;
|
---|
36 | protected $inputVariablesDataType = '';
|
---|
37 | /**
|
---|
38 | * @var string
|
---|
39 | */
|
---|
40 | public $label;
|
---|
41 | /**
|
---|
42 | * @var string
|
---|
43 | */
|
---|
44 | public $nextTasksExecutionPolicy;
|
---|
45 | protected $outputVariablesType = GoogleCloudIntegrationsV1alphaTriggerConfigVariables::class;
|
---|
46 | protected $outputVariablesDataType = '';
|
---|
47 | protected $positionType = GoogleCloudIntegrationsV1alphaCoordinate::class;
|
---|
48 | protected $positionDataType = '';
|
---|
49 | /**
|
---|
50 | * @var string[]
|
---|
51 | */
|
---|
52 | public $properties;
|
---|
53 | protected $startTasksType = GoogleCloudIntegrationsV1alphaNextTask::class;
|
---|
54 | protected $startTasksDataType = 'array';
|
---|
55 | /**
|
---|
56 | * @var string
|
---|
57 | */
|
---|
58 | public $trigger;
|
---|
59 | /**
|
---|
60 | * @var string
|
---|
61 | */
|
---|
62 | public $triggerId;
|
---|
63 | /**
|
---|
64 | * @var string
|
---|
65 | */
|
---|
66 | public $triggerNumber;
|
---|
67 | /**
|
---|
68 | * @var string
|
---|
69 | */
|
---|
70 | public $triggerType;
|
---|
71 |
|
---|
72 | /**
|
---|
73 | * @param GoogleCloudIntegrationsV1alphaIntegrationAlertConfig[]
|
---|
74 | */
|
---|
75 | public function setAlertConfig($alertConfig)
|
---|
76 | {
|
---|
77 | $this->alertConfig = $alertConfig;
|
---|
78 | }
|
---|
79 | /**
|
---|
80 | * @return GoogleCloudIntegrationsV1alphaIntegrationAlertConfig[]
|
---|
81 | */
|
---|
82 | public function getAlertConfig()
|
---|
83 | {
|
---|
84 | return $this->alertConfig;
|
---|
85 | }
|
---|
86 | /**
|
---|
87 | * @param GoogleCloudIntegrationsV1alphaCloudSchedulerConfig
|
---|
88 | */
|
---|
89 | public function setCloudSchedulerConfig(GoogleCloudIntegrationsV1alphaCloudSchedulerConfig $cloudSchedulerConfig)
|
---|
90 | {
|
---|
91 | $this->cloudSchedulerConfig = $cloudSchedulerConfig;
|
---|
92 | }
|
---|
93 | /**
|
---|
94 | * @return GoogleCloudIntegrationsV1alphaCloudSchedulerConfig
|
---|
95 | */
|
---|
96 | public function getCloudSchedulerConfig()
|
---|
97 | {
|
---|
98 | return $this->cloudSchedulerConfig;
|
---|
99 | }
|
---|
100 | /**
|
---|
101 | * @param string
|
---|
102 | */
|
---|
103 | public function setDescription($description)
|
---|
104 | {
|
---|
105 | $this->description = $description;
|
---|
106 | }
|
---|
107 | /**
|
---|
108 | * @return string
|
---|
109 | */
|
---|
110 | public function getDescription()
|
---|
111 | {
|
---|
112 | return $this->description;
|
---|
113 | }
|
---|
114 | /**
|
---|
115 | * @param string
|
---|
116 | */
|
---|
117 | public function setErrorCatcherId($errorCatcherId)
|
---|
118 | {
|
---|
119 | $this->errorCatcherId = $errorCatcherId;
|
---|
120 | }
|
---|
121 | /**
|
---|
122 | * @return string
|
---|
123 | */
|
---|
124 | public function getErrorCatcherId()
|
---|
125 | {
|
---|
126 | return $this->errorCatcherId;
|
---|
127 | }
|
---|
128 | /**
|
---|
129 | * @param GoogleCloudIntegrationsV1alphaTriggerConfigVariables
|
---|
130 | */
|
---|
131 | public function setInputVariables(GoogleCloudIntegrationsV1alphaTriggerConfigVariables $inputVariables)
|
---|
132 | {
|
---|
133 | $this->inputVariables = $inputVariables;
|
---|
134 | }
|
---|
135 | /**
|
---|
136 | * @return GoogleCloudIntegrationsV1alphaTriggerConfigVariables
|
---|
137 | */
|
---|
138 | public function getInputVariables()
|
---|
139 | {
|
---|
140 | return $this->inputVariables;
|
---|
141 | }
|
---|
142 | /**
|
---|
143 | * @param string
|
---|
144 | */
|
---|
145 | public function setLabel($label)
|
---|
146 | {
|
---|
147 | $this->label = $label;
|
---|
148 | }
|
---|
149 | /**
|
---|
150 | * @return string
|
---|
151 | */
|
---|
152 | public function getLabel()
|
---|
153 | {
|
---|
154 | return $this->label;
|
---|
155 | }
|
---|
156 | /**
|
---|
157 | * @param string
|
---|
158 | */
|
---|
159 | public function setNextTasksExecutionPolicy($nextTasksExecutionPolicy)
|
---|
160 | {
|
---|
161 | $this->nextTasksExecutionPolicy = $nextTasksExecutionPolicy;
|
---|
162 | }
|
---|
163 | /**
|
---|
164 | * @return string
|
---|
165 | */
|
---|
166 | public function getNextTasksExecutionPolicy()
|
---|
167 | {
|
---|
168 | return $this->nextTasksExecutionPolicy;
|
---|
169 | }
|
---|
170 | /**
|
---|
171 | * @param GoogleCloudIntegrationsV1alphaTriggerConfigVariables
|
---|
172 | */
|
---|
173 | public function setOutputVariables(GoogleCloudIntegrationsV1alphaTriggerConfigVariables $outputVariables)
|
---|
174 | {
|
---|
175 | $this->outputVariables = $outputVariables;
|
---|
176 | }
|
---|
177 | /**
|
---|
178 | * @return GoogleCloudIntegrationsV1alphaTriggerConfigVariables
|
---|
179 | */
|
---|
180 | public function getOutputVariables()
|
---|
181 | {
|
---|
182 | return $this->outputVariables;
|
---|
183 | }
|
---|
184 | /**
|
---|
185 | * @param GoogleCloudIntegrationsV1alphaCoordinate
|
---|
186 | */
|
---|
187 | public function setPosition(GoogleCloudIntegrationsV1alphaCoordinate $position)
|
---|
188 | {
|
---|
189 | $this->position = $position;
|
---|
190 | }
|
---|
191 | /**
|
---|
192 | * @return GoogleCloudIntegrationsV1alphaCoordinate
|
---|
193 | */
|
---|
194 | public function getPosition()
|
---|
195 | {
|
---|
196 | return $this->position;
|
---|
197 | }
|
---|
198 | /**
|
---|
199 | * @param string[]
|
---|
200 | */
|
---|
201 | public function setProperties($properties)
|
---|
202 | {
|
---|
203 | $this->properties = $properties;
|
---|
204 | }
|
---|
205 | /**
|
---|
206 | * @return string[]
|
---|
207 | */
|
---|
208 | public function getProperties()
|
---|
209 | {
|
---|
210 | return $this->properties;
|
---|
211 | }
|
---|
212 | /**
|
---|
213 | * @param GoogleCloudIntegrationsV1alphaNextTask[]
|
---|
214 | */
|
---|
215 | public function setStartTasks($startTasks)
|
---|
216 | {
|
---|
217 | $this->startTasks = $startTasks;
|
---|
218 | }
|
---|
219 | /**
|
---|
220 | * @return GoogleCloudIntegrationsV1alphaNextTask[]
|
---|
221 | */
|
---|
222 | public function getStartTasks()
|
---|
223 | {
|
---|
224 | return $this->startTasks;
|
---|
225 | }
|
---|
226 | /**
|
---|
227 | * @param string
|
---|
228 | */
|
---|
229 | public function setTrigger($trigger)
|
---|
230 | {
|
---|
231 | $this->trigger = $trigger;
|
---|
232 | }
|
---|
233 | /**
|
---|
234 | * @return string
|
---|
235 | */
|
---|
236 | public function getTrigger()
|
---|
237 | {
|
---|
238 | return $this->trigger;
|
---|
239 | }
|
---|
240 | /**
|
---|
241 | * @param string
|
---|
242 | */
|
---|
243 | public function setTriggerId($triggerId)
|
---|
244 | {
|
---|
245 | $this->triggerId = $triggerId;
|
---|
246 | }
|
---|
247 | /**
|
---|
248 | * @return string
|
---|
249 | */
|
---|
250 | public function getTriggerId()
|
---|
251 | {
|
---|
252 | return $this->triggerId;
|
---|
253 | }
|
---|
254 | /**
|
---|
255 | * @param string
|
---|
256 | */
|
---|
257 | public function setTriggerNumber($triggerNumber)
|
---|
258 | {
|
---|
259 | $this->triggerNumber = $triggerNumber;
|
---|
260 | }
|
---|
261 | /**
|
---|
262 | * @return string
|
---|
263 | */
|
---|
264 | public function getTriggerNumber()
|
---|
265 | {
|
---|
266 | return $this->triggerNumber;
|
---|
267 | }
|
---|
268 | /**
|
---|
269 | * @param string
|
---|
270 | */
|
---|
271 | public function setTriggerType($triggerType)
|
---|
272 | {
|
---|
273 | $this->triggerType = $triggerType;
|
---|
274 | }
|
---|
275 | /**
|
---|
276 | * @return string
|
---|
277 | */
|
---|
278 | public function getTriggerType()
|
---|
279 | {
|
---|
280 | return $this->triggerType;
|
---|
281 | }
|
---|
282 | }
|
---|
283 |
|
---|
284 | // Adding a class alias for backwards compatibility with the previous class name.
|
---|
285 | class_alias(GoogleCloudIntegrationsV1alphaTriggerConfig::class, 'Google_Service_Integrations_GoogleCloudIntegrationsV1alphaTriggerConfig');
|
---|