source: vendor/google/apiclient-services/src/AIPlatformNotebooks/RuntimeSoftwareConfig.php@ f9c482b

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

Upload new project files

  • Property mode set to 100644
File size: 4.7 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\AIPlatformNotebooks;
19
20class RuntimeSoftwareConfig extends \Google\Collection
21{
22 protected $collection_key = 'kernels';
23 /**
24 * @var string
25 */
26 public $customGpuDriverPath;
27 /**
28 * @var bool
29 */
30 public $disableTerminal;
31 /**
32 * @var bool
33 */
34 public $enableHealthMonitoring;
35 /**
36 * @var bool
37 */
38 public $idleShutdown;
39 /**
40 * @var int
41 */
42 public $idleShutdownTimeout;
43 /**
44 * @var bool
45 */
46 public $installGpuDriver;
47 protected $kernelsType = ContainerImage::class;
48 protected $kernelsDataType = 'array';
49 public $kernels = [];
50 /**
51 * @var string
52 */
53 public $notebookUpgradeSchedule;
54 /**
55 * @var string
56 */
57 public $postStartupScript;
58 /**
59 * @var string
60 */
61 public $postStartupScriptBehavior;
62 /**
63 * @var bool
64 */
65 public $upgradeable;
66 /**
67 * @var string
68 */
69 public $version;
70
71 /**
72 * @param string
73 */
74 public function setCustomGpuDriverPath($customGpuDriverPath)
75 {
76 $this->customGpuDriverPath = $customGpuDriverPath;
77 }
78 /**
79 * @return string
80 */
81 public function getCustomGpuDriverPath()
82 {
83 return $this->customGpuDriverPath;
84 }
85 /**
86 * @param bool
87 */
88 public function setDisableTerminal($disableTerminal)
89 {
90 $this->disableTerminal = $disableTerminal;
91 }
92 /**
93 * @return bool
94 */
95 public function getDisableTerminal()
96 {
97 return $this->disableTerminal;
98 }
99 /**
100 * @param bool
101 */
102 public function setEnableHealthMonitoring($enableHealthMonitoring)
103 {
104 $this->enableHealthMonitoring = $enableHealthMonitoring;
105 }
106 /**
107 * @return bool
108 */
109 public function getEnableHealthMonitoring()
110 {
111 return $this->enableHealthMonitoring;
112 }
113 /**
114 * @param bool
115 */
116 public function setIdleShutdown($idleShutdown)
117 {
118 $this->idleShutdown = $idleShutdown;
119 }
120 /**
121 * @return bool
122 */
123 public function getIdleShutdown()
124 {
125 return $this->idleShutdown;
126 }
127 /**
128 * @param int
129 */
130 public function setIdleShutdownTimeout($idleShutdownTimeout)
131 {
132 $this->idleShutdownTimeout = $idleShutdownTimeout;
133 }
134 /**
135 * @return int
136 */
137 public function getIdleShutdownTimeout()
138 {
139 return $this->idleShutdownTimeout;
140 }
141 /**
142 * @param bool
143 */
144 public function setInstallGpuDriver($installGpuDriver)
145 {
146 $this->installGpuDriver = $installGpuDriver;
147 }
148 /**
149 * @return bool
150 */
151 public function getInstallGpuDriver()
152 {
153 return $this->installGpuDriver;
154 }
155 /**
156 * @param ContainerImage[]
157 */
158 public function setKernels($kernels)
159 {
160 $this->kernels = $kernels;
161 }
162 /**
163 * @return ContainerImage[]
164 */
165 public function getKernels()
166 {
167 return $this->kernels;
168 }
169 /**
170 * @param string
171 */
172 public function setNotebookUpgradeSchedule($notebookUpgradeSchedule)
173 {
174 $this->notebookUpgradeSchedule = $notebookUpgradeSchedule;
175 }
176 /**
177 * @return string
178 */
179 public function getNotebookUpgradeSchedule()
180 {
181 return $this->notebookUpgradeSchedule;
182 }
183 /**
184 * @param string
185 */
186 public function setPostStartupScript($postStartupScript)
187 {
188 $this->postStartupScript = $postStartupScript;
189 }
190 /**
191 * @return string
192 */
193 public function getPostStartupScript()
194 {
195 return $this->postStartupScript;
196 }
197 /**
198 * @param string
199 */
200 public function setPostStartupScriptBehavior($postStartupScriptBehavior)
201 {
202 $this->postStartupScriptBehavior = $postStartupScriptBehavior;
203 }
204 /**
205 * @return string
206 */
207 public function getPostStartupScriptBehavior()
208 {
209 return $this->postStartupScriptBehavior;
210 }
211 /**
212 * @param bool
213 */
214 public function setUpgradeable($upgradeable)
215 {
216 $this->upgradeable = $upgradeable;
217 }
218 /**
219 * @return bool
220 */
221 public function getUpgradeable()
222 {
223 return $this->upgradeable;
224 }
225 /**
226 * @param string
227 */
228 public function setVersion($version)
229 {
230 $this->version = $version;
231 }
232 /**
233 * @return string
234 */
235 public function getVersion()
236 {
237 return $this->version;
238 }
239}
240
241// Adding a class alias for backwards compatibility with the previous class name.
242class_alias(RuntimeSoftwareConfig::class, 'Google_Service_AIPlatformNotebooks_RuntimeSoftwareConfig');
Note: See TracBrowser for help on using the repository browser.