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

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

Upload 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\Aiplatform;
19
20class GoogleCloudAiplatformV1ModelContainerSpec extends \Google\Collection
21{
22 protected $collection_key = 'ports';
23 /**
24 * @var string[]
25 */
26 public $args;
27 /**
28 * @var string[]
29 */
30 public $command;
31 /**
32 * @var string
33 */
34 public $deploymentTimeout;
35 protected $envType = GoogleCloudAiplatformV1EnvVar::class;
36 protected $envDataType = 'array';
37 protected $grpcPortsType = GoogleCloudAiplatformV1Port::class;
38 protected $grpcPortsDataType = 'array';
39 protected $healthProbeType = GoogleCloudAiplatformV1Probe::class;
40 protected $healthProbeDataType = '';
41 /**
42 * @var string
43 */
44 public $healthRoute;
45 /**
46 * @var string
47 */
48 public $imageUri;
49 protected $portsType = GoogleCloudAiplatformV1Port::class;
50 protected $portsDataType = 'array';
51 /**
52 * @var string
53 */
54 public $predictRoute;
55 /**
56 * @var string
57 */
58 public $sharedMemorySizeMb;
59 protected $startupProbeType = GoogleCloudAiplatformV1Probe::class;
60 protected $startupProbeDataType = '';
61
62 /**
63 * @param string[]
64 */
65 public function setArgs($args)
66 {
67 $this->args = $args;
68 }
69 /**
70 * @return string[]
71 */
72 public function getArgs()
73 {
74 return $this->args;
75 }
76 /**
77 * @param string[]
78 */
79 public function setCommand($command)
80 {
81 $this->command = $command;
82 }
83 /**
84 * @return string[]
85 */
86 public function getCommand()
87 {
88 return $this->command;
89 }
90 /**
91 * @param string
92 */
93 public function setDeploymentTimeout($deploymentTimeout)
94 {
95 $this->deploymentTimeout = $deploymentTimeout;
96 }
97 /**
98 * @return string
99 */
100 public function getDeploymentTimeout()
101 {
102 return $this->deploymentTimeout;
103 }
104 /**
105 * @param GoogleCloudAiplatformV1EnvVar[]
106 */
107 public function setEnv($env)
108 {
109 $this->env = $env;
110 }
111 /**
112 * @return GoogleCloudAiplatformV1EnvVar[]
113 */
114 public function getEnv()
115 {
116 return $this->env;
117 }
118 /**
119 * @param GoogleCloudAiplatformV1Port[]
120 */
121 public function setGrpcPorts($grpcPorts)
122 {
123 $this->grpcPorts = $grpcPorts;
124 }
125 /**
126 * @return GoogleCloudAiplatformV1Port[]
127 */
128 public function getGrpcPorts()
129 {
130 return $this->grpcPorts;
131 }
132 /**
133 * @param GoogleCloudAiplatformV1Probe
134 */
135 public function setHealthProbe(GoogleCloudAiplatformV1Probe $healthProbe)
136 {
137 $this->healthProbe = $healthProbe;
138 }
139 /**
140 * @return GoogleCloudAiplatformV1Probe
141 */
142 public function getHealthProbe()
143 {
144 return $this->healthProbe;
145 }
146 /**
147 * @param string
148 */
149 public function setHealthRoute($healthRoute)
150 {
151 $this->healthRoute = $healthRoute;
152 }
153 /**
154 * @return string
155 */
156 public function getHealthRoute()
157 {
158 return $this->healthRoute;
159 }
160 /**
161 * @param string
162 */
163 public function setImageUri($imageUri)
164 {
165 $this->imageUri = $imageUri;
166 }
167 /**
168 * @return string
169 */
170 public function getImageUri()
171 {
172 return $this->imageUri;
173 }
174 /**
175 * @param GoogleCloudAiplatformV1Port[]
176 */
177 public function setPorts($ports)
178 {
179 $this->ports = $ports;
180 }
181 /**
182 * @return GoogleCloudAiplatformV1Port[]
183 */
184 public function getPorts()
185 {
186 return $this->ports;
187 }
188 /**
189 * @param string
190 */
191 public function setPredictRoute($predictRoute)
192 {
193 $this->predictRoute = $predictRoute;
194 }
195 /**
196 * @return string
197 */
198 public function getPredictRoute()
199 {
200 return $this->predictRoute;
201 }
202 /**
203 * @param string
204 */
205 public function setSharedMemorySizeMb($sharedMemorySizeMb)
206 {
207 $this->sharedMemorySizeMb = $sharedMemorySizeMb;
208 }
209 /**
210 * @return string
211 */
212 public function getSharedMemorySizeMb()
213 {
214 return $this->sharedMemorySizeMb;
215 }
216 /**
217 * @param GoogleCloudAiplatformV1Probe
218 */
219 public function setStartupProbe(GoogleCloudAiplatformV1Probe $startupProbe)
220 {
221 $this->startupProbe = $startupProbe;
222 }
223 /**
224 * @return GoogleCloudAiplatformV1Probe
225 */
226 public function getStartupProbe()
227 {
228 return $this->startupProbe;
229 }
230}
231
232// Adding a class alias for backwards compatibility with the previous class name.
233class_alias(GoogleCloudAiplatformV1ModelContainerSpec::class, 'Google_Service_Aiplatform_GoogleCloudAiplatformV1ModelContainerSpec');
Note: See TracBrowser for help on using the repository browser.