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 GoogleCloudAiplatformV1Model extends \Google\Collection
|
---|
21 | {
|
---|
22 | protected $collection_key = 'versionAliases';
|
---|
23 | /**
|
---|
24 | * @var string
|
---|
25 | */
|
---|
26 | public $artifactUri;
|
---|
27 | protected $baseModelSourceType = GoogleCloudAiplatformV1ModelBaseModelSource::class;
|
---|
28 | protected $baseModelSourceDataType = '';
|
---|
29 | protected $containerSpecType = GoogleCloudAiplatformV1ModelContainerSpec::class;
|
---|
30 | protected $containerSpecDataType = '';
|
---|
31 | /**
|
---|
32 | * @var string
|
---|
33 | */
|
---|
34 | public $createTime;
|
---|
35 | protected $dataStatsType = GoogleCloudAiplatformV1ModelDataStats::class;
|
---|
36 | protected $dataStatsDataType = '';
|
---|
37 | protected $deployedModelsType = GoogleCloudAiplatformV1DeployedModelRef::class;
|
---|
38 | protected $deployedModelsDataType = 'array';
|
---|
39 | /**
|
---|
40 | * @var string
|
---|
41 | */
|
---|
42 | public $description;
|
---|
43 | /**
|
---|
44 | * @var string
|
---|
45 | */
|
---|
46 | public $displayName;
|
---|
47 | protected $encryptionSpecType = GoogleCloudAiplatformV1EncryptionSpec::class;
|
---|
48 | protected $encryptionSpecDataType = '';
|
---|
49 | /**
|
---|
50 | * @var string
|
---|
51 | */
|
---|
52 | public $etag;
|
---|
53 | protected $explanationSpecType = GoogleCloudAiplatformV1ExplanationSpec::class;
|
---|
54 | protected $explanationSpecDataType = '';
|
---|
55 | /**
|
---|
56 | * @var string[]
|
---|
57 | */
|
---|
58 | public $labels;
|
---|
59 | /**
|
---|
60 | * @var array
|
---|
61 | */
|
---|
62 | public $metadata;
|
---|
63 | /**
|
---|
64 | * @var string
|
---|
65 | */
|
---|
66 | public $metadataArtifact;
|
---|
67 | /**
|
---|
68 | * @var string
|
---|
69 | */
|
---|
70 | public $metadataSchemaUri;
|
---|
71 | protected $modelSourceInfoType = GoogleCloudAiplatformV1ModelSourceInfo::class;
|
---|
72 | protected $modelSourceInfoDataType = '';
|
---|
73 | /**
|
---|
74 | * @var string
|
---|
75 | */
|
---|
76 | public $name;
|
---|
77 | protected $originalModelInfoType = GoogleCloudAiplatformV1ModelOriginalModelInfo::class;
|
---|
78 | protected $originalModelInfoDataType = '';
|
---|
79 | /**
|
---|
80 | * @var string
|
---|
81 | */
|
---|
82 | public $pipelineJob;
|
---|
83 | protected $predictSchemataType = GoogleCloudAiplatformV1PredictSchemata::class;
|
---|
84 | protected $predictSchemataDataType = '';
|
---|
85 | /**
|
---|
86 | * @var bool
|
---|
87 | */
|
---|
88 | public $satisfiesPzi;
|
---|
89 | /**
|
---|
90 | * @var bool
|
---|
91 | */
|
---|
92 | public $satisfiesPzs;
|
---|
93 | /**
|
---|
94 | * @var string[]
|
---|
95 | */
|
---|
96 | public $supportedDeploymentResourcesTypes;
|
---|
97 | protected $supportedExportFormatsType = GoogleCloudAiplatformV1ModelExportFormat::class;
|
---|
98 | protected $supportedExportFormatsDataType = 'array';
|
---|
99 | /**
|
---|
100 | * @var string[]
|
---|
101 | */
|
---|
102 | public $supportedInputStorageFormats;
|
---|
103 | /**
|
---|
104 | * @var string[]
|
---|
105 | */
|
---|
106 | public $supportedOutputStorageFormats;
|
---|
107 | /**
|
---|
108 | * @var string
|
---|
109 | */
|
---|
110 | public $trainingPipeline;
|
---|
111 | /**
|
---|
112 | * @var string
|
---|
113 | */
|
---|
114 | public $updateTime;
|
---|
115 | /**
|
---|
116 | * @var string[]
|
---|
117 | */
|
---|
118 | public $versionAliases;
|
---|
119 | /**
|
---|
120 | * @var string
|
---|
121 | */
|
---|
122 | public $versionCreateTime;
|
---|
123 | /**
|
---|
124 | * @var string
|
---|
125 | */
|
---|
126 | public $versionDescription;
|
---|
127 | /**
|
---|
128 | * @var string
|
---|
129 | */
|
---|
130 | public $versionId;
|
---|
131 | /**
|
---|
132 | * @var string
|
---|
133 | */
|
---|
134 | public $versionUpdateTime;
|
---|
135 |
|
---|
136 | /**
|
---|
137 | * @param string
|
---|
138 | */
|
---|
139 | public function setArtifactUri($artifactUri)
|
---|
140 | {
|
---|
141 | $this->artifactUri = $artifactUri;
|
---|
142 | }
|
---|
143 | /**
|
---|
144 | * @return string
|
---|
145 | */
|
---|
146 | public function getArtifactUri()
|
---|
147 | {
|
---|
148 | return $this->artifactUri;
|
---|
149 | }
|
---|
150 | /**
|
---|
151 | * @param GoogleCloudAiplatformV1ModelBaseModelSource
|
---|
152 | */
|
---|
153 | public function setBaseModelSource(GoogleCloudAiplatformV1ModelBaseModelSource $baseModelSource)
|
---|
154 | {
|
---|
155 | $this->baseModelSource = $baseModelSource;
|
---|
156 | }
|
---|
157 | /**
|
---|
158 | * @return GoogleCloudAiplatformV1ModelBaseModelSource
|
---|
159 | */
|
---|
160 | public function getBaseModelSource()
|
---|
161 | {
|
---|
162 | return $this->baseModelSource;
|
---|
163 | }
|
---|
164 | /**
|
---|
165 | * @param GoogleCloudAiplatformV1ModelContainerSpec
|
---|
166 | */
|
---|
167 | public function setContainerSpec(GoogleCloudAiplatformV1ModelContainerSpec $containerSpec)
|
---|
168 | {
|
---|
169 | $this->containerSpec = $containerSpec;
|
---|
170 | }
|
---|
171 | /**
|
---|
172 | * @return GoogleCloudAiplatformV1ModelContainerSpec
|
---|
173 | */
|
---|
174 | public function getContainerSpec()
|
---|
175 | {
|
---|
176 | return $this->containerSpec;
|
---|
177 | }
|
---|
178 | /**
|
---|
179 | * @param string
|
---|
180 | */
|
---|
181 | public function setCreateTime($createTime)
|
---|
182 | {
|
---|
183 | $this->createTime = $createTime;
|
---|
184 | }
|
---|
185 | /**
|
---|
186 | * @return string
|
---|
187 | */
|
---|
188 | public function getCreateTime()
|
---|
189 | {
|
---|
190 | return $this->createTime;
|
---|
191 | }
|
---|
192 | /**
|
---|
193 | * @param GoogleCloudAiplatformV1ModelDataStats
|
---|
194 | */
|
---|
195 | public function setDataStats(GoogleCloudAiplatformV1ModelDataStats $dataStats)
|
---|
196 | {
|
---|
197 | $this->dataStats = $dataStats;
|
---|
198 | }
|
---|
199 | /**
|
---|
200 | * @return GoogleCloudAiplatformV1ModelDataStats
|
---|
201 | */
|
---|
202 | public function getDataStats()
|
---|
203 | {
|
---|
204 | return $this->dataStats;
|
---|
205 | }
|
---|
206 | /**
|
---|
207 | * @param GoogleCloudAiplatformV1DeployedModelRef[]
|
---|
208 | */
|
---|
209 | public function setDeployedModels($deployedModels)
|
---|
210 | {
|
---|
211 | $this->deployedModels = $deployedModels;
|
---|
212 | }
|
---|
213 | /**
|
---|
214 | * @return GoogleCloudAiplatformV1DeployedModelRef[]
|
---|
215 | */
|
---|
216 | public function getDeployedModels()
|
---|
217 | {
|
---|
218 | return $this->deployedModels;
|
---|
219 | }
|
---|
220 | /**
|
---|
221 | * @param string
|
---|
222 | */
|
---|
223 | public function setDescription($description)
|
---|
224 | {
|
---|
225 | $this->description = $description;
|
---|
226 | }
|
---|
227 | /**
|
---|
228 | * @return string
|
---|
229 | */
|
---|
230 | public function getDescription()
|
---|
231 | {
|
---|
232 | return $this->description;
|
---|
233 | }
|
---|
234 | /**
|
---|
235 | * @param string
|
---|
236 | */
|
---|
237 | public function setDisplayName($displayName)
|
---|
238 | {
|
---|
239 | $this->displayName = $displayName;
|
---|
240 | }
|
---|
241 | /**
|
---|
242 | * @return string
|
---|
243 | */
|
---|
244 | public function getDisplayName()
|
---|
245 | {
|
---|
246 | return $this->displayName;
|
---|
247 | }
|
---|
248 | /**
|
---|
249 | * @param GoogleCloudAiplatformV1EncryptionSpec
|
---|
250 | */
|
---|
251 | public function setEncryptionSpec(GoogleCloudAiplatformV1EncryptionSpec $encryptionSpec)
|
---|
252 | {
|
---|
253 | $this->encryptionSpec = $encryptionSpec;
|
---|
254 | }
|
---|
255 | /**
|
---|
256 | * @return GoogleCloudAiplatformV1EncryptionSpec
|
---|
257 | */
|
---|
258 | public function getEncryptionSpec()
|
---|
259 | {
|
---|
260 | return $this->encryptionSpec;
|
---|
261 | }
|
---|
262 | /**
|
---|
263 | * @param string
|
---|
264 | */
|
---|
265 | public function setEtag($etag)
|
---|
266 | {
|
---|
267 | $this->etag = $etag;
|
---|
268 | }
|
---|
269 | /**
|
---|
270 | * @return string
|
---|
271 | */
|
---|
272 | public function getEtag()
|
---|
273 | {
|
---|
274 | return $this->etag;
|
---|
275 | }
|
---|
276 | /**
|
---|
277 | * @param GoogleCloudAiplatformV1ExplanationSpec
|
---|
278 | */
|
---|
279 | public function setExplanationSpec(GoogleCloudAiplatformV1ExplanationSpec $explanationSpec)
|
---|
280 | {
|
---|
281 | $this->explanationSpec = $explanationSpec;
|
---|
282 | }
|
---|
283 | /**
|
---|
284 | * @return GoogleCloudAiplatformV1ExplanationSpec
|
---|
285 | */
|
---|
286 | public function getExplanationSpec()
|
---|
287 | {
|
---|
288 | return $this->explanationSpec;
|
---|
289 | }
|
---|
290 | /**
|
---|
291 | * @param string[]
|
---|
292 | */
|
---|
293 | public function setLabels($labels)
|
---|
294 | {
|
---|
295 | $this->labels = $labels;
|
---|
296 | }
|
---|
297 | /**
|
---|
298 | * @return string[]
|
---|
299 | */
|
---|
300 | public function getLabels()
|
---|
301 | {
|
---|
302 | return $this->labels;
|
---|
303 | }
|
---|
304 | /**
|
---|
305 | * @param array
|
---|
306 | */
|
---|
307 | public function setMetadata($metadata)
|
---|
308 | {
|
---|
309 | $this->metadata = $metadata;
|
---|
310 | }
|
---|
311 | /**
|
---|
312 | * @return array
|
---|
313 | */
|
---|
314 | public function getMetadata()
|
---|
315 | {
|
---|
316 | return $this->metadata;
|
---|
317 | }
|
---|
318 | /**
|
---|
319 | * @param string
|
---|
320 | */
|
---|
321 | public function setMetadataArtifact($metadataArtifact)
|
---|
322 | {
|
---|
323 | $this->metadataArtifact = $metadataArtifact;
|
---|
324 | }
|
---|
325 | /**
|
---|
326 | * @return string
|
---|
327 | */
|
---|
328 | public function getMetadataArtifact()
|
---|
329 | {
|
---|
330 | return $this->metadataArtifact;
|
---|
331 | }
|
---|
332 | /**
|
---|
333 | * @param string
|
---|
334 | */
|
---|
335 | public function setMetadataSchemaUri($metadataSchemaUri)
|
---|
336 | {
|
---|
337 | $this->metadataSchemaUri = $metadataSchemaUri;
|
---|
338 | }
|
---|
339 | /**
|
---|
340 | * @return string
|
---|
341 | */
|
---|
342 | public function getMetadataSchemaUri()
|
---|
343 | {
|
---|
344 | return $this->metadataSchemaUri;
|
---|
345 | }
|
---|
346 | /**
|
---|
347 | * @param GoogleCloudAiplatformV1ModelSourceInfo
|
---|
348 | */
|
---|
349 | public function setModelSourceInfo(GoogleCloudAiplatformV1ModelSourceInfo $modelSourceInfo)
|
---|
350 | {
|
---|
351 | $this->modelSourceInfo = $modelSourceInfo;
|
---|
352 | }
|
---|
353 | /**
|
---|
354 | * @return GoogleCloudAiplatformV1ModelSourceInfo
|
---|
355 | */
|
---|
356 | public function getModelSourceInfo()
|
---|
357 | {
|
---|
358 | return $this->modelSourceInfo;
|
---|
359 | }
|
---|
360 | /**
|
---|
361 | * @param string
|
---|
362 | */
|
---|
363 | public function setName($name)
|
---|
364 | {
|
---|
365 | $this->name = $name;
|
---|
366 | }
|
---|
367 | /**
|
---|
368 | * @return string
|
---|
369 | */
|
---|
370 | public function getName()
|
---|
371 | {
|
---|
372 | return $this->name;
|
---|
373 | }
|
---|
374 | /**
|
---|
375 | * @param GoogleCloudAiplatformV1ModelOriginalModelInfo
|
---|
376 | */
|
---|
377 | public function setOriginalModelInfo(GoogleCloudAiplatformV1ModelOriginalModelInfo $originalModelInfo)
|
---|
378 | {
|
---|
379 | $this->originalModelInfo = $originalModelInfo;
|
---|
380 | }
|
---|
381 | /**
|
---|
382 | * @return GoogleCloudAiplatformV1ModelOriginalModelInfo
|
---|
383 | */
|
---|
384 | public function getOriginalModelInfo()
|
---|
385 | {
|
---|
386 | return $this->originalModelInfo;
|
---|
387 | }
|
---|
388 | /**
|
---|
389 | * @param string
|
---|
390 | */
|
---|
391 | public function setPipelineJob($pipelineJob)
|
---|
392 | {
|
---|
393 | $this->pipelineJob = $pipelineJob;
|
---|
394 | }
|
---|
395 | /**
|
---|
396 | * @return string
|
---|
397 | */
|
---|
398 | public function getPipelineJob()
|
---|
399 | {
|
---|
400 | return $this->pipelineJob;
|
---|
401 | }
|
---|
402 | /**
|
---|
403 | * @param GoogleCloudAiplatformV1PredictSchemata
|
---|
404 | */
|
---|
405 | public function setPredictSchemata(GoogleCloudAiplatformV1PredictSchemata $predictSchemata)
|
---|
406 | {
|
---|
407 | $this->predictSchemata = $predictSchemata;
|
---|
408 | }
|
---|
409 | /**
|
---|
410 | * @return GoogleCloudAiplatformV1PredictSchemata
|
---|
411 | */
|
---|
412 | public function getPredictSchemata()
|
---|
413 | {
|
---|
414 | return $this->predictSchemata;
|
---|
415 | }
|
---|
416 | /**
|
---|
417 | * @param bool
|
---|
418 | */
|
---|
419 | public function setSatisfiesPzi($satisfiesPzi)
|
---|
420 | {
|
---|
421 | $this->satisfiesPzi = $satisfiesPzi;
|
---|
422 | }
|
---|
423 | /**
|
---|
424 | * @return bool
|
---|
425 | */
|
---|
426 | public function getSatisfiesPzi()
|
---|
427 | {
|
---|
428 | return $this->satisfiesPzi;
|
---|
429 | }
|
---|
430 | /**
|
---|
431 | * @param bool
|
---|
432 | */
|
---|
433 | public function setSatisfiesPzs($satisfiesPzs)
|
---|
434 | {
|
---|
435 | $this->satisfiesPzs = $satisfiesPzs;
|
---|
436 | }
|
---|
437 | /**
|
---|
438 | * @return bool
|
---|
439 | */
|
---|
440 | public function getSatisfiesPzs()
|
---|
441 | {
|
---|
442 | return $this->satisfiesPzs;
|
---|
443 | }
|
---|
444 | /**
|
---|
445 | * @param string[]
|
---|
446 | */
|
---|
447 | public function setSupportedDeploymentResourcesTypes($supportedDeploymentResourcesTypes)
|
---|
448 | {
|
---|
449 | $this->supportedDeploymentResourcesTypes = $supportedDeploymentResourcesTypes;
|
---|
450 | }
|
---|
451 | /**
|
---|
452 | * @return string[]
|
---|
453 | */
|
---|
454 | public function getSupportedDeploymentResourcesTypes()
|
---|
455 | {
|
---|
456 | return $this->supportedDeploymentResourcesTypes;
|
---|
457 | }
|
---|
458 | /**
|
---|
459 | * @param GoogleCloudAiplatformV1ModelExportFormat[]
|
---|
460 | */
|
---|
461 | public function setSupportedExportFormats($supportedExportFormats)
|
---|
462 | {
|
---|
463 | $this->supportedExportFormats = $supportedExportFormats;
|
---|
464 | }
|
---|
465 | /**
|
---|
466 | * @return GoogleCloudAiplatformV1ModelExportFormat[]
|
---|
467 | */
|
---|
468 | public function getSupportedExportFormats()
|
---|
469 | {
|
---|
470 | return $this->supportedExportFormats;
|
---|
471 | }
|
---|
472 | /**
|
---|
473 | * @param string[]
|
---|
474 | */
|
---|
475 | public function setSupportedInputStorageFormats($supportedInputStorageFormats)
|
---|
476 | {
|
---|
477 | $this->supportedInputStorageFormats = $supportedInputStorageFormats;
|
---|
478 | }
|
---|
479 | /**
|
---|
480 | * @return string[]
|
---|
481 | */
|
---|
482 | public function getSupportedInputStorageFormats()
|
---|
483 | {
|
---|
484 | return $this->supportedInputStorageFormats;
|
---|
485 | }
|
---|
486 | /**
|
---|
487 | * @param string[]
|
---|
488 | */
|
---|
489 | public function setSupportedOutputStorageFormats($supportedOutputStorageFormats)
|
---|
490 | {
|
---|
491 | $this->supportedOutputStorageFormats = $supportedOutputStorageFormats;
|
---|
492 | }
|
---|
493 | /**
|
---|
494 | * @return string[]
|
---|
495 | */
|
---|
496 | public function getSupportedOutputStorageFormats()
|
---|
497 | {
|
---|
498 | return $this->supportedOutputStorageFormats;
|
---|
499 | }
|
---|
500 | /**
|
---|
501 | * @param string
|
---|
502 | */
|
---|
503 | public function setTrainingPipeline($trainingPipeline)
|
---|
504 | {
|
---|
505 | $this->trainingPipeline = $trainingPipeline;
|
---|
506 | }
|
---|
507 | /**
|
---|
508 | * @return string
|
---|
509 | */
|
---|
510 | public function getTrainingPipeline()
|
---|
511 | {
|
---|
512 | return $this->trainingPipeline;
|
---|
513 | }
|
---|
514 | /**
|
---|
515 | * @param string
|
---|
516 | */
|
---|
517 | public function setUpdateTime($updateTime)
|
---|
518 | {
|
---|
519 | $this->updateTime = $updateTime;
|
---|
520 | }
|
---|
521 | /**
|
---|
522 | * @return string
|
---|
523 | */
|
---|
524 | public function getUpdateTime()
|
---|
525 | {
|
---|
526 | return $this->updateTime;
|
---|
527 | }
|
---|
528 | /**
|
---|
529 | * @param string[]
|
---|
530 | */
|
---|
531 | public function setVersionAliases($versionAliases)
|
---|
532 | {
|
---|
533 | $this->versionAliases = $versionAliases;
|
---|
534 | }
|
---|
535 | /**
|
---|
536 | * @return string[]
|
---|
537 | */
|
---|
538 | public function getVersionAliases()
|
---|
539 | {
|
---|
540 | return $this->versionAliases;
|
---|
541 | }
|
---|
542 | /**
|
---|
543 | * @param string
|
---|
544 | */
|
---|
545 | public function setVersionCreateTime($versionCreateTime)
|
---|
546 | {
|
---|
547 | $this->versionCreateTime = $versionCreateTime;
|
---|
548 | }
|
---|
549 | /**
|
---|
550 | * @return string
|
---|
551 | */
|
---|
552 | public function getVersionCreateTime()
|
---|
553 | {
|
---|
554 | return $this->versionCreateTime;
|
---|
555 | }
|
---|
556 | /**
|
---|
557 | * @param string
|
---|
558 | */
|
---|
559 | public function setVersionDescription($versionDescription)
|
---|
560 | {
|
---|
561 | $this->versionDescription = $versionDescription;
|
---|
562 | }
|
---|
563 | /**
|
---|
564 | * @return string
|
---|
565 | */
|
---|
566 | public function getVersionDescription()
|
---|
567 | {
|
---|
568 | return $this->versionDescription;
|
---|
569 | }
|
---|
570 | /**
|
---|
571 | * @param string
|
---|
572 | */
|
---|
573 | public function setVersionId($versionId)
|
---|
574 | {
|
---|
575 | $this->versionId = $versionId;
|
---|
576 | }
|
---|
577 | /**
|
---|
578 | * @return string
|
---|
579 | */
|
---|
580 | public function getVersionId()
|
---|
581 | {
|
---|
582 | return $this->versionId;
|
---|
583 | }
|
---|
584 | /**
|
---|
585 | * @param string
|
---|
586 | */
|
---|
587 | public function setVersionUpdateTime($versionUpdateTime)
|
---|
588 | {
|
---|
589 | $this->versionUpdateTime = $versionUpdateTime;
|
---|
590 | }
|
---|
591 | /**
|
---|
592 | * @return string
|
---|
593 | */
|
---|
594 | public function getVersionUpdateTime()
|
---|
595 | {
|
---|
596 | return $this->versionUpdateTime;
|
---|
597 | }
|
---|
598 | }
|
---|
599 |
|
---|
600 | // Adding a class alias for backwards compatibility with the previous class name.
|
---|
601 | class_alias(GoogleCloudAiplatformV1Model::class, 'Google_Service_Aiplatform_GoogleCloudAiplatformV1Model');
|
---|