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\CloudLifeSciences;
19
20class Action extends \Google\Collection
21{
22  protected $collection_key = 'mounts';
23  /**
24   * @var bool
25   */
26  public $alwaysRun;
27  /**
28   * @var bool
29   */
30  public $blockExternalNetwork;
31  /**
32   * @var string[]
33   */
34  public $commands;
35  /**
36   * @var string
37   */
38  public $containerName;
39  protected $credentialsType = Secret::class;
40  protected $credentialsDataType = '';
41  /**
42   * @var bool
43   */
44  public $disableImagePrefetch;
45  /**
46   * @var bool
47   */
48  public $disableStandardErrorCapture;
49  /**
50   * @var bool
51   */
52  public $enableFuse;
53  protected $encryptedEnvironmentType = Secret::class;
54  protected $encryptedEnvironmentDataType = '';
55  /**
56   * @var string
57   */
58  public $entrypoint;
59  /**
60   * @var string[]
61   */
62  public $environment;
63  /**
64   * @var bool
65   */
66  public $ignoreExitStatus;
67  /**
68   * @var string
69   */
70  public $imageUri;
71  /**
72   * @var string[]
73   */
74  public $labels;
75  protected $mountsType = Mount::class;
76  protected $mountsDataType = 'array';
77  /**
78   * @var string
79   */
80  public $pidNamespace;
81  /**
82   * @var int[]
83   */
84  public $portMappings;
85  /**
86   * @var bool
87   */
88  public $publishExposedPorts;
89  /**
90   * @var bool
91   */
92  public $runInBackground;
93  /**
94   * @var string
95   */
96  public $timeout;
97
98  /**
99   * @param bool
100   */
101  public function setAlwaysRun($alwaysRun)
102  {
103    $this->alwaysRun = $alwaysRun;
104  }
105  /**
106   * @return bool
107   */
108  public function getAlwaysRun()
109  {
110    return $this->alwaysRun;
111  }
112  /**
113   * @param bool
114   */
115  public function setBlockExternalNetwork($blockExternalNetwork)
116  {
117    $this->blockExternalNetwork = $blockExternalNetwork;
118  }
119  /**
120   * @return bool
121   */
122  public function getBlockExternalNetwork()
123  {
124    return $this->blockExternalNetwork;
125  }
126  /**
127   * @param string[]
128   */
129  public function setCommands($commands)
130  {
131    $this->commands = $commands;
132  }
133  /**
134   * @return string[]
135   */
136  public function getCommands()
137  {
138    return $this->commands;
139  }
140  /**
141   * @param string
142   */
143  public function setContainerName($containerName)
144  {
145    $this->containerName = $containerName;
146  }
147  /**
148   * @return string
149   */
150  public function getContainerName()
151  {
152    return $this->containerName;
153  }
154  /**
155   * @param Secret
156   */
157  public function setCredentials(Secret $credentials)
158  {
159    $this->credentials = $credentials;
160  }
161  /**
162   * @return Secret
163   */
164  public function getCredentials()
165  {
166    return $this->credentials;
167  }
168  /**
169   * @param bool
170   */
171  public function setDisableImagePrefetch($disableImagePrefetch)
172  {
173    $this->disableImagePrefetch = $disableImagePrefetch;
174  }
175  /**
176   * @return bool
177   */
178  public function getDisableImagePrefetch()
179  {
180    return $this->disableImagePrefetch;
181  }
182  /**
183   * @param bool
184   */
185  public function setDisableStandardErrorCapture($disableStandardErrorCapture)
186  {
187    $this->disableStandardErrorCapture = $disableStandardErrorCapture;
188  }
189  /**
190   * @return bool
191   */
192  public function getDisableStandardErrorCapture()
193  {
194    return $this->disableStandardErrorCapture;
195  }
196  /**
197   * @param bool
198   */
199  public function setEnableFuse($enableFuse)
200  {
201    $this->enableFuse = $enableFuse;
202  }
203  /**
204   * @return bool
205   */
206  public function getEnableFuse()
207  {
208    return $this->enableFuse;
209  }
210  /**
211   * @param Secret
212   */
213  public function setEncryptedEnvironment(Secret $encryptedEnvironment)
214  {
215    $this->encryptedEnvironment = $encryptedEnvironment;
216  }
217  /**
218   * @return Secret
219   */
220  public function getEncryptedEnvironment()
221  {
222    return $this->encryptedEnvironment;
223  }
224  /**
225   * @param string
226   */
227  public function setEntrypoint($entrypoint)
228  {
229    $this->entrypoint = $entrypoint;
230  }
231  /**
232   * @return string
233   */
234  public function getEntrypoint()
235  {
236    return $this->entrypoint;
237  }
238  /**
239   * @param string[]
240   */
241  public function setEnvironment($environment)
242  {
243    $this->environment = $environment;
244  }
245  /**
246   * @return string[]
247   */
248  public function getEnvironment()
249  {
250    return $this->environment;
251  }
252  /**
253   * @param bool
254   */
255  public function setIgnoreExitStatus($ignoreExitStatus)
256  {
257    $this->ignoreExitStatus = $ignoreExitStatus;
258  }
259  /**
260   * @return bool
261   */
262  public function getIgnoreExitStatus()
263  {
264    return $this->ignoreExitStatus;
265  }
266  /**
267   * @param string
268   */
269  public function setImageUri($imageUri)
270  {
271    $this->imageUri = $imageUri;
272  }
273  /**
274   * @return string
275   */
276  public function getImageUri()
277  {
278    return $this->imageUri;
279  }
280  /**
281   * @param string[]
282   */
283  public function setLabels($labels)
284  {
285    $this->labels = $labels;
286  }
287  /**
288   * @return string[]
289   */
290  public function getLabels()
291  {
292    return $this->labels;
293  }
294  /**
295   * @param Mount[]
296   */
297  public function setMounts($mounts)
298  {
299    $this->mounts = $mounts;
300  }
301  /**
302   * @return Mount[]
303   */
304  public function getMounts()
305  {
306    return $this->mounts;
307  }
308  /**
309   * @param string
310   */
311  public function setPidNamespace($pidNamespace)
312  {
313    $this->pidNamespace = $pidNamespace;
314  }
315  /**
316   * @return string
317   */
318  public function getPidNamespace()
319  {
320    return $this->pidNamespace;
321  }
322  /**
323   * @param int[]
324   */
325  public function setPortMappings($portMappings)
326  {
327    $this->portMappings = $portMappings;
328  }
329  /**
330   * @return int[]
331   */
332  public function getPortMappings()
333  {
334    return $this->portMappings;
335  }
336  /**
337   * @param bool
338   */
339  public function setPublishExposedPorts($publishExposedPorts)
340  {
341    $this->publishExposedPorts = $publishExposedPorts;
342  }
343  /**
344   * @return bool
345   */
346  public function getPublishExposedPorts()
347  {
348    return $this->publishExposedPorts;
349  }
350  /**
351   * @param bool
352   */
353  public function setRunInBackground($runInBackground)
354  {
355    $this->runInBackground = $runInBackground;
356  }
357  /**
358   * @return bool
359   */
360  public function getRunInBackground()
361  {
362    return $this->runInBackground;
363  }
364  /**
365   * @param string
366   */
367  public function setTimeout($timeout)
368  {
369    $this->timeout = $timeout;
370  }
371  /**
372   * @return string
373   */
374  public function getTimeout()
375  {
376    return $this->timeout;
377  }
378}
379
380// Adding a class alias for backwards compatibility with the previous class name.
381class_alias(Action::class, 'Google_Service_CloudLifeSciences_Action');
382