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\DataFusion;
|
---|
19 |
|
---|
20 | class Instance extends \Google\Collection
|
---|
21 | {
|
---|
22 | protected $collection_key = 'disabledReason';
|
---|
23 | protected $acceleratorsType = Accelerator::class;
|
---|
24 | protected $acceleratorsDataType = 'array';
|
---|
25 | /**
|
---|
26 | * @var string
|
---|
27 | */
|
---|
28 | public $apiEndpoint;
|
---|
29 | protected $availableVersionType = Version::class;
|
---|
30 | protected $availableVersionDataType = 'array';
|
---|
31 | /**
|
---|
32 | * @var string
|
---|
33 | */
|
---|
34 | public $createTime;
|
---|
35 | protected $cryptoKeyConfigType = CryptoKeyConfig::class;
|
---|
36 | protected $cryptoKeyConfigDataType = '';
|
---|
37 | /**
|
---|
38 | * @var bool
|
---|
39 | */
|
---|
40 | public $dataplexDataLineageIntegrationEnabled;
|
---|
41 | /**
|
---|
42 | * @var string
|
---|
43 | */
|
---|
44 | public $dataprocServiceAccount;
|
---|
45 | /**
|
---|
46 | * @var string
|
---|
47 | */
|
---|
48 | public $description;
|
---|
49 | /**
|
---|
50 | * @var string[]
|
---|
51 | */
|
---|
52 | public $disabledReason;
|
---|
53 | /**
|
---|
54 | * @var string
|
---|
55 | */
|
---|
56 | public $displayName;
|
---|
57 | /**
|
---|
58 | * @var bool
|
---|
59 | */
|
---|
60 | public $enableRbac;
|
---|
61 | /**
|
---|
62 | * @var bool
|
---|
63 | */
|
---|
64 | public $enableStackdriverLogging;
|
---|
65 | /**
|
---|
66 | * @var bool
|
---|
67 | */
|
---|
68 | public $enableStackdriverMonitoring;
|
---|
69 | /**
|
---|
70 | * @var bool
|
---|
71 | */
|
---|
72 | public $enableZoneSeparation;
|
---|
73 | protected $eventPublishConfigType = EventPublishConfig::class;
|
---|
74 | protected $eventPublishConfigDataType = '';
|
---|
75 | /**
|
---|
76 | * @var string
|
---|
77 | */
|
---|
78 | public $gcsBucket;
|
---|
79 | /**
|
---|
80 | * @var string[]
|
---|
81 | */
|
---|
82 | public $labels;
|
---|
83 | protected $maintenancePolicyType = MaintenancePolicy::class;
|
---|
84 | protected $maintenancePolicyDataType = '';
|
---|
85 | /**
|
---|
86 | * @var string
|
---|
87 | */
|
---|
88 | public $name;
|
---|
89 | protected $networkConfigType = NetworkConfig::class;
|
---|
90 | protected $networkConfigDataType = '';
|
---|
91 | /**
|
---|
92 | * @var string[]
|
---|
93 | */
|
---|
94 | public $options;
|
---|
95 | /**
|
---|
96 | * @var string
|
---|
97 | */
|
---|
98 | public $p4ServiceAccount;
|
---|
99 | /**
|
---|
100 | * @var string
|
---|
101 | */
|
---|
102 | public $patchRevision;
|
---|
103 | /**
|
---|
104 | * @var bool
|
---|
105 | */
|
---|
106 | public $privateInstance;
|
---|
107 | /**
|
---|
108 | * @var bool
|
---|
109 | */
|
---|
110 | public $satisfiesPzs;
|
---|
111 | /**
|
---|
112 | * @var string
|
---|
113 | */
|
---|
114 | public $serviceAccount;
|
---|
115 | /**
|
---|
116 | * @var string
|
---|
117 | */
|
---|
118 | public $serviceEndpoint;
|
---|
119 | /**
|
---|
120 | * @var string
|
---|
121 | */
|
---|
122 | public $state;
|
---|
123 | /**
|
---|
124 | * @var string
|
---|
125 | */
|
---|
126 | public $stateMessage;
|
---|
127 | /**
|
---|
128 | * @var string
|
---|
129 | */
|
---|
130 | public $tenantProjectId;
|
---|
131 | /**
|
---|
132 | * @var string
|
---|
133 | */
|
---|
134 | public $type;
|
---|
135 | /**
|
---|
136 | * @var string
|
---|
137 | */
|
---|
138 | public $updateTime;
|
---|
139 | /**
|
---|
140 | * @var string
|
---|
141 | */
|
---|
142 | public $version;
|
---|
143 | /**
|
---|
144 | * @var string
|
---|
145 | */
|
---|
146 | public $workforceIdentityServiceEndpoint;
|
---|
147 | /**
|
---|
148 | * @var string
|
---|
149 | */
|
---|
150 | public $zone;
|
---|
151 |
|
---|
152 | /**
|
---|
153 | * @param Accelerator[]
|
---|
154 | */
|
---|
155 | public function setAccelerators($accelerators)
|
---|
156 | {
|
---|
157 | $this->accelerators = $accelerators;
|
---|
158 | }
|
---|
159 | /**
|
---|
160 | * @return Accelerator[]
|
---|
161 | */
|
---|
162 | public function getAccelerators()
|
---|
163 | {
|
---|
164 | return $this->accelerators;
|
---|
165 | }
|
---|
166 | /**
|
---|
167 | * @param string
|
---|
168 | */
|
---|
169 | public function setApiEndpoint($apiEndpoint)
|
---|
170 | {
|
---|
171 | $this->apiEndpoint = $apiEndpoint;
|
---|
172 | }
|
---|
173 | /**
|
---|
174 | * @return string
|
---|
175 | */
|
---|
176 | public function getApiEndpoint()
|
---|
177 | {
|
---|
178 | return $this->apiEndpoint;
|
---|
179 | }
|
---|
180 | /**
|
---|
181 | * @param Version[]
|
---|
182 | */
|
---|
183 | public function setAvailableVersion($availableVersion)
|
---|
184 | {
|
---|
185 | $this->availableVersion = $availableVersion;
|
---|
186 | }
|
---|
187 | /**
|
---|
188 | * @return Version[]
|
---|
189 | */
|
---|
190 | public function getAvailableVersion()
|
---|
191 | {
|
---|
192 | return $this->availableVersion;
|
---|
193 | }
|
---|
194 | /**
|
---|
195 | * @param string
|
---|
196 | */
|
---|
197 | public function setCreateTime($createTime)
|
---|
198 | {
|
---|
199 | $this->createTime = $createTime;
|
---|
200 | }
|
---|
201 | /**
|
---|
202 | * @return string
|
---|
203 | */
|
---|
204 | public function getCreateTime()
|
---|
205 | {
|
---|
206 | return $this->createTime;
|
---|
207 | }
|
---|
208 | /**
|
---|
209 | * @param CryptoKeyConfig
|
---|
210 | */
|
---|
211 | public function setCryptoKeyConfig(CryptoKeyConfig $cryptoKeyConfig)
|
---|
212 | {
|
---|
213 | $this->cryptoKeyConfig = $cryptoKeyConfig;
|
---|
214 | }
|
---|
215 | /**
|
---|
216 | * @return CryptoKeyConfig
|
---|
217 | */
|
---|
218 | public function getCryptoKeyConfig()
|
---|
219 | {
|
---|
220 | return $this->cryptoKeyConfig;
|
---|
221 | }
|
---|
222 | /**
|
---|
223 | * @param bool
|
---|
224 | */
|
---|
225 | public function setDataplexDataLineageIntegrationEnabled($dataplexDataLineageIntegrationEnabled)
|
---|
226 | {
|
---|
227 | $this->dataplexDataLineageIntegrationEnabled = $dataplexDataLineageIntegrationEnabled;
|
---|
228 | }
|
---|
229 | /**
|
---|
230 | * @return bool
|
---|
231 | */
|
---|
232 | public function getDataplexDataLineageIntegrationEnabled()
|
---|
233 | {
|
---|
234 | return $this->dataplexDataLineageIntegrationEnabled;
|
---|
235 | }
|
---|
236 | /**
|
---|
237 | * @param string
|
---|
238 | */
|
---|
239 | public function setDataprocServiceAccount($dataprocServiceAccount)
|
---|
240 | {
|
---|
241 | $this->dataprocServiceAccount = $dataprocServiceAccount;
|
---|
242 | }
|
---|
243 | /**
|
---|
244 | * @return string
|
---|
245 | */
|
---|
246 | public function getDataprocServiceAccount()
|
---|
247 | {
|
---|
248 | return $this->dataprocServiceAccount;
|
---|
249 | }
|
---|
250 | /**
|
---|
251 | * @param string
|
---|
252 | */
|
---|
253 | public function setDescription($description)
|
---|
254 | {
|
---|
255 | $this->description = $description;
|
---|
256 | }
|
---|
257 | /**
|
---|
258 | * @return string
|
---|
259 | */
|
---|
260 | public function getDescription()
|
---|
261 | {
|
---|
262 | return $this->description;
|
---|
263 | }
|
---|
264 | /**
|
---|
265 | * @param string[]
|
---|
266 | */
|
---|
267 | public function setDisabledReason($disabledReason)
|
---|
268 | {
|
---|
269 | $this->disabledReason = $disabledReason;
|
---|
270 | }
|
---|
271 | /**
|
---|
272 | * @return string[]
|
---|
273 | */
|
---|
274 | public function getDisabledReason()
|
---|
275 | {
|
---|
276 | return $this->disabledReason;
|
---|
277 | }
|
---|
278 | /**
|
---|
279 | * @param string
|
---|
280 | */
|
---|
281 | public function setDisplayName($displayName)
|
---|
282 | {
|
---|
283 | $this->displayName = $displayName;
|
---|
284 | }
|
---|
285 | /**
|
---|
286 | * @return string
|
---|
287 | */
|
---|
288 | public function getDisplayName()
|
---|
289 | {
|
---|
290 | return $this->displayName;
|
---|
291 | }
|
---|
292 | /**
|
---|
293 | * @param bool
|
---|
294 | */
|
---|
295 | public function setEnableRbac($enableRbac)
|
---|
296 | {
|
---|
297 | $this->enableRbac = $enableRbac;
|
---|
298 | }
|
---|
299 | /**
|
---|
300 | * @return bool
|
---|
301 | */
|
---|
302 | public function getEnableRbac()
|
---|
303 | {
|
---|
304 | return $this->enableRbac;
|
---|
305 | }
|
---|
306 | /**
|
---|
307 | * @param bool
|
---|
308 | */
|
---|
309 | public function setEnableStackdriverLogging($enableStackdriverLogging)
|
---|
310 | {
|
---|
311 | $this->enableStackdriverLogging = $enableStackdriverLogging;
|
---|
312 | }
|
---|
313 | /**
|
---|
314 | * @return bool
|
---|
315 | */
|
---|
316 | public function getEnableStackdriverLogging()
|
---|
317 | {
|
---|
318 | return $this->enableStackdriverLogging;
|
---|
319 | }
|
---|
320 | /**
|
---|
321 | * @param bool
|
---|
322 | */
|
---|
323 | public function setEnableStackdriverMonitoring($enableStackdriverMonitoring)
|
---|
324 | {
|
---|
325 | $this->enableStackdriverMonitoring = $enableStackdriverMonitoring;
|
---|
326 | }
|
---|
327 | /**
|
---|
328 | * @return bool
|
---|
329 | */
|
---|
330 | public function getEnableStackdriverMonitoring()
|
---|
331 | {
|
---|
332 | return $this->enableStackdriverMonitoring;
|
---|
333 | }
|
---|
334 | /**
|
---|
335 | * @param bool
|
---|
336 | */
|
---|
337 | public function setEnableZoneSeparation($enableZoneSeparation)
|
---|
338 | {
|
---|
339 | $this->enableZoneSeparation = $enableZoneSeparation;
|
---|
340 | }
|
---|
341 | /**
|
---|
342 | * @return bool
|
---|
343 | */
|
---|
344 | public function getEnableZoneSeparation()
|
---|
345 | {
|
---|
346 | return $this->enableZoneSeparation;
|
---|
347 | }
|
---|
348 | /**
|
---|
349 | * @param EventPublishConfig
|
---|
350 | */
|
---|
351 | public function setEventPublishConfig(EventPublishConfig $eventPublishConfig)
|
---|
352 | {
|
---|
353 | $this->eventPublishConfig = $eventPublishConfig;
|
---|
354 | }
|
---|
355 | /**
|
---|
356 | * @return EventPublishConfig
|
---|
357 | */
|
---|
358 | public function getEventPublishConfig()
|
---|
359 | {
|
---|
360 | return $this->eventPublishConfig;
|
---|
361 | }
|
---|
362 | /**
|
---|
363 | * @param string
|
---|
364 | */
|
---|
365 | public function setGcsBucket($gcsBucket)
|
---|
366 | {
|
---|
367 | $this->gcsBucket = $gcsBucket;
|
---|
368 | }
|
---|
369 | /**
|
---|
370 | * @return string
|
---|
371 | */
|
---|
372 | public function getGcsBucket()
|
---|
373 | {
|
---|
374 | return $this->gcsBucket;
|
---|
375 | }
|
---|
376 | /**
|
---|
377 | * @param string[]
|
---|
378 | */
|
---|
379 | public function setLabels($labels)
|
---|
380 | {
|
---|
381 | $this->labels = $labels;
|
---|
382 | }
|
---|
383 | /**
|
---|
384 | * @return string[]
|
---|
385 | */
|
---|
386 | public function getLabels()
|
---|
387 | {
|
---|
388 | return $this->labels;
|
---|
389 | }
|
---|
390 | /**
|
---|
391 | * @param MaintenancePolicy
|
---|
392 | */
|
---|
393 | public function setMaintenancePolicy(MaintenancePolicy $maintenancePolicy)
|
---|
394 | {
|
---|
395 | $this->maintenancePolicy = $maintenancePolicy;
|
---|
396 | }
|
---|
397 | /**
|
---|
398 | * @return MaintenancePolicy
|
---|
399 | */
|
---|
400 | public function getMaintenancePolicy()
|
---|
401 | {
|
---|
402 | return $this->maintenancePolicy;
|
---|
403 | }
|
---|
404 | /**
|
---|
405 | * @param string
|
---|
406 | */
|
---|
407 | public function setName($name)
|
---|
408 | {
|
---|
409 | $this->name = $name;
|
---|
410 | }
|
---|
411 | /**
|
---|
412 | * @return string
|
---|
413 | */
|
---|
414 | public function getName()
|
---|
415 | {
|
---|
416 | return $this->name;
|
---|
417 | }
|
---|
418 | /**
|
---|
419 | * @param NetworkConfig
|
---|
420 | */
|
---|
421 | public function setNetworkConfig(NetworkConfig $networkConfig)
|
---|
422 | {
|
---|
423 | $this->networkConfig = $networkConfig;
|
---|
424 | }
|
---|
425 | /**
|
---|
426 | * @return NetworkConfig
|
---|
427 | */
|
---|
428 | public function getNetworkConfig()
|
---|
429 | {
|
---|
430 | return $this->networkConfig;
|
---|
431 | }
|
---|
432 | /**
|
---|
433 | * @param string[]
|
---|
434 | */
|
---|
435 | public function setOptions($options)
|
---|
436 | {
|
---|
437 | $this->options = $options;
|
---|
438 | }
|
---|
439 | /**
|
---|
440 | * @return string[]
|
---|
441 | */
|
---|
442 | public function getOptions()
|
---|
443 | {
|
---|
444 | return $this->options;
|
---|
445 | }
|
---|
446 | /**
|
---|
447 | * @param string
|
---|
448 | */
|
---|
449 | public function setP4ServiceAccount($p4ServiceAccount)
|
---|
450 | {
|
---|
451 | $this->p4ServiceAccount = $p4ServiceAccount;
|
---|
452 | }
|
---|
453 | /**
|
---|
454 | * @return string
|
---|
455 | */
|
---|
456 | public function getP4ServiceAccount()
|
---|
457 | {
|
---|
458 | return $this->p4ServiceAccount;
|
---|
459 | }
|
---|
460 | /**
|
---|
461 | * @param string
|
---|
462 | */
|
---|
463 | public function setPatchRevision($patchRevision)
|
---|
464 | {
|
---|
465 | $this->patchRevision = $patchRevision;
|
---|
466 | }
|
---|
467 | /**
|
---|
468 | * @return string
|
---|
469 | */
|
---|
470 | public function getPatchRevision()
|
---|
471 | {
|
---|
472 | return $this->patchRevision;
|
---|
473 | }
|
---|
474 | /**
|
---|
475 | * @param bool
|
---|
476 | */
|
---|
477 | public function setPrivateInstance($privateInstance)
|
---|
478 | {
|
---|
479 | $this->privateInstance = $privateInstance;
|
---|
480 | }
|
---|
481 | /**
|
---|
482 | * @return bool
|
---|
483 | */
|
---|
484 | public function getPrivateInstance()
|
---|
485 | {
|
---|
486 | return $this->privateInstance;
|
---|
487 | }
|
---|
488 | /**
|
---|
489 | * @param bool
|
---|
490 | */
|
---|
491 | public function setSatisfiesPzs($satisfiesPzs)
|
---|
492 | {
|
---|
493 | $this->satisfiesPzs = $satisfiesPzs;
|
---|
494 | }
|
---|
495 | /**
|
---|
496 | * @return bool
|
---|
497 | */
|
---|
498 | public function getSatisfiesPzs()
|
---|
499 | {
|
---|
500 | return $this->satisfiesPzs;
|
---|
501 | }
|
---|
502 | /**
|
---|
503 | * @param string
|
---|
504 | */
|
---|
505 | public function setServiceAccount($serviceAccount)
|
---|
506 | {
|
---|
507 | $this->serviceAccount = $serviceAccount;
|
---|
508 | }
|
---|
509 | /**
|
---|
510 | * @return string
|
---|
511 | */
|
---|
512 | public function getServiceAccount()
|
---|
513 | {
|
---|
514 | return $this->serviceAccount;
|
---|
515 | }
|
---|
516 | /**
|
---|
517 | * @param string
|
---|
518 | */
|
---|
519 | public function setServiceEndpoint($serviceEndpoint)
|
---|
520 | {
|
---|
521 | $this->serviceEndpoint = $serviceEndpoint;
|
---|
522 | }
|
---|
523 | /**
|
---|
524 | * @return string
|
---|
525 | */
|
---|
526 | public function getServiceEndpoint()
|
---|
527 | {
|
---|
528 | return $this->serviceEndpoint;
|
---|
529 | }
|
---|
530 | /**
|
---|
531 | * @param string
|
---|
532 | */
|
---|
533 | public function setState($state)
|
---|
534 | {
|
---|
535 | $this->state = $state;
|
---|
536 | }
|
---|
537 | /**
|
---|
538 | * @return string
|
---|
539 | */
|
---|
540 | public function getState()
|
---|
541 | {
|
---|
542 | return $this->state;
|
---|
543 | }
|
---|
544 | /**
|
---|
545 | * @param string
|
---|
546 | */
|
---|
547 | public function setStateMessage($stateMessage)
|
---|
548 | {
|
---|
549 | $this->stateMessage = $stateMessage;
|
---|
550 | }
|
---|
551 | /**
|
---|
552 | * @return string
|
---|
553 | */
|
---|
554 | public function getStateMessage()
|
---|
555 | {
|
---|
556 | return $this->stateMessage;
|
---|
557 | }
|
---|
558 | /**
|
---|
559 | * @param string
|
---|
560 | */
|
---|
561 | public function setTenantProjectId($tenantProjectId)
|
---|
562 | {
|
---|
563 | $this->tenantProjectId = $tenantProjectId;
|
---|
564 | }
|
---|
565 | /**
|
---|
566 | * @return string
|
---|
567 | */
|
---|
568 | public function getTenantProjectId()
|
---|
569 | {
|
---|
570 | return $this->tenantProjectId;
|
---|
571 | }
|
---|
572 | /**
|
---|
573 | * @param string
|
---|
574 | */
|
---|
575 | public function setType($type)
|
---|
576 | {
|
---|
577 | $this->type = $type;
|
---|
578 | }
|
---|
579 | /**
|
---|
580 | * @return string
|
---|
581 | */
|
---|
582 | public function getType()
|
---|
583 | {
|
---|
584 | return $this->type;
|
---|
585 | }
|
---|
586 | /**
|
---|
587 | * @param string
|
---|
588 | */
|
---|
589 | public function setUpdateTime($updateTime)
|
---|
590 | {
|
---|
591 | $this->updateTime = $updateTime;
|
---|
592 | }
|
---|
593 | /**
|
---|
594 | * @return string
|
---|
595 | */
|
---|
596 | public function getUpdateTime()
|
---|
597 | {
|
---|
598 | return $this->updateTime;
|
---|
599 | }
|
---|
600 | /**
|
---|
601 | * @param string
|
---|
602 | */
|
---|
603 | public function setVersion($version)
|
---|
604 | {
|
---|
605 | $this->version = $version;
|
---|
606 | }
|
---|
607 | /**
|
---|
608 | * @return string
|
---|
609 | */
|
---|
610 | public function getVersion()
|
---|
611 | {
|
---|
612 | return $this->version;
|
---|
613 | }
|
---|
614 | /**
|
---|
615 | * @param string
|
---|
616 | */
|
---|
617 | public function setWorkforceIdentityServiceEndpoint($workforceIdentityServiceEndpoint)
|
---|
618 | {
|
---|
619 | $this->workforceIdentityServiceEndpoint = $workforceIdentityServiceEndpoint;
|
---|
620 | }
|
---|
621 | /**
|
---|
622 | * @return string
|
---|
623 | */
|
---|
624 | public function getWorkforceIdentityServiceEndpoint()
|
---|
625 | {
|
---|
626 | return $this->workforceIdentityServiceEndpoint;
|
---|
627 | }
|
---|
628 | /**
|
---|
629 | * @param string
|
---|
630 | */
|
---|
631 | public function setZone($zone)
|
---|
632 | {
|
---|
633 | $this->zone = $zone;
|
---|
634 | }
|
---|
635 | /**
|
---|
636 | * @return string
|
---|
637 | */
|
---|
638 | public function getZone()
|
---|
639 | {
|
---|
640 | return $this->zone;
|
---|
641 | }
|
---|
642 | }
|
---|
643 |
|
---|
644 | // Adding a class alias for backwards compatibility with the previous class name.
|
---|
645 | class_alias(Instance::class, 'Google_Service_DataFusion_Instance');
|
---|