source: vendor/google/apiclient-services/src/Dataproc/Session.php@ e3d4e0a

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

Upload project files

  • Property mode set to 100644
File size: 5.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\Dataproc;
19
20class Session extends \Google\Collection
21{
22 protected $collection_key = 'stateHistory';
23 /**
24 * @var string
25 */
26 public $createTime;
27 /**
28 * @var string
29 */
30 public $creator;
31 protected $environmentConfigType = EnvironmentConfig::class;
32 protected $environmentConfigDataType = '';
33 protected $jupyterSessionType = JupyterConfig::class;
34 protected $jupyterSessionDataType = '';
35 /**
36 * @var string[]
37 */
38 public $labels;
39 /**
40 * @var string
41 */
42 public $name;
43 protected $runtimeConfigType = RuntimeConfig::class;
44 protected $runtimeConfigDataType = '';
45 protected $runtimeInfoType = RuntimeInfo::class;
46 protected $runtimeInfoDataType = '';
47 /**
48 * @var string
49 */
50 public $sessionTemplate;
51 protected $sparkConnectSessionType = SparkConnectConfig::class;
52 protected $sparkConnectSessionDataType = '';
53 /**
54 * @var string
55 */
56 public $state;
57 protected $stateHistoryType = SessionStateHistory::class;
58 protected $stateHistoryDataType = 'array';
59 /**
60 * @var string
61 */
62 public $stateMessage;
63 /**
64 * @var string
65 */
66 public $stateTime;
67 /**
68 * @var string
69 */
70 public $user;
71 /**
72 * @var string
73 */
74 public $uuid;
75
76 /**
77 * @param string
78 */
79 public function setCreateTime($createTime)
80 {
81 $this->createTime = $createTime;
82 }
83 /**
84 * @return string
85 */
86 public function getCreateTime()
87 {
88 return $this->createTime;
89 }
90 /**
91 * @param string
92 */
93 public function setCreator($creator)
94 {
95 $this->creator = $creator;
96 }
97 /**
98 * @return string
99 */
100 public function getCreator()
101 {
102 return $this->creator;
103 }
104 /**
105 * @param EnvironmentConfig
106 */
107 public function setEnvironmentConfig(EnvironmentConfig $environmentConfig)
108 {
109 $this->environmentConfig = $environmentConfig;
110 }
111 /**
112 * @return EnvironmentConfig
113 */
114 public function getEnvironmentConfig()
115 {
116 return $this->environmentConfig;
117 }
118 /**
119 * @param JupyterConfig
120 */
121 public function setJupyterSession(JupyterConfig $jupyterSession)
122 {
123 $this->jupyterSession = $jupyterSession;
124 }
125 /**
126 * @return JupyterConfig
127 */
128 public function getJupyterSession()
129 {
130 return $this->jupyterSession;
131 }
132 /**
133 * @param string[]
134 */
135 public function setLabels($labels)
136 {
137 $this->labels = $labels;
138 }
139 /**
140 * @return string[]
141 */
142 public function getLabels()
143 {
144 return $this->labels;
145 }
146 /**
147 * @param string
148 */
149 public function setName($name)
150 {
151 $this->name = $name;
152 }
153 /**
154 * @return string
155 */
156 public function getName()
157 {
158 return $this->name;
159 }
160 /**
161 * @param RuntimeConfig
162 */
163 public function setRuntimeConfig(RuntimeConfig $runtimeConfig)
164 {
165 $this->runtimeConfig = $runtimeConfig;
166 }
167 /**
168 * @return RuntimeConfig
169 */
170 public function getRuntimeConfig()
171 {
172 return $this->runtimeConfig;
173 }
174 /**
175 * @param RuntimeInfo
176 */
177 public function setRuntimeInfo(RuntimeInfo $runtimeInfo)
178 {
179 $this->runtimeInfo = $runtimeInfo;
180 }
181 /**
182 * @return RuntimeInfo
183 */
184 public function getRuntimeInfo()
185 {
186 return $this->runtimeInfo;
187 }
188 /**
189 * @param string
190 */
191 public function setSessionTemplate($sessionTemplate)
192 {
193 $this->sessionTemplate = $sessionTemplate;
194 }
195 /**
196 * @return string
197 */
198 public function getSessionTemplate()
199 {
200 return $this->sessionTemplate;
201 }
202 /**
203 * @param SparkConnectConfig
204 */
205 public function setSparkConnectSession(SparkConnectConfig $sparkConnectSession)
206 {
207 $this->sparkConnectSession = $sparkConnectSession;
208 }
209 /**
210 * @return SparkConnectConfig
211 */
212 public function getSparkConnectSession()
213 {
214 return $this->sparkConnectSession;
215 }
216 /**
217 * @param string
218 */
219 public function setState($state)
220 {
221 $this->state = $state;
222 }
223 /**
224 * @return string
225 */
226 public function getState()
227 {
228 return $this->state;
229 }
230 /**
231 * @param SessionStateHistory[]
232 */
233 public function setStateHistory($stateHistory)
234 {
235 $this->stateHistory = $stateHistory;
236 }
237 /**
238 * @return SessionStateHistory[]
239 */
240 public function getStateHistory()
241 {
242 return $this->stateHistory;
243 }
244 /**
245 * @param string
246 */
247 public function setStateMessage($stateMessage)
248 {
249 $this->stateMessage = $stateMessage;
250 }
251 /**
252 * @return string
253 */
254 public function getStateMessage()
255 {
256 return $this->stateMessage;
257 }
258 /**
259 * @param string
260 */
261 public function setStateTime($stateTime)
262 {
263 $this->stateTime = $stateTime;
264 }
265 /**
266 * @return string
267 */
268 public function getStateTime()
269 {
270 return $this->stateTime;
271 }
272 /**
273 * @param string
274 */
275 public function setUser($user)
276 {
277 $this->user = $user;
278 }
279 /**
280 * @return string
281 */
282 public function getUser()
283 {
284 return $this->user;
285 }
286 /**
287 * @param string
288 */
289 public function setUuid($uuid)
290 {
291 $this->uuid = $uuid;
292 }
293 /**
294 * @return string
295 */
296 public function getUuid()
297 {
298 return $this->uuid;
299 }
300}
301
302// Adding a class alias for backwards compatibility with the previous class name.
303class_alias(Session::class, 'Google_Service_Dataproc_Session');
Note: See TracBrowser for help on using the repository browser.