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\Looker;
|
---|
19 |
|
---|
20 | class Instance extends \Google\Model
|
---|
21 | {
|
---|
22 | protected $adminSettingsType = AdminSettings::class;
|
---|
23 | protected $adminSettingsDataType = '';
|
---|
24 | /**
|
---|
25 | * @var string
|
---|
26 | */
|
---|
27 | public $consumerNetwork;
|
---|
28 | /**
|
---|
29 | * @var string
|
---|
30 | */
|
---|
31 | public $createTime;
|
---|
32 | protected $customDomainType = CustomDomain::class;
|
---|
33 | protected $customDomainDataType = '';
|
---|
34 | protected $denyMaintenancePeriodType = DenyMaintenancePeriod::class;
|
---|
35 | protected $denyMaintenancePeriodDataType = '';
|
---|
36 | /**
|
---|
37 | * @var string
|
---|
38 | */
|
---|
39 | public $egressPublicIp;
|
---|
40 | protected $encryptionConfigType = EncryptionConfig::class;
|
---|
41 | protected $encryptionConfigDataType = '';
|
---|
42 | /**
|
---|
43 | * @var bool
|
---|
44 | */
|
---|
45 | public $fipsEnabled;
|
---|
46 | /**
|
---|
47 | * @var bool
|
---|
48 | */
|
---|
49 | public $geminiEnabled;
|
---|
50 | /**
|
---|
51 | * @var string
|
---|
52 | */
|
---|
53 | public $ingressPrivateIp;
|
---|
54 | /**
|
---|
55 | * @var string
|
---|
56 | */
|
---|
57 | public $ingressPublicIp;
|
---|
58 | protected $lastDenyMaintenancePeriodType = DenyMaintenancePeriod::class;
|
---|
59 | protected $lastDenyMaintenancePeriodDataType = '';
|
---|
60 | /**
|
---|
61 | * @var string
|
---|
62 | */
|
---|
63 | public $linkedLspProjectNumber;
|
---|
64 | /**
|
---|
65 | * @var string
|
---|
66 | */
|
---|
67 | public $lookerUri;
|
---|
68 | /**
|
---|
69 | * @var string
|
---|
70 | */
|
---|
71 | public $lookerVersion;
|
---|
72 | protected $maintenanceScheduleType = MaintenanceSchedule::class;
|
---|
73 | protected $maintenanceScheduleDataType = '';
|
---|
74 | protected $maintenanceWindowType = MaintenanceWindow::class;
|
---|
75 | protected $maintenanceWindowDataType = '';
|
---|
76 | /**
|
---|
77 | * @var string
|
---|
78 | */
|
---|
79 | public $name;
|
---|
80 | protected $oauthConfigType = OAuthConfig::class;
|
---|
81 | protected $oauthConfigDataType = '';
|
---|
82 | /**
|
---|
83 | * @var string
|
---|
84 | */
|
---|
85 | public $platformEdition;
|
---|
86 | /**
|
---|
87 | * @var bool
|
---|
88 | */
|
---|
89 | public $privateIpEnabled;
|
---|
90 | protected $pscConfigType = PscConfig::class;
|
---|
91 | protected $pscConfigDataType = '';
|
---|
92 | /**
|
---|
93 | * @var bool
|
---|
94 | */
|
---|
95 | public $pscEnabled;
|
---|
96 | /**
|
---|
97 | * @var bool
|
---|
98 | */
|
---|
99 | public $publicIpEnabled;
|
---|
100 | /**
|
---|
101 | * @var string
|
---|
102 | */
|
---|
103 | public $reservedRange;
|
---|
104 | /**
|
---|
105 | * @var string
|
---|
106 | */
|
---|
107 | public $state;
|
---|
108 | /**
|
---|
109 | * @var string
|
---|
110 | */
|
---|
111 | public $updateTime;
|
---|
112 | protected $userMetadataType = UserMetadata::class;
|
---|
113 | protected $userMetadataDataType = '';
|
---|
114 |
|
---|
115 | /**
|
---|
116 | * @param AdminSettings
|
---|
117 | */
|
---|
118 | public function setAdminSettings(AdminSettings $adminSettings)
|
---|
119 | {
|
---|
120 | $this->adminSettings = $adminSettings;
|
---|
121 | }
|
---|
122 | /**
|
---|
123 | * @return AdminSettings
|
---|
124 | */
|
---|
125 | public function getAdminSettings()
|
---|
126 | {
|
---|
127 | return $this->adminSettings;
|
---|
128 | }
|
---|
129 | /**
|
---|
130 | * @param string
|
---|
131 | */
|
---|
132 | public function setConsumerNetwork($consumerNetwork)
|
---|
133 | {
|
---|
134 | $this->consumerNetwork = $consumerNetwork;
|
---|
135 | }
|
---|
136 | /**
|
---|
137 | * @return string
|
---|
138 | */
|
---|
139 | public function getConsumerNetwork()
|
---|
140 | {
|
---|
141 | return $this->consumerNetwork;
|
---|
142 | }
|
---|
143 | /**
|
---|
144 | * @param string
|
---|
145 | */
|
---|
146 | public function setCreateTime($createTime)
|
---|
147 | {
|
---|
148 | $this->createTime = $createTime;
|
---|
149 | }
|
---|
150 | /**
|
---|
151 | * @return string
|
---|
152 | */
|
---|
153 | public function getCreateTime()
|
---|
154 | {
|
---|
155 | return $this->createTime;
|
---|
156 | }
|
---|
157 | /**
|
---|
158 | * @param CustomDomain
|
---|
159 | */
|
---|
160 | public function setCustomDomain(CustomDomain $customDomain)
|
---|
161 | {
|
---|
162 | $this->customDomain = $customDomain;
|
---|
163 | }
|
---|
164 | /**
|
---|
165 | * @return CustomDomain
|
---|
166 | */
|
---|
167 | public function getCustomDomain()
|
---|
168 | {
|
---|
169 | return $this->customDomain;
|
---|
170 | }
|
---|
171 | /**
|
---|
172 | * @param DenyMaintenancePeriod
|
---|
173 | */
|
---|
174 | public function setDenyMaintenancePeriod(DenyMaintenancePeriod $denyMaintenancePeriod)
|
---|
175 | {
|
---|
176 | $this->denyMaintenancePeriod = $denyMaintenancePeriod;
|
---|
177 | }
|
---|
178 | /**
|
---|
179 | * @return DenyMaintenancePeriod
|
---|
180 | */
|
---|
181 | public function getDenyMaintenancePeriod()
|
---|
182 | {
|
---|
183 | return $this->denyMaintenancePeriod;
|
---|
184 | }
|
---|
185 | /**
|
---|
186 | * @param string
|
---|
187 | */
|
---|
188 | public function setEgressPublicIp($egressPublicIp)
|
---|
189 | {
|
---|
190 | $this->egressPublicIp = $egressPublicIp;
|
---|
191 | }
|
---|
192 | /**
|
---|
193 | * @return string
|
---|
194 | */
|
---|
195 | public function getEgressPublicIp()
|
---|
196 | {
|
---|
197 | return $this->egressPublicIp;
|
---|
198 | }
|
---|
199 | /**
|
---|
200 | * @param EncryptionConfig
|
---|
201 | */
|
---|
202 | public function setEncryptionConfig(EncryptionConfig $encryptionConfig)
|
---|
203 | {
|
---|
204 | $this->encryptionConfig = $encryptionConfig;
|
---|
205 | }
|
---|
206 | /**
|
---|
207 | * @return EncryptionConfig
|
---|
208 | */
|
---|
209 | public function getEncryptionConfig()
|
---|
210 | {
|
---|
211 | return $this->encryptionConfig;
|
---|
212 | }
|
---|
213 | /**
|
---|
214 | * @param bool
|
---|
215 | */
|
---|
216 | public function setFipsEnabled($fipsEnabled)
|
---|
217 | {
|
---|
218 | $this->fipsEnabled = $fipsEnabled;
|
---|
219 | }
|
---|
220 | /**
|
---|
221 | * @return bool
|
---|
222 | */
|
---|
223 | public function getFipsEnabled()
|
---|
224 | {
|
---|
225 | return $this->fipsEnabled;
|
---|
226 | }
|
---|
227 | /**
|
---|
228 | * @param bool
|
---|
229 | */
|
---|
230 | public function setGeminiEnabled($geminiEnabled)
|
---|
231 | {
|
---|
232 | $this->geminiEnabled = $geminiEnabled;
|
---|
233 | }
|
---|
234 | /**
|
---|
235 | * @return bool
|
---|
236 | */
|
---|
237 | public function getGeminiEnabled()
|
---|
238 | {
|
---|
239 | return $this->geminiEnabled;
|
---|
240 | }
|
---|
241 | /**
|
---|
242 | * @param string
|
---|
243 | */
|
---|
244 | public function setIngressPrivateIp($ingressPrivateIp)
|
---|
245 | {
|
---|
246 | $this->ingressPrivateIp = $ingressPrivateIp;
|
---|
247 | }
|
---|
248 | /**
|
---|
249 | * @return string
|
---|
250 | */
|
---|
251 | public function getIngressPrivateIp()
|
---|
252 | {
|
---|
253 | return $this->ingressPrivateIp;
|
---|
254 | }
|
---|
255 | /**
|
---|
256 | * @param string
|
---|
257 | */
|
---|
258 | public function setIngressPublicIp($ingressPublicIp)
|
---|
259 | {
|
---|
260 | $this->ingressPublicIp = $ingressPublicIp;
|
---|
261 | }
|
---|
262 | /**
|
---|
263 | * @return string
|
---|
264 | */
|
---|
265 | public function getIngressPublicIp()
|
---|
266 | {
|
---|
267 | return $this->ingressPublicIp;
|
---|
268 | }
|
---|
269 | /**
|
---|
270 | * @param DenyMaintenancePeriod
|
---|
271 | */
|
---|
272 | public function setLastDenyMaintenancePeriod(DenyMaintenancePeriod $lastDenyMaintenancePeriod)
|
---|
273 | {
|
---|
274 | $this->lastDenyMaintenancePeriod = $lastDenyMaintenancePeriod;
|
---|
275 | }
|
---|
276 | /**
|
---|
277 | * @return DenyMaintenancePeriod
|
---|
278 | */
|
---|
279 | public function getLastDenyMaintenancePeriod()
|
---|
280 | {
|
---|
281 | return $this->lastDenyMaintenancePeriod;
|
---|
282 | }
|
---|
283 | /**
|
---|
284 | * @param string
|
---|
285 | */
|
---|
286 | public function setLinkedLspProjectNumber($linkedLspProjectNumber)
|
---|
287 | {
|
---|
288 | $this->linkedLspProjectNumber = $linkedLspProjectNumber;
|
---|
289 | }
|
---|
290 | /**
|
---|
291 | * @return string
|
---|
292 | */
|
---|
293 | public function getLinkedLspProjectNumber()
|
---|
294 | {
|
---|
295 | return $this->linkedLspProjectNumber;
|
---|
296 | }
|
---|
297 | /**
|
---|
298 | * @param string
|
---|
299 | */
|
---|
300 | public function setLookerUri($lookerUri)
|
---|
301 | {
|
---|
302 | $this->lookerUri = $lookerUri;
|
---|
303 | }
|
---|
304 | /**
|
---|
305 | * @return string
|
---|
306 | */
|
---|
307 | public function getLookerUri()
|
---|
308 | {
|
---|
309 | return $this->lookerUri;
|
---|
310 | }
|
---|
311 | /**
|
---|
312 | * @param string
|
---|
313 | */
|
---|
314 | public function setLookerVersion($lookerVersion)
|
---|
315 | {
|
---|
316 | $this->lookerVersion = $lookerVersion;
|
---|
317 | }
|
---|
318 | /**
|
---|
319 | * @return string
|
---|
320 | */
|
---|
321 | public function getLookerVersion()
|
---|
322 | {
|
---|
323 | return $this->lookerVersion;
|
---|
324 | }
|
---|
325 | /**
|
---|
326 | * @param MaintenanceSchedule
|
---|
327 | */
|
---|
328 | public function setMaintenanceSchedule(MaintenanceSchedule $maintenanceSchedule)
|
---|
329 | {
|
---|
330 | $this->maintenanceSchedule = $maintenanceSchedule;
|
---|
331 | }
|
---|
332 | /**
|
---|
333 | * @return MaintenanceSchedule
|
---|
334 | */
|
---|
335 | public function getMaintenanceSchedule()
|
---|
336 | {
|
---|
337 | return $this->maintenanceSchedule;
|
---|
338 | }
|
---|
339 | /**
|
---|
340 | * @param MaintenanceWindow
|
---|
341 | */
|
---|
342 | public function setMaintenanceWindow(MaintenanceWindow $maintenanceWindow)
|
---|
343 | {
|
---|
344 | $this->maintenanceWindow = $maintenanceWindow;
|
---|
345 | }
|
---|
346 | /**
|
---|
347 | * @return MaintenanceWindow
|
---|
348 | */
|
---|
349 | public function getMaintenanceWindow()
|
---|
350 | {
|
---|
351 | return $this->maintenanceWindow;
|
---|
352 | }
|
---|
353 | /**
|
---|
354 | * @param string
|
---|
355 | */
|
---|
356 | public function setName($name)
|
---|
357 | {
|
---|
358 | $this->name = $name;
|
---|
359 | }
|
---|
360 | /**
|
---|
361 | * @return string
|
---|
362 | */
|
---|
363 | public function getName()
|
---|
364 | {
|
---|
365 | return $this->name;
|
---|
366 | }
|
---|
367 | /**
|
---|
368 | * @param OAuthConfig
|
---|
369 | */
|
---|
370 | public function setOauthConfig(OAuthConfig $oauthConfig)
|
---|
371 | {
|
---|
372 | $this->oauthConfig = $oauthConfig;
|
---|
373 | }
|
---|
374 | /**
|
---|
375 | * @return OAuthConfig
|
---|
376 | */
|
---|
377 | public function getOauthConfig()
|
---|
378 | {
|
---|
379 | return $this->oauthConfig;
|
---|
380 | }
|
---|
381 | /**
|
---|
382 | * @param string
|
---|
383 | */
|
---|
384 | public function setPlatformEdition($platformEdition)
|
---|
385 | {
|
---|
386 | $this->platformEdition = $platformEdition;
|
---|
387 | }
|
---|
388 | /**
|
---|
389 | * @return string
|
---|
390 | */
|
---|
391 | public function getPlatformEdition()
|
---|
392 | {
|
---|
393 | return $this->platformEdition;
|
---|
394 | }
|
---|
395 | /**
|
---|
396 | * @param bool
|
---|
397 | */
|
---|
398 | public function setPrivateIpEnabled($privateIpEnabled)
|
---|
399 | {
|
---|
400 | $this->privateIpEnabled = $privateIpEnabled;
|
---|
401 | }
|
---|
402 | /**
|
---|
403 | * @return bool
|
---|
404 | */
|
---|
405 | public function getPrivateIpEnabled()
|
---|
406 | {
|
---|
407 | return $this->privateIpEnabled;
|
---|
408 | }
|
---|
409 | /**
|
---|
410 | * @param PscConfig
|
---|
411 | */
|
---|
412 | public function setPscConfig(PscConfig $pscConfig)
|
---|
413 | {
|
---|
414 | $this->pscConfig = $pscConfig;
|
---|
415 | }
|
---|
416 | /**
|
---|
417 | * @return PscConfig
|
---|
418 | */
|
---|
419 | public function getPscConfig()
|
---|
420 | {
|
---|
421 | return $this->pscConfig;
|
---|
422 | }
|
---|
423 | /**
|
---|
424 | * @param bool
|
---|
425 | */
|
---|
426 | public function setPscEnabled($pscEnabled)
|
---|
427 | {
|
---|
428 | $this->pscEnabled = $pscEnabled;
|
---|
429 | }
|
---|
430 | /**
|
---|
431 | * @return bool
|
---|
432 | */
|
---|
433 | public function getPscEnabled()
|
---|
434 | {
|
---|
435 | return $this->pscEnabled;
|
---|
436 | }
|
---|
437 | /**
|
---|
438 | * @param bool
|
---|
439 | */
|
---|
440 | public function setPublicIpEnabled($publicIpEnabled)
|
---|
441 | {
|
---|
442 | $this->publicIpEnabled = $publicIpEnabled;
|
---|
443 | }
|
---|
444 | /**
|
---|
445 | * @return bool
|
---|
446 | */
|
---|
447 | public function getPublicIpEnabled()
|
---|
448 | {
|
---|
449 | return $this->publicIpEnabled;
|
---|
450 | }
|
---|
451 | /**
|
---|
452 | * @param string
|
---|
453 | */
|
---|
454 | public function setReservedRange($reservedRange)
|
---|
455 | {
|
---|
456 | $this->reservedRange = $reservedRange;
|
---|
457 | }
|
---|
458 | /**
|
---|
459 | * @return string
|
---|
460 | */
|
---|
461 | public function getReservedRange()
|
---|
462 | {
|
---|
463 | return $this->reservedRange;
|
---|
464 | }
|
---|
465 | /**
|
---|
466 | * @param string
|
---|
467 | */
|
---|
468 | public function setState($state)
|
---|
469 | {
|
---|
470 | $this->state = $state;
|
---|
471 | }
|
---|
472 | /**
|
---|
473 | * @return string
|
---|
474 | */
|
---|
475 | public function getState()
|
---|
476 | {
|
---|
477 | return $this->state;
|
---|
478 | }
|
---|
479 | /**
|
---|
480 | * @param string
|
---|
481 | */
|
---|
482 | public function setUpdateTime($updateTime)
|
---|
483 | {
|
---|
484 | $this->updateTime = $updateTime;
|
---|
485 | }
|
---|
486 | /**
|
---|
487 | * @return string
|
---|
488 | */
|
---|
489 | public function getUpdateTime()
|
---|
490 | {
|
---|
491 | return $this->updateTime;
|
---|
492 | }
|
---|
493 | /**
|
---|
494 | * @param UserMetadata
|
---|
495 | */
|
---|
496 | public function setUserMetadata(UserMetadata $userMetadata)
|
---|
497 | {
|
---|
498 | $this->userMetadata = $userMetadata;
|
---|
499 | }
|
---|
500 | /**
|
---|
501 | * @return UserMetadata
|
---|
502 | */
|
---|
503 | public function getUserMetadata()
|
---|
504 | {
|
---|
505 | return $this->userMetadata;
|
---|
506 | }
|
---|
507 | }
|
---|
508 |
|
---|
509 | // Adding a class alias for backwards compatibility with the previous class name.
|
---|
510 | class_alias(Instance::class, 'Google_Service_Looker_Instance');
|
---|