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\Baremetalsolution;
|
---|
19 |
|
---|
20 | class ProvisioningConfig extends \Google\Collection
|
---|
21 | {
|
---|
22 | protected $collection_key = 'volumes';
|
---|
23 | /**
|
---|
24 | * @var string
|
---|
25 | */
|
---|
26 | public $cloudConsoleUri;
|
---|
27 | /**
|
---|
28 | * @var string
|
---|
29 | */
|
---|
30 | public $customId;
|
---|
31 | /**
|
---|
32 | * @var string
|
---|
33 | */
|
---|
34 | public $email;
|
---|
35 | /**
|
---|
36 | * @var string
|
---|
37 | */
|
---|
38 | public $handoverServiceAccount;
|
---|
39 | protected $instancesType = InstanceConfig::class;
|
---|
40 | protected $instancesDataType = 'array';
|
---|
41 | /**
|
---|
42 | * @var string
|
---|
43 | */
|
---|
44 | public $location;
|
---|
45 | /**
|
---|
46 | * @var string
|
---|
47 | */
|
---|
48 | public $name;
|
---|
49 | protected $networksType = NetworkConfig::class;
|
---|
50 | protected $networksDataType = 'array';
|
---|
51 | /**
|
---|
52 | * @var string
|
---|
53 | */
|
---|
54 | public $pod;
|
---|
55 | /**
|
---|
56 | * @var string
|
---|
57 | */
|
---|
58 | public $state;
|
---|
59 | /**
|
---|
60 | * @var string
|
---|
61 | */
|
---|
62 | public $statusMessage;
|
---|
63 | /**
|
---|
64 | * @var string
|
---|
65 | */
|
---|
66 | public $ticketId;
|
---|
67 | /**
|
---|
68 | * @var string
|
---|
69 | */
|
---|
70 | public $updateTime;
|
---|
71 | protected $volumesType = VolumeConfig::class;
|
---|
72 | protected $volumesDataType = 'array';
|
---|
73 | /**
|
---|
74 | * @var bool
|
---|
75 | */
|
---|
76 | public $vpcScEnabled;
|
---|
77 |
|
---|
78 | /**
|
---|
79 | * @param string
|
---|
80 | */
|
---|
81 | public function setCloudConsoleUri($cloudConsoleUri)
|
---|
82 | {
|
---|
83 | $this->cloudConsoleUri = $cloudConsoleUri;
|
---|
84 | }
|
---|
85 | /**
|
---|
86 | * @return string
|
---|
87 | */
|
---|
88 | public function getCloudConsoleUri()
|
---|
89 | {
|
---|
90 | return $this->cloudConsoleUri;
|
---|
91 | }
|
---|
92 | /**
|
---|
93 | * @param string
|
---|
94 | */
|
---|
95 | public function setCustomId($customId)
|
---|
96 | {
|
---|
97 | $this->customId = $customId;
|
---|
98 | }
|
---|
99 | /**
|
---|
100 | * @return string
|
---|
101 | */
|
---|
102 | public function getCustomId()
|
---|
103 | {
|
---|
104 | return $this->customId;
|
---|
105 | }
|
---|
106 | /**
|
---|
107 | * @param string
|
---|
108 | */
|
---|
109 | public function setEmail($email)
|
---|
110 | {
|
---|
111 | $this->email = $email;
|
---|
112 | }
|
---|
113 | /**
|
---|
114 | * @return string
|
---|
115 | */
|
---|
116 | public function getEmail()
|
---|
117 | {
|
---|
118 | return $this->email;
|
---|
119 | }
|
---|
120 | /**
|
---|
121 | * @param string
|
---|
122 | */
|
---|
123 | public function setHandoverServiceAccount($handoverServiceAccount)
|
---|
124 | {
|
---|
125 | $this->handoverServiceAccount = $handoverServiceAccount;
|
---|
126 | }
|
---|
127 | /**
|
---|
128 | * @return string
|
---|
129 | */
|
---|
130 | public function getHandoverServiceAccount()
|
---|
131 | {
|
---|
132 | return $this->handoverServiceAccount;
|
---|
133 | }
|
---|
134 | /**
|
---|
135 | * @param InstanceConfig[]
|
---|
136 | */
|
---|
137 | public function setInstances($instances)
|
---|
138 | {
|
---|
139 | $this->instances = $instances;
|
---|
140 | }
|
---|
141 | /**
|
---|
142 | * @return InstanceConfig[]
|
---|
143 | */
|
---|
144 | public function getInstances()
|
---|
145 | {
|
---|
146 | return $this->instances;
|
---|
147 | }
|
---|
148 | /**
|
---|
149 | * @param string
|
---|
150 | */
|
---|
151 | public function setLocation($location)
|
---|
152 | {
|
---|
153 | $this->location = $location;
|
---|
154 | }
|
---|
155 | /**
|
---|
156 | * @return string
|
---|
157 | */
|
---|
158 | public function getLocation()
|
---|
159 | {
|
---|
160 | return $this->location;
|
---|
161 | }
|
---|
162 | /**
|
---|
163 | * @param string
|
---|
164 | */
|
---|
165 | public function setName($name)
|
---|
166 | {
|
---|
167 | $this->name = $name;
|
---|
168 | }
|
---|
169 | /**
|
---|
170 | * @return string
|
---|
171 | */
|
---|
172 | public function getName()
|
---|
173 | {
|
---|
174 | return $this->name;
|
---|
175 | }
|
---|
176 | /**
|
---|
177 | * @param NetworkConfig[]
|
---|
178 | */
|
---|
179 | public function setNetworks($networks)
|
---|
180 | {
|
---|
181 | $this->networks = $networks;
|
---|
182 | }
|
---|
183 | /**
|
---|
184 | * @return NetworkConfig[]
|
---|
185 | */
|
---|
186 | public function getNetworks()
|
---|
187 | {
|
---|
188 | return $this->networks;
|
---|
189 | }
|
---|
190 | /**
|
---|
191 | * @param string
|
---|
192 | */
|
---|
193 | public function setPod($pod)
|
---|
194 | {
|
---|
195 | $this->pod = $pod;
|
---|
196 | }
|
---|
197 | /**
|
---|
198 | * @return string
|
---|
199 | */
|
---|
200 | public function getPod()
|
---|
201 | {
|
---|
202 | return $this->pod;
|
---|
203 | }
|
---|
204 | /**
|
---|
205 | * @param string
|
---|
206 | */
|
---|
207 | public function setState($state)
|
---|
208 | {
|
---|
209 | $this->state = $state;
|
---|
210 | }
|
---|
211 | /**
|
---|
212 | * @return string
|
---|
213 | */
|
---|
214 | public function getState()
|
---|
215 | {
|
---|
216 | return $this->state;
|
---|
217 | }
|
---|
218 | /**
|
---|
219 | * @param string
|
---|
220 | */
|
---|
221 | public function setStatusMessage($statusMessage)
|
---|
222 | {
|
---|
223 | $this->statusMessage = $statusMessage;
|
---|
224 | }
|
---|
225 | /**
|
---|
226 | * @return string
|
---|
227 | */
|
---|
228 | public function getStatusMessage()
|
---|
229 | {
|
---|
230 | return $this->statusMessage;
|
---|
231 | }
|
---|
232 | /**
|
---|
233 | * @param string
|
---|
234 | */
|
---|
235 | public function setTicketId($ticketId)
|
---|
236 | {
|
---|
237 | $this->ticketId = $ticketId;
|
---|
238 | }
|
---|
239 | /**
|
---|
240 | * @return string
|
---|
241 | */
|
---|
242 | public function getTicketId()
|
---|
243 | {
|
---|
244 | return $this->ticketId;
|
---|
245 | }
|
---|
246 | /**
|
---|
247 | * @param string
|
---|
248 | */
|
---|
249 | public function setUpdateTime($updateTime)
|
---|
250 | {
|
---|
251 | $this->updateTime = $updateTime;
|
---|
252 | }
|
---|
253 | /**
|
---|
254 | * @return string
|
---|
255 | */
|
---|
256 | public function getUpdateTime()
|
---|
257 | {
|
---|
258 | return $this->updateTime;
|
---|
259 | }
|
---|
260 | /**
|
---|
261 | * @param VolumeConfig[]
|
---|
262 | */
|
---|
263 | public function setVolumes($volumes)
|
---|
264 | {
|
---|
265 | $this->volumes = $volumes;
|
---|
266 | }
|
---|
267 | /**
|
---|
268 | * @return VolumeConfig[]
|
---|
269 | */
|
---|
270 | public function getVolumes()
|
---|
271 | {
|
---|
272 | return $this->volumes;
|
---|
273 | }
|
---|
274 | /**
|
---|
275 | * @param bool
|
---|
276 | */
|
---|
277 | public function setVpcScEnabled($vpcScEnabled)
|
---|
278 | {
|
---|
279 | $this->vpcScEnabled = $vpcScEnabled;
|
---|
280 | }
|
---|
281 | /**
|
---|
282 | * @return bool
|
---|
283 | */
|
---|
284 | public function getVpcScEnabled()
|
---|
285 | {
|
---|
286 | return $this->vpcScEnabled;
|
---|
287 | }
|
---|
288 | }
|
---|
289 |
|
---|
290 | // Adding a class alias for backwards compatibility with the previous class name.
|
---|
291 | class_alias(ProvisioningConfig::class, 'Google_Service_Baremetalsolution_ProvisioningConfig');
|
---|