source: vendor/google/apiclient-services/src/Aiplatform/GoogleCloudAiplatformV1WorkerPoolSpec.php

Last change on this file was e3d4e0a, checked in by Vlado 222039 <vlado.popovski@…>, 6 weeks ago

Upload project files

  • Property mode set to 100644
File size: 3.4 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\Aiplatform;
19
20class GoogleCloudAiplatformV1WorkerPoolSpec extends \Google\Collection
21{
22 protected $collection_key = 'nfsMounts';
23 protected $containerSpecType = GoogleCloudAiplatformV1ContainerSpec::class;
24 protected $containerSpecDataType = '';
25 protected $diskSpecType = GoogleCloudAiplatformV1DiskSpec::class;
26 protected $diskSpecDataType = '';
27 protected $machineSpecType = GoogleCloudAiplatformV1MachineSpec::class;
28 protected $machineSpecDataType = '';
29 protected $nfsMountsType = GoogleCloudAiplatformV1NfsMount::class;
30 protected $nfsMountsDataType = 'array';
31 protected $pythonPackageSpecType = GoogleCloudAiplatformV1PythonPackageSpec::class;
32 protected $pythonPackageSpecDataType = '';
33 /**
34 * @var string
35 */
36 public $replicaCount;
37
38 /**
39 * @param GoogleCloudAiplatformV1ContainerSpec
40 */
41 public function setContainerSpec(GoogleCloudAiplatformV1ContainerSpec $containerSpec)
42 {
43 $this->containerSpec = $containerSpec;
44 }
45 /**
46 * @return GoogleCloudAiplatformV1ContainerSpec
47 */
48 public function getContainerSpec()
49 {
50 return $this->containerSpec;
51 }
52 /**
53 * @param GoogleCloudAiplatformV1DiskSpec
54 */
55 public function setDiskSpec(GoogleCloudAiplatformV1DiskSpec $diskSpec)
56 {
57 $this->diskSpec = $diskSpec;
58 }
59 /**
60 * @return GoogleCloudAiplatformV1DiskSpec
61 */
62 public function getDiskSpec()
63 {
64 return $this->diskSpec;
65 }
66 /**
67 * @param GoogleCloudAiplatformV1MachineSpec
68 */
69 public function setMachineSpec(GoogleCloudAiplatformV1MachineSpec $machineSpec)
70 {
71 $this->machineSpec = $machineSpec;
72 }
73 /**
74 * @return GoogleCloudAiplatformV1MachineSpec
75 */
76 public function getMachineSpec()
77 {
78 return $this->machineSpec;
79 }
80 /**
81 * @param GoogleCloudAiplatformV1NfsMount[]
82 */
83 public function setNfsMounts($nfsMounts)
84 {
85 $this->nfsMounts = $nfsMounts;
86 }
87 /**
88 * @return GoogleCloudAiplatformV1NfsMount[]
89 */
90 public function getNfsMounts()
91 {
92 return $this->nfsMounts;
93 }
94 /**
95 * @param GoogleCloudAiplatformV1PythonPackageSpec
96 */
97 public function setPythonPackageSpec(GoogleCloudAiplatformV1PythonPackageSpec $pythonPackageSpec)
98 {
99 $this->pythonPackageSpec = $pythonPackageSpec;
100 }
101 /**
102 * @return GoogleCloudAiplatformV1PythonPackageSpec
103 */
104 public function getPythonPackageSpec()
105 {
106 return $this->pythonPackageSpec;
107 }
108 /**
109 * @param string
110 */
111 public function setReplicaCount($replicaCount)
112 {
113 $this->replicaCount = $replicaCount;
114 }
115 /**
116 * @return string
117 */
118 public function getReplicaCount()
119 {
120 return $this->replicaCount;
121 }
122}
123
124// Adding a class alias for backwards compatibility with the previous class name.
125class_alias(GoogleCloudAiplatformV1WorkerPoolSpec::class, 'Google_Service_Aiplatform_GoogleCloudAiplatformV1WorkerPoolSpec');
Note: See TracBrowser for help on using the repository browser.