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\AIPlatformNotebooks;
|
---|
19 |
|
---|
20 | class ExecutionTemplate extends \Google\Model
|
---|
21 | {
|
---|
22 | protected $acceleratorConfigType = SchedulerAcceleratorConfig::class;
|
---|
23 | protected $acceleratorConfigDataType = '';
|
---|
24 | public $acceleratorConfig;
|
---|
25 | /**
|
---|
26 | * @var string
|
---|
27 | */
|
---|
28 | public $containerImageUri;
|
---|
29 | protected $dataprocParametersType = DataprocParameters::class;
|
---|
30 | protected $dataprocParametersDataType = '';
|
---|
31 | public $dataprocParameters;
|
---|
32 | /**
|
---|
33 | * @var string
|
---|
34 | */
|
---|
35 | public $inputNotebookFile;
|
---|
36 | /**
|
---|
37 | * @var string
|
---|
38 | */
|
---|
39 | public $jobType;
|
---|
40 | /**
|
---|
41 | * @var string
|
---|
42 | */
|
---|
43 | public $kernelSpec;
|
---|
44 | /**
|
---|
45 | * @var string[]
|
---|
46 | */
|
---|
47 | public $labels = [];
|
---|
48 | /**
|
---|
49 | * @var string
|
---|
50 | */
|
---|
51 | public $masterType;
|
---|
52 | /**
|
---|
53 | * @var string
|
---|
54 | */
|
---|
55 | public $outputNotebookFolder;
|
---|
56 | /**
|
---|
57 | * @var string
|
---|
58 | */
|
---|
59 | public $parameters;
|
---|
60 | /**
|
---|
61 | * @var string
|
---|
62 | */
|
---|
63 | public $paramsYamlFile;
|
---|
64 | /**
|
---|
65 | * @var string
|
---|
66 | */
|
---|
67 | public $scaleTier;
|
---|
68 | /**
|
---|
69 | * @var string
|
---|
70 | */
|
---|
71 | public $serviceAccount;
|
---|
72 | /**
|
---|
73 | * @var string
|
---|
74 | */
|
---|
75 | public $tensorboard;
|
---|
76 | protected $vertexAiParametersType = VertexAIParameters::class;
|
---|
77 | protected $vertexAiParametersDataType = '';
|
---|
78 | public $vertexAiParameters;
|
---|
79 |
|
---|
80 | /**
|
---|
81 | * @param SchedulerAcceleratorConfig
|
---|
82 | */
|
---|
83 | public function setAcceleratorConfig(SchedulerAcceleratorConfig $acceleratorConfig)
|
---|
84 | {
|
---|
85 | $this->acceleratorConfig = $acceleratorConfig;
|
---|
86 | }
|
---|
87 | /**
|
---|
88 | * @return SchedulerAcceleratorConfig
|
---|
89 | */
|
---|
90 | public function getAcceleratorConfig()
|
---|
91 | {
|
---|
92 | return $this->acceleratorConfig;
|
---|
93 | }
|
---|
94 | /**
|
---|
95 | * @param string
|
---|
96 | */
|
---|
97 | public function setContainerImageUri($containerImageUri)
|
---|
98 | {
|
---|
99 | $this->containerImageUri = $containerImageUri;
|
---|
100 | }
|
---|
101 | /**
|
---|
102 | * @return string
|
---|
103 | */
|
---|
104 | public function getContainerImageUri()
|
---|
105 | {
|
---|
106 | return $this->containerImageUri;
|
---|
107 | }
|
---|
108 | /**
|
---|
109 | * @param DataprocParameters
|
---|
110 | */
|
---|
111 | public function setDataprocParameters(DataprocParameters $dataprocParameters)
|
---|
112 | {
|
---|
113 | $this->dataprocParameters = $dataprocParameters;
|
---|
114 | }
|
---|
115 | /**
|
---|
116 | * @return DataprocParameters
|
---|
117 | */
|
---|
118 | public function getDataprocParameters()
|
---|
119 | {
|
---|
120 | return $this->dataprocParameters;
|
---|
121 | }
|
---|
122 | /**
|
---|
123 | * @param string
|
---|
124 | */
|
---|
125 | public function setInputNotebookFile($inputNotebookFile)
|
---|
126 | {
|
---|
127 | $this->inputNotebookFile = $inputNotebookFile;
|
---|
128 | }
|
---|
129 | /**
|
---|
130 | * @return string
|
---|
131 | */
|
---|
132 | public function getInputNotebookFile()
|
---|
133 | {
|
---|
134 | return $this->inputNotebookFile;
|
---|
135 | }
|
---|
136 | /**
|
---|
137 | * @param string
|
---|
138 | */
|
---|
139 | public function setJobType($jobType)
|
---|
140 | {
|
---|
141 | $this->jobType = $jobType;
|
---|
142 | }
|
---|
143 | /**
|
---|
144 | * @return string
|
---|
145 | */
|
---|
146 | public function getJobType()
|
---|
147 | {
|
---|
148 | return $this->jobType;
|
---|
149 | }
|
---|
150 | /**
|
---|
151 | * @param string
|
---|
152 | */
|
---|
153 | public function setKernelSpec($kernelSpec)
|
---|
154 | {
|
---|
155 | $this->kernelSpec = $kernelSpec;
|
---|
156 | }
|
---|
157 | /**
|
---|
158 | * @return string
|
---|
159 | */
|
---|
160 | public function getKernelSpec()
|
---|
161 | {
|
---|
162 | return $this->kernelSpec;
|
---|
163 | }
|
---|
164 | /**
|
---|
165 | * @param string[]
|
---|
166 | */
|
---|
167 | public function setLabels($labels)
|
---|
168 | {
|
---|
169 | $this->labels = $labels;
|
---|
170 | }
|
---|
171 | /**
|
---|
172 | * @return string[]
|
---|
173 | */
|
---|
174 | public function getLabels()
|
---|
175 | {
|
---|
176 | return $this->labels;
|
---|
177 | }
|
---|
178 | /**
|
---|
179 | * @param string
|
---|
180 | */
|
---|
181 | public function setMasterType($masterType)
|
---|
182 | {
|
---|
183 | $this->masterType = $masterType;
|
---|
184 | }
|
---|
185 | /**
|
---|
186 | * @return string
|
---|
187 | */
|
---|
188 | public function getMasterType()
|
---|
189 | {
|
---|
190 | return $this->masterType;
|
---|
191 | }
|
---|
192 | /**
|
---|
193 | * @param string
|
---|
194 | */
|
---|
195 | public function setOutputNotebookFolder($outputNotebookFolder)
|
---|
196 | {
|
---|
197 | $this->outputNotebookFolder = $outputNotebookFolder;
|
---|
198 | }
|
---|
199 | /**
|
---|
200 | * @return string
|
---|
201 | */
|
---|
202 | public function getOutputNotebookFolder()
|
---|
203 | {
|
---|
204 | return $this->outputNotebookFolder;
|
---|
205 | }
|
---|
206 | /**
|
---|
207 | * @param string
|
---|
208 | */
|
---|
209 | public function setParameters($parameters)
|
---|
210 | {
|
---|
211 | $this->parameters = $parameters;
|
---|
212 | }
|
---|
213 | /**
|
---|
214 | * @return string
|
---|
215 | */
|
---|
216 | public function getParameters()
|
---|
217 | {
|
---|
218 | return $this->parameters;
|
---|
219 | }
|
---|
220 | /**
|
---|
221 | * @param string
|
---|
222 | */
|
---|
223 | public function setParamsYamlFile($paramsYamlFile)
|
---|
224 | {
|
---|
225 | $this->paramsYamlFile = $paramsYamlFile;
|
---|
226 | }
|
---|
227 | /**
|
---|
228 | * @return string
|
---|
229 | */
|
---|
230 | public function getParamsYamlFile()
|
---|
231 | {
|
---|
232 | return $this->paramsYamlFile;
|
---|
233 | }
|
---|
234 | /**
|
---|
235 | * @param string
|
---|
236 | */
|
---|
237 | public function setScaleTier($scaleTier)
|
---|
238 | {
|
---|
239 | $this->scaleTier = $scaleTier;
|
---|
240 | }
|
---|
241 | /**
|
---|
242 | * @return string
|
---|
243 | */
|
---|
244 | public function getScaleTier()
|
---|
245 | {
|
---|
246 | return $this->scaleTier;
|
---|
247 | }
|
---|
248 | /**
|
---|
249 | * @param string
|
---|
250 | */
|
---|
251 | public function setServiceAccount($serviceAccount)
|
---|
252 | {
|
---|
253 | $this->serviceAccount = $serviceAccount;
|
---|
254 | }
|
---|
255 | /**
|
---|
256 | * @return string
|
---|
257 | */
|
---|
258 | public function getServiceAccount()
|
---|
259 | {
|
---|
260 | return $this->serviceAccount;
|
---|
261 | }
|
---|
262 | /**
|
---|
263 | * @param string
|
---|
264 | */
|
---|
265 | public function setTensorboard($tensorboard)
|
---|
266 | {
|
---|
267 | $this->tensorboard = $tensorboard;
|
---|
268 | }
|
---|
269 | /**
|
---|
270 | * @return string
|
---|
271 | */
|
---|
272 | public function getTensorboard()
|
---|
273 | {
|
---|
274 | return $this->tensorboard;
|
---|
275 | }
|
---|
276 | /**
|
---|
277 | * @param VertexAIParameters
|
---|
278 | */
|
---|
279 | public function setVertexAiParameters(VertexAIParameters $vertexAiParameters)
|
---|
280 | {
|
---|
281 | $this->vertexAiParameters = $vertexAiParameters;
|
---|
282 | }
|
---|
283 | /**
|
---|
284 | * @return VertexAIParameters
|
---|
285 | */
|
---|
286 | public function getVertexAiParameters()
|
---|
287 | {
|
---|
288 | return $this->vertexAiParameters;
|
---|
289 | }
|
---|
290 | }
|
---|
291 |
|
---|
292 | // Adding a class alias for backwards compatibility with the previous class name.
|
---|
293 | class_alias(ExecutionTemplate::class, 'Google_Service_AIPlatformNotebooks_ExecutionTemplate');
|
---|