source: vendor/google/apiclient-services/src/Batch/Runnable.php

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

Upload project files

  • Property mode set to 100644
File size: 3.6 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\Batch;
19
20class Runnable extends \Google\Model
21{
22 /**
23 * @var bool
24 */
25 public $alwaysRun;
26 /**
27 * @var bool
28 */
29 public $background;
30 protected $barrierType = Barrier::class;
31 protected $barrierDataType = '';
32 protected $containerType = Container::class;
33 protected $containerDataType = '';
34 /**
35 * @var string
36 */
37 public $displayName;
38 protected $environmentType = Environment::class;
39 protected $environmentDataType = '';
40 /**
41 * @var bool
42 */
43 public $ignoreExitStatus;
44 /**
45 * @var string[]
46 */
47 public $labels;
48 protected $scriptType = Script::class;
49 protected $scriptDataType = '';
50 /**
51 * @var string
52 */
53 public $timeout;
54
55 /**
56 * @param bool
57 */
58 public function setAlwaysRun($alwaysRun)
59 {
60 $this->alwaysRun = $alwaysRun;
61 }
62 /**
63 * @return bool
64 */
65 public function getAlwaysRun()
66 {
67 return $this->alwaysRun;
68 }
69 /**
70 * @param bool
71 */
72 public function setBackground($background)
73 {
74 $this->background = $background;
75 }
76 /**
77 * @return bool
78 */
79 public function getBackground()
80 {
81 return $this->background;
82 }
83 /**
84 * @param Barrier
85 */
86 public function setBarrier(Barrier $barrier)
87 {
88 $this->barrier = $barrier;
89 }
90 /**
91 * @return Barrier
92 */
93 public function getBarrier()
94 {
95 return $this->barrier;
96 }
97 /**
98 * @param Container
99 */
100 public function setContainer(Container $container)
101 {
102 $this->container = $container;
103 }
104 /**
105 * @return Container
106 */
107 public function getContainer()
108 {
109 return $this->container;
110 }
111 /**
112 * @param string
113 */
114 public function setDisplayName($displayName)
115 {
116 $this->displayName = $displayName;
117 }
118 /**
119 * @return string
120 */
121 public function getDisplayName()
122 {
123 return $this->displayName;
124 }
125 /**
126 * @param Environment
127 */
128 public function setEnvironment(Environment $environment)
129 {
130 $this->environment = $environment;
131 }
132 /**
133 * @return Environment
134 */
135 public function getEnvironment()
136 {
137 return $this->environment;
138 }
139 /**
140 * @param bool
141 */
142 public function setIgnoreExitStatus($ignoreExitStatus)
143 {
144 $this->ignoreExitStatus = $ignoreExitStatus;
145 }
146 /**
147 * @return bool
148 */
149 public function getIgnoreExitStatus()
150 {
151 return $this->ignoreExitStatus;
152 }
153 /**
154 * @param string[]
155 */
156 public function setLabels($labels)
157 {
158 $this->labels = $labels;
159 }
160 /**
161 * @return string[]
162 */
163 public function getLabels()
164 {
165 return $this->labels;
166 }
167 /**
168 * @param Script
169 */
170 public function setScript(Script $script)
171 {
172 $this->script = $script;
173 }
174 /**
175 * @return Script
176 */
177 public function getScript()
178 {
179 return $this->script;
180 }
181 /**
182 * @param string
183 */
184 public function setTimeout($timeout)
185 {
186 $this->timeout = $timeout;
187 }
188 /**
189 * @return string
190 */
191 public function getTimeout()
192 {
193 return $this->timeout;
194 }
195}
196
197// Adding a class alias for backwards compatibility with the previous class name.
198class_alias(Runnable::class, 'Google_Service_Batch_Runnable');
Note: See TracBrowser for help on using the repository browser.