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 GoogleCloudAiplatformV1NotebookRuntimeTemplate extends \Google\Collection
|
---|
21 | {
|
---|
22 | protected $collection_key = 'networkTags';
|
---|
23 | /**
|
---|
24 | * @var string
|
---|
25 | */
|
---|
26 | public $createTime;
|
---|
27 | protected $dataPersistentDiskSpecType = GoogleCloudAiplatformV1PersistentDiskSpec::class;
|
---|
28 | protected $dataPersistentDiskSpecDataType = '';
|
---|
29 | /**
|
---|
30 | * @var string
|
---|
31 | */
|
---|
32 | public $description;
|
---|
33 | /**
|
---|
34 | * @var string
|
---|
35 | */
|
---|
36 | public $displayName;
|
---|
37 | protected $encryptionSpecType = GoogleCloudAiplatformV1EncryptionSpec::class;
|
---|
38 | protected $encryptionSpecDataType = '';
|
---|
39 | /**
|
---|
40 | * @var string
|
---|
41 | */
|
---|
42 | public $etag;
|
---|
43 | protected $eucConfigType = GoogleCloudAiplatformV1NotebookEucConfig::class;
|
---|
44 | protected $eucConfigDataType = '';
|
---|
45 | protected $idleShutdownConfigType = GoogleCloudAiplatformV1NotebookIdleShutdownConfig::class;
|
---|
46 | protected $idleShutdownConfigDataType = '';
|
---|
47 | /**
|
---|
48 | * @var bool
|
---|
49 | */
|
---|
50 | public $isDefault;
|
---|
51 | /**
|
---|
52 | * @var string[]
|
---|
53 | */
|
---|
54 | public $labels;
|
---|
55 | protected $machineSpecType = GoogleCloudAiplatformV1MachineSpec::class;
|
---|
56 | protected $machineSpecDataType = '';
|
---|
57 | /**
|
---|
58 | * @var string
|
---|
59 | */
|
---|
60 | public $name;
|
---|
61 | protected $networkSpecType = GoogleCloudAiplatformV1NetworkSpec::class;
|
---|
62 | protected $networkSpecDataType = '';
|
---|
63 | /**
|
---|
64 | * @var string[]
|
---|
65 | */
|
---|
66 | public $networkTags;
|
---|
67 | /**
|
---|
68 | * @var string
|
---|
69 | */
|
---|
70 | public $notebookRuntimeType;
|
---|
71 | /**
|
---|
72 | * @var string
|
---|
73 | */
|
---|
74 | public $serviceAccount;
|
---|
75 | protected $shieldedVmConfigType = GoogleCloudAiplatformV1ShieldedVmConfig::class;
|
---|
76 | protected $shieldedVmConfigDataType = '';
|
---|
77 | /**
|
---|
78 | * @var string
|
---|
79 | */
|
---|
80 | public $updateTime;
|
---|
81 |
|
---|
82 | /**
|
---|
83 | * @param string
|
---|
84 | */
|
---|
85 | public function setCreateTime($createTime)
|
---|
86 | {
|
---|
87 | $this->createTime = $createTime;
|
---|
88 | }
|
---|
89 | /**
|
---|
90 | * @return string
|
---|
91 | */
|
---|
92 | public function getCreateTime()
|
---|
93 | {
|
---|
94 | return $this->createTime;
|
---|
95 | }
|
---|
96 | /**
|
---|
97 | * @param GoogleCloudAiplatformV1PersistentDiskSpec
|
---|
98 | */
|
---|
99 | public function setDataPersistentDiskSpec(GoogleCloudAiplatformV1PersistentDiskSpec $dataPersistentDiskSpec)
|
---|
100 | {
|
---|
101 | $this->dataPersistentDiskSpec = $dataPersistentDiskSpec;
|
---|
102 | }
|
---|
103 | /**
|
---|
104 | * @return GoogleCloudAiplatformV1PersistentDiskSpec
|
---|
105 | */
|
---|
106 | public function getDataPersistentDiskSpec()
|
---|
107 | {
|
---|
108 | return $this->dataPersistentDiskSpec;
|
---|
109 | }
|
---|
110 | /**
|
---|
111 | * @param string
|
---|
112 | */
|
---|
113 | public function setDescription($description)
|
---|
114 | {
|
---|
115 | $this->description = $description;
|
---|
116 | }
|
---|
117 | /**
|
---|
118 | * @return string
|
---|
119 | */
|
---|
120 | public function getDescription()
|
---|
121 | {
|
---|
122 | return $this->description;
|
---|
123 | }
|
---|
124 | /**
|
---|
125 | * @param string
|
---|
126 | */
|
---|
127 | public function setDisplayName($displayName)
|
---|
128 | {
|
---|
129 | $this->displayName = $displayName;
|
---|
130 | }
|
---|
131 | /**
|
---|
132 | * @return string
|
---|
133 | */
|
---|
134 | public function getDisplayName()
|
---|
135 | {
|
---|
136 | return $this->displayName;
|
---|
137 | }
|
---|
138 | /**
|
---|
139 | * @param GoogleCloudAiplatformV1EncryptionSpec
|
---|
140 | */
|
---|
141 | public function setEncryptionSpec(GoogleCloudAiplatformV1EncryptionSpec $encryptionSpec)
|
---|
142 | {
|
---|
143 | $this->encryptionSpec = $encryptionSpec;
|
---|
144 | }
|
---|
145 | /**
|
---|
146 | * @return GoogleCloudAiplatformV1EncryptionSpec
|
---|
147 | */
|
---|
148 | public function getEncryptionSpec()
|
---|
149 | {
|
---|
150 | return $this->encryptionSpec;
|
---|
151 | }
|
---|
152 | /**
|
---|
153 | * @param string
|
---|
154 | */
|
---|
155 | public function setEtag($etag)
|
---|
156 | {
|
---|
157 | $this->etag = $etag;
|
---|
158 | }
|
---|
159 | /**
|
---|
160 | * @return string
|
---|
161 | */
|
---|
162 | public function getEtag()
|
---|
163 | {
|
---|
164 | return $this->etag;
|
---|
165 | }
|
---|
166 | /**
|
---|
167 | * @param GoogleCloudAiplatformV1NotebookEucConfig
|
---|
168 | */
|
---|
169 | public function setEucConfig(GoogleCloudAiplatformV1NotebookEucConfig $eucConfig)
|
---|
170 | {
|
---|
171 | $this->eucConfig = $eucConfig;
|
---|
172 | }
|
---|
173 | /**
|
---|
174 | * @return GoogleCloudAiplatformV1NotebookEucConfig
|
---|
175 | */
|
---|
176 | public function getEucConfig()
|
---|
177 | {
|
---|
178 | return $this->eucConfig;
|
---|
179 | }
|
---|
180 | /**
|
---|
181 | * @param GoogleCloudAiplatformV1NotebookIdleShutdownConfig
|
---|
182 | */
|
---|
183 | public function setIdleShutdownConfig(GoogleCloudAiplatformV1NotebookIdleShutdownConfig $idleShutdownConfig)
|
---|
184 | {
|
---|
185 | $this->idleShutdownConfig = $idleShutdownConfig;
|
---|
186 | }
|
---|
187 | /**
|
---|
188 | * @return GoogleCloudAiplatformV1NotebookIdleShutdownConfig
|
---|
189 | */
|
---|
190 | public function getIdleShutdownConfig()
|
---|
191 | {
|
---|
192 | return $this->idleShutdownConfig;
|
---|
193 | }
|
---|
194 | /**
|
---|
195 | * @param bool
|
---|
196 | */
|
---|
197 | public function setIsDefault($isDefault)
|
---|
198 | {
|
---|
199 | $this->isDefault = $isDefault;
|
---|
200 | }
|
---|
201 | /**
|
---|
202 | * @return bool
|
---|
203 | */
|
---|
204 | public function getIsDefault()
|
---|
205 | {
|
---|
206 | return $this->isDefault;
|
---|
207 | }
|
---|
208 | /**
|
---|
209 | * @param string[]
|
---|
210 | */
|
---|
211 | public function setLabels($labels)
|
---|
212 | {
|
---|
213 | $this->labels = $labels;
|
---|
214 | }
|
---|
215 | /**
|
---|
216 | * @return string[]
|
---|
217 | */
|
---|
218 | public function getLabels()
|
---|
219 | {
|
---|
220 | return $this->labels;
|
---|
221 | }
|
---|
222 | /**
|
---|
223 | * @param GoogleCloudAiplatformV1MachineSpec
|
---|
224 | */
|
---|
225 | public function setMachineSpec(GoogleCloudAiplatformV1MachineSpec $machineSpec)
|
---|
226 | {
|
---|
227 | $this->machineSpec = $machineSpec;
|
---|
228 | }
|
---|
229 | /**
|
---|
230 | * @return GoogleCloudAiplatformV1MachineSpec
|
---|
231 | */
|
---|
232 | public function getMachineSpec()
|
---|
233 | {
|
---|
234 | return $this->machineSpec;
|
---|
235 | }
|
---|
236 | /**
|
---|
237 | * @param string
|
---|
238 | */
|
---|
239 | public function setName($name)
|
---|
240 | {
|
---|
241 | $this->name = $name;
|
---|
242 | }
|
---|
243 | /**
|
---|
244 | * @return string
|
---|
245 | */
|
---|
246 | public function getName()
|
---|
247 | {
|
---|
248 | return $this->name;
|
---|
249 | }
|
---|
250 | /**
|
---|
251 | * @param GoogleCloudAiplatformV1NetworkSpec
|
---|
252 | */
|
---|
253 | public function setNetworkSpec(GoogleCloudAiplatformV1NetworkSpec $networkSpec)
|
---|
254 | {
|
---|
255 | $this->networkSpec = $networkSpec;
|
---|
256 | }
|
---|
257 | /**
|
---|
258 | * @return GoogleCloudAiplatformV1NetworkSpec
|
---|
259 | */
|
---|
260 | public function getNetworkSpec()
|
---|
261 | {
|
---|
262 | return $this->networkSpec;
|
---|
263 | }
|
---|
264 | /**
|
---|
265 | * @param string[]
|
---|
266 | */
|
---|
267 | public function setNetworkTags($networkTags)
|
---|
268 | {
|
---|
269 | $this->networkTags = $networkTags;
|
---|
270 | }
|
---|
271 | /**
|
---|
272 | * @return string[]
|
---|
273 | */
|
---|
274 | public function getNetworkTags()
|
---|
275 | {
|
---|
276 | return $this->networkTags;
|
---|
277 | }
|
---|
278 | /**
|
---|
279 | * @param string
|
---|
280 | */
|
---|
281 | public function setNotebookRuntimeType($notebookRuntimeType)
|
---|
282 | {
|
---|
283 | $this->notebookRuntimeType = $notebookRuntimeType;
|
---|
284 | }
|
---|
285 | /**
|
---|
286 | * @return string
|
---|
287 | */
|
---|
288 | public function getNotebookRuntimeType()
|
---|
289 | {
|
---|
290 | return $this->notebookRuntimeType;
|
---|
291 | }
|
---|
292 | /**
|
---|
293 | * @param string
|
---|
294 | */
|
---|
295 | public function setServiceAccount($serviceAccount)
|
---|
296 | {
|
---|
297 | $this->serviceAccount = $serviceAccount;
|
---|
298 | }
|
---|
299 | /**
|
---|
300 | * @return string
|
---|
301 | */
|
---|
302 | public function getServiceAccount()
|
---|
303 | {
|
---|
304 | return $this->serviceAccount;
|
---|
305 | }
|
---|
306 | /**
|
---|
307 | * @param GoogleCloudAiplatformV1ShieldedVmConfig
|
---|
308 | */
|
---|
309 | public function setShieldedVmConfig(GoogleCloudAiplatformV1ShieldedVmConfig $shieldedVmConfig)
|
---|
310 | {
|
---|
311 | $this->shieldedVmConfig = $shieldedVmConfig;
|
---|
312 | }
|
---|
313 | /**
|
---|
314 | * @return GoogleCloudAiplatformV1ShieldedVmConfig
|
---|
315 | */
|
---|
316 | public function getShieldedVmConfig()
|
---|
317 | {
|
---|
318 | return $this->shieldedVmConfig;
|
---|
319 | }
|
---|
320 | /**
|
---|
321 | * @param string
|
---|
322 | */
|
---|
323 | public function setUpdateTime($updateTime)
|
---|
324 | {
|
---|
325 | $this->updateTime = $updateTime;
|
---|
326 | }
|
---|
327 | /**
|
---|
328 | * @return string
|
---|
329 | */
|
---|
330 | public function getUpdateTime()
|
---|
331 | {
|
---|
332 | return $this->updateTime;
|
---|
333 | }
|
---|
334 | }
|
---|
335 |
|
---|
336 | // Adding a class alias for backwards compatibility with the previous class name.
|
---|
337 | class_alias(GoogleCloudAiplatformV1NotebookRuntimeTemplate::class, 'Google_Service_Aiplatform_GoogleCloudAiplatformV1NotebookRuntimeTemplate');
|
---|