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\Aiplatform;
|
---|
19 |
|
---|
20 | class GoogleCloudAiplatformV1NotebookExecutionJob extends \Google\Model
|
---|
21 | {
|
---|
22 | /**
|
---|
23 | * @var string
|
---|
24 | */
|
---|
25 | public $createTime;
|
---|
26 | protected $customEnvironmentSpecType = GoogleCloudAiplatformV1NotebookExecutionJobCustomEnvironmentSpec::class;
|
---|
27 | protected $customEnvironmentSpecDataType = '';
|
---|
28 | protected $dataformRepositorySourceType = GoogleCloudAiplatformV1NotebookExecutionJobDataformRepositorySource::class;
|
---|
29 | protected $dataformRepositorySourceDataType = '';
|
---|
30 | protected $directNotebookSourceType = GoogleCloudAiplatformV1NotebookExecutionJobDirectNotebookSource::class;
|
---|
31 | protected $directNotebookSourceDataType = '';
|
---|
32 | /**
|
---|
33 | * @var string
|
---|
34 | */
|
---|
35 | public $displayName;
|
---|
36 | protected $encryptionSpecType = GoogleCloudAiplatformV1EncryptionSpec::class;
|
---|
37 | protected $encryptionSpecDataType = '';
|
---|
38 | /**
|
---|
39 | * @var string
|
---|
40 | */
|
---|
41 | public $executionTimeout;
|
---|
42 | /**
|
---|
43 | * @var string
|
---|
44 | */
|
---|
45 | public $executionUser;
|
---|
46 | protected $gcsNotebookSourceType = GoogleCloudAiplatformV1NotebookExecutionJobGcsNotebookSource::class;
|
---|
47 | protected $gcsNotebookSourceDataType = '';
|
---|
48 | /**
|
---|
49 | * @var string
|
---|
50 | */
|
---|
51 | public $gcsOutputUri;
|
---|
52 | /**
|
---|
53 | * @var string
|
---|
54 | */
|
---|
55 | public $jobState;
|
---|
56 | /**
|
---|
57 | * @var string
|
---|
58 | */
|
---|
59 | public $kernelName;
|
---|
60 | /**
|
---|
61 | * @var string[]
|
---|
62 | */
|
---|
63 | public $labels;
|
---|
64 | /**
|
---|
65 | * @var string
|
---|
66 | */
|
---|
67 | public $name;
|
---|
68 | /**
|
---|
69 | * @var string
|
---|
70 | */
|
---|
71 | public $notebookRuntimeTemplateResourceName;
|
---|
72 | /**
|
---|
73 | * @var string
|
---|
74 | */
|
---|
75 | public $scheduleResourceName;
|
---|
76 | /**
|
---|
77 | * @var string
|
---|
78 | */
|
---|
79 | public $serviceAccount;
|
---|
80 | protected $statusType = GoogleRpcStatus::class;
|
---|
81 | protected $statusDataType = '';
|
---|
82 | /**
|
---|
83 | * @var string
|
---|
84 | */
|
---|
85 | public $updateTime;
|
---|
86 | protected $workbenchRuntimeType = GoogleCloudAiplatformV1NotebookExecutionJobWorkbenchRuntime::class;
|
---|
87 | protected $workbenchRuntimeDataType = '';
|
---|
88 |
|
---|
89 | /**
|
---|
90 | * @param string
|
---|
91 | */
|
---|
92 | public function setCreateTime($createTime)
|
---|
93 | {
|
---|
94 | $this->createTime = $createTime;
|
---|
95 | }
|
---|
96 | /**
|
---|
97 | * @return string
|
---|
98 | */
|
---|
99 | public function getCreateTime()
|
---|
100 | {
|
---|
101 | return $this->createTime;
|
---|
102 | }
|
---|
103 | /**
|
---|
104 | * @param GoogleCloudAiplatformV1NotebookExecutionJobCustomEnvironmentSpec
|
---|
105 | */
|
---|
106 | public function setCustomEnvironmentSpec(GoogleCloudAiplatformV1NotebookExecutionJobCustomEnvironmentSpec $customEnvironmentSpec)
|
---|
107 | {
|
---|
108 | $this->customEnvironmentSpec = $customEnvironmentSpec;
|
---|
109 | }
|
---|
110 | /**
|
---|
111 | * @return GoogleCloudAiplatformV1NotebookExecutionJobCustomEnvironmentSpec
|
---|
112 | */
|
---|
113 | public function getCustomEnvironmentSpec()
|
---|
114 | {
|
---|
115 | return $this->customEnvironmentSpec;
|
---|
116 | }
|
---|
117 | /**
|
---|
118 | * @param GoogleCloudAiplatformV1NotebookExecutionJobDataformRepositorySource
|
---|
119 | */
|
---|
120 | public function setDataformRepositorySource(GoogleCloudAiplatformV1NotebookExecutionJobDataformRepositorySource $dataformRepositorySource)
|
---|
121 | {
|
---|
122 | $this->dataformRepositorySource = $dataformRepositorySource;
|
---|
123 | }
|
---|
124 | /**
|
---|
125 | * @return GoogleCloudAiplatformV1NotebookExecutionJobDataformRepositorySource
|
---|
126 | */
|
---|
127 | public function getDataformRepositorySource()
|
---|
128 | {
|
---|
129 | return $this->dataformRepositorySource;
|
---|
130 | }
|
---|
131 | /**
|
---|
132 | * @param GoogleCloudAiplatformV1NotebookExecutionJobDirectNotebookSource
|
---|
133 | */
|
---|
134 | public function setDirectNotebookSource(GoogleCloudAiplatformV1NotebookExecutionJobDirectNotebookSource $directNotebookSource)
|
---|
135 | {
|
---|
136 | $this->directNotebookSource = $directNotebookSource;
|
---|
137 | }
|
---|
138 | /**
|
---|
139 | * @return GoogleCloudAiplatformV1NotebookExecutionJobDirectNotebookSource
|
---|
140 | */
|
---|
141 | public function getDirectNotebookSource()
|
---|
142 | {
|
---|
143 | return $this->directNotebookSource;
|
---|
144 | }
|
---|
145 | /**
|
---|
146 | * @param string
|
---|
147 | */
|
---|
148 | public function setDisplayName($displayName)
|
---|
149 | {
|
---|
150 | $this->displayName = $displayName;
|
---|
151 | }
|
---|
152 | /**
|
---|
153 | * @return string
|
---|
154 | */
|
---|
155 | public function getDisplayName()
|
---|
156 | {
|
---|
157 | return $this->displayName;
|
---|
158 | }
|
---|
159 | /**
|
---|
160 | * @param GoogleCloudAiplatformV1EncryptionSpec
|
---|
161 | */
|
---|
162 | public function setEncryptionSpec(GoogleCloudAiplatformV1EncryptionSpec $encryptionSpec)
|
---|
163 | {
|
---|
164 | $this->encryptionSpec = $encryptionSpec;
|
---|
165 | }
|
---|
166 | /**
|
---|
167 | * @return GoogleCloudAiplatformV1EncryptionSpec
|
---|
168 | */
|
---|
169 | public function getEncryptionSpec()
|
---|
170 | {
|
---|
171 | return $this->encryptionSpec;
|
---|
172 | }
|
---|
173 | /**
|
---|
174 | * @param string
|
---|
175 | */
|
---|
176 | public function setExecutionTimeout($executionTimeout)
|
---|
177 | {
|
---|
178 | $this->executionTimeout = $executionTimeout;
|
---|
179 | }
|
---|
180 | /**
|
---|
181 | * @return string
|
---|
182 | */
|
---|
183 | public function getExecutionTimeout()
|
---|
184 | {
|
---|
185 | return $this->executionTimeout;
|
---|
186 | }
|
---|
187 | /**
|
---|
188 | * @param string
|
---|
189 | */
|
---|
190 | public function setExecutionUser($executionUser)
|
---|
191 | {
|
---|
192 | $this->executionUser = $executionUser;
|
---|
193 | }
|
---|
194 | /**
|
---|
195 | * @return string
|
---|
196 | */
|
---|
197 | public function getExecutionUser()
|
---|
198 | {
|
---|
199 | return $this->executionUser;
|
---|
200 | }
|
---|
201 | /**
|
---|
202 | * @param GoogleCloudAiplatformV1NotebookExecutionJobGcsNotebookSource
|
---|
203 | */
|
---|
204 | public function setGcsNotebookSource(GoogleCloudAiplatformV1NotebookExecutionJobGcsNotebookSource $gcsNotebookSource)
|
---|
205 | {
|
---|
206 | $this->gcsNotebookSource = $gcsNotebookSource;
|
---|
207 | }
|
---|
208 | /**
|
---|
209 | * @return GoogleCloudAiplatformV1NotebookExecutionJobGcsNotebookSource
|
---|
210 | */
|
---|
211 | public function getGcsNotebookSource()
|
---|
212 | {
|
---|
213 | return $this->gcsNotebookSource;
|
---|
214 | }
|
---|
215 | /**
|
---|
216 | * @param string
|
---|
217 | */
|
---|
218 | public function setGcsOutputUri($gcsOutputUri)
|
---|
219 | {
|
---|
220 | $this->gcsOutputUri = $gcsOutputUri;
|
---|
221 | }
|
---|
222 | /**
|
---|
223 | * @return string
|
---|
224 | */
|
---|
225 | public function getGcsOutputUri()
|
---|
226 | {
|
---|
227 | return $this->gcsOutputUri;
|
---|
228 | }
|
---|
229 | /**
|
---|
230 | * @param string
|
---|
231 | */
|
---|
232 | public function setJobState($jobState)
|
---|
233 | {
|
---|
234 | $this->jobState = $jobState;
|
---|
235 | }
|
---|
236 | /**
|
---|
237 | * @return string
|
---|
238 | */
|
---|
239 | public function getJobState()
|
---|
240 | {
|
---|
241 | return $this->jobState;
|
---|
242 | }
|
---|
243 | /**
|
---|
244 | * @param string
|
---|
245 | */
|
---|
246 | public function setKernelName($kernelName)
|
---|
247 | {
|
---|
248 | $this->kernelName = $kernelName;
|
---|
249 | }
|
---|
250 | /**
|
---|
251 | * @return string
|
---|
252 | */
|
---|
253 | public function getKernelName()
|
---|
254 | {
|
---|
255 | return $this->kernelName;
|
---|
256 | }
|
---|
257 | /**
|
---|
258 | * @param string[]
|
---|
259 | */
|
---|
260 | public function setLabels($labels)
|
---|
261 | {
|
---|
262 | $this->labels = $labels;
|
---|
263 | }
|
---|
264 | /**
|
---|
265 | * @return string[]
|
---|
266 | */
|
---|
267 | public function getLabels()
|
---|
268 | {
|
---|
269 | return $this->labels;
|
---|
270 | }
|
---|
271 | /**
|
---|
272 | * @param string
|
---|
273 | */
|
---|
274 | public function setName($name)
|
---|
275 | {
|
---|
276 | $this->name = $name;
|
---|
277 | }
|
---|
278 | /**
|
---|
279 | * @return string
|
---|
280 | */
|
---|
281 | public function getName()
|
---|
282 | {
|
---|
283 | return $this->name;
|
---|
284 | }
|
---|
285 | /**
|
---|
286 | * @param string
|
---|
287 | */
|
---|
288 | public function setNotebookRuntimeTemplateResourceName($notebookRuntimeTemplateResourceName)
|
---|
289 | {
|
---|
290 | $this->notebookRuntimeTemplateResourceName = $notebookRuntimeTemplateResourceName;
|
---|
291 | }
|
---|
292 | /**
|
---|
293 | * @return string
|
---|
294 | */
|
---|
295 | public function getNotebookRuntimeTemplateResourceName()
|
---|
296 | {
|
---|
297 | return $this->notebookRuntimeTemplateResourceName;
|
---|
298 | }
|
---|
299 | /**
|
---|
300 | * @param string
|
---|
301 | */
|
---|
302 | public function setScheduleResourceName($scheduleResourceName)
|
---|
303 | {
|
---|
304 | $this->scheduleResourceName = $scheduleResourceName;
|
---|
305 | }
|
---|
306 | /**
|
---|
307 | * @return string
|
---|
308 | */
|
---|
309 | public function getScheduleResourceName()
|
---|
310 | {
|
---|
311 | return $this->scheduleResourceName;
|
---|
312 | }
|
---|
313 | /**
|
---|
314 | * @param string
|
---|
315 | */
|
---|
316 | public function setServiceAccount($serviceAccount)
|
---|
317 | {
|
---|
318 | $this->serviceAccount = $serviceAccount;
|
---|
319 | }
|
---|
320 | /**
|
---|
321 | * @return string
|
---|
322 | */
|
---|
323 | public function getServiceAccount()
|
---|
324 | {
|
---|
325 | return $this->serviceAccount;
|
---|
326 | }
|
---|
327 | /**
|
---|
328 | * @param GoogleRpcStatus
|
---|
329 | */
|
---|
330 | public function setStatus(GoogleRpcStatus $status)
|
---|
331 | {
|
---|
332 | $this->status = $status;
|
---|
333 | }
|
---|
334 | /**
|
---|
335 | * @return GoogleRpcStatus
|
---|
336 | */
|
---|
337 | public function getStatus()
|
---|
338 | {
|
---|
339 | return $this->status;
|
---|
340 | }
|
---|
341 | /**
|
---|
342 | * @param string
|
---|
343 | */
|
---|
344 | public function setUpdateTime($updateTime)
|
---|
345 | {
|
---|
346 | $this->updateTime = $updateTime;
|
---|
347 | }
|
---|
348 | /**
|
---|
349 | * @return string
|
---|
350 | */
|
---|
351 | public function getUpdateTime()
|
---|
352 | {
|
---|
353 | return $this->updateTime;
|
---|
354 | }
|
---|
355 | /**
|
---|
356 | * @param GoogleCloudAiplatformV1NotebookExecutionJobWorkbenchRuntime
|
---|
357 | */
|
---|
358 | public function setWorkbenchRuntime(GoogleCloudAiplatformV1NotebookExecutionJobWorkbenchRuntime $workbenchRuntime)
|
---|
359 | {
|
---|
360 | $this->workbenchRuntime = $workbenchRuntime;
|
---|
361 | }
|
---|
362 | /**
|
---|
363 | * @return GoogleCloudAiplatformV1NotebookExecutionJobWorkbenchRuntime
|
---|
364 | */
|
---|
365 | public function getWorkbenchRuntime()
|
---|
366 | {
|
---|
367 | return $this->workbenchRuntime;
|
---|
368 | }
|
---|
369 | }
|
---|
370 |
|
---|
371 | // Adding a class alias for backwards compatibility with the previous class name.
|
---|
372 | class_alias(GoogleCloudAiplatformV1NotebookExecutionJob::class, 'Google_Service_Aiplatform_GoogleCloudAiplatformV1NotebookExecutionJob');
|
---|