source: vendor/google/apiclient-services/src/CloudRedis/Instance.php@ e3d4e0a

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

Upload project files

  • Property mode set to 100644
File size: 12.0 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\CloudRedis;
19
20class Instance extends \Google\Collection
21{
22 protected $collection_key = 'suspensionReasons';
23 /**
24 * @var string
25 */
26 public $alternativeLocationId;
27 /**
28 * @var bool
29 */
30 public $authEnabled;
31 /**
32 * @var string
33 */
34 public $authorizedNetwork;
35 /**
36 * @var string[]
37 */
38 public $availableMaintenanceVersions;
39 /**
40 * @var string
41 */
42 public $connectMode;
43 /**
44 * @var string
45 */
46 public $createTime;
47 /**
48 * @var string
49 */
50 public $currentLocationId;
51 /**
52 * @var string
53 */
54 public $customerManagedKey;
55 /**
56 * @var string
57 */
58 public $displayName;
59 /**
60 * @var string
61 */
62 public $host;
63 /**
64 * @var string[]
65 */
66 public $labels;
67 /**
68 * @var string
69 */
70 public $locationId;
71 protected $maintenancePolicyType = MaintenancePolicy::class;
72 protected $maintenancePolicyDataType = '';
73 protected $maintenanceScheduleType = MaintenanceSchedule::class;
74 protected $maintenanceScheduleDataType = '';
75 /**
76 * @var string
77 */
78 public $maintenanceVersion;
79 /**
80 * @var int
81 */
82 public $memorySizeGb;
83 /**
84 * @var string
85 */
86 public $name;
87 protected $nodesType = NodeInfo::class;
88 protected $nodesDataType = 'array';
89 protected $persistenceConfigType = PersistenceConfig::class;
90 protected $persistenceConfigDataType = '';
91 /**
92 * @var string
93 */
94 public $persistenceIamIdentity;
95 /**
96 * @var int
97 */
98 public $port;
99 /**
100 * @var string
101 */
102 public $readEndpoint;
103 /**
104 * @var int
105 */
106 public $readEndpointPort;
107 /**
108 * @var string
109 */
110 public $readReplicasMode;
111 /**
112 * @var string[]
113 */
114 public $redisConfigs;
115 /**
116 * @var string
117 */
118 public $redisVersion;
119 /**
120 * @var int
121 */
122 public $replicaCount;
123 /**
124 * @var string
125 */
126 public $reservedIpRange;
127 /**
128 * @var bool
129 */
130 public $satisfiesPzi;
131 /**
132 * @var bool
133 */
134 public $satisfiesPzs;
135 /**
136 * @var string
137 */
138 public $secondaryIpRange;
139 protected $serverCaCertsType = TlsCertificate::class;
140 protected $serverCaCertsDataType = 'array';
141 /**
142 * @var string
143 */
144 public $state;
145 /**
146 * @var string
147 */
148 public $statusMessage;
149 /**
150 * @var string[]
151 */
152 public $suspensionReasons;
153 /**
154 * @var string
155 */
156 public $tier;
157 /**
158 * @var string
159 */
160 public $transitEncryptionMode;
161
162 /**
163 * @param string
164 */
165 public function setAlternativeLocationId($alternativeLocationId)
166 {
167 $this->alternativeLocationId = $alternativeLocationId;
168 }
169 /**
170 * @return string
171 */
172 public function getAlternativeLocationId()
173 {
174 return $this->alternativeLocationId;
175 }
176 /**
177 * @param bool
178 */
179 public function setAuthEnabled($authEnabled)
180 {
181 $this->authEnabled = $authEnabled;
182 }
183 /**
184 * @return bool
185 */
186 public function getAuthEnabled()
187 {
188 return $this->authEnabled;
189 }
190 /**
191 * @param string
192 */
193 public function setAuthorizedNetwork($authorizedNetwork)
194 {
195 $this->authorizedNetwork = $authorizedNetwork;
196 }
197 /**
198 * @return string
199 */
200 public function getAuthorizedNetwork()
201 {
202 return $this->authorizedNetwork;
203 }
204 /**
205 * @param string[]
206 */
207 public function setAvailableMaintenanceVersions($availableMaintenanceVersions)
208 {
209 $this->availableMaintenanceVersions = $availableMaintenanceVersions;
210 }
211 /**
212 * @return string[]
213 */
214 public function getAvailableMaintenanceVersions()
215 {
216 return $this->availableMaintenanceVersions;
217 }
218 /**
219 * @param string
220 */
221 public function setConnectMode($connectMode)
222 {
223 $this->connectMode = $connectMode;
224 }
225 /**
226 * @return string
227 */
228 public function getConnectMode()
229 {
230 return $this->connectMode;
231 }
232 /**
233 * @param string
234 */
235 public function setCreateTime($createTime)
236 {
237 $this->createTime = $createTime;
238 }
239 /**
240 * @return string
241 */
242 public function getCreateTime()
243 {
244 return $this->createTime;
245 }
246 /**
247 * @param string
248 */
249 public function setCurrentLocationId($currentLocationId)
250 {
251 $this->currentLocationId = $currentLocationId;
252 }
253 /**
254 * @return string
255 */
256 public function getCurrentLocationId()
257 {
258 return $this->currentLocationId;
259 }
260 /**
261 * @param string
262 */
263 public function setCustomerManagedKey($customerManagedKey)
264 {
265 $this->customerManagedKey = $customerManagedKey;
266 }
267 /**
268 * @return string
269 */
270 public function getCustomerManagedKey()
271 {
272 return $this->customerManagedKey;
273 }
274 /**
275 * @param string
276 */
277 public function setDisplayName($displayName)
278 {
279 $this->displayName = $displayName;
280 }
281 /**
282 * @return string
283 */
284 public function getDisplayName()
285 {
286 return $this->displayName;
287 }
288 /**
289 * @param string
290 */
291 public function setHost($host)
292 {
293 $this->host = $host;
294 }
295 /**
296 * @return string
297 */
298 public function getHost()
299 {
300 return $this->host;
301 }
302 /**
303 * @param string[]
304 */
305 public function setLabels($labels)
306 {
307 $this->labels = $labels;
308 }
309 /**
310 * @return string[]
311 */
312 public function getLabels()
313 {
314 return $this->labels;
315 }
316 /**
317 * @param string
318 */
319 public function setLocationId($locationId)
320 {
321 $this->locationId = $locationId;
322 }
323 /**
324 * @return string
325 */
326 public function getLocationId()
327 {
328 return $this->locationId;
329 }
330 /**
331 * @param MaintenancePolicy
332 */
333 public function setMaintenancePolicy(MaintenancePolicy $maintenancePolicy)
334 {
335 $this->maintenancePolicy = $maintenancePolicy;
336 }
337 /**
338 * @return MaintenancePolicy
339 */
340 public function getMaintenancePolicy()
341 {
342 return $this->maintenancePolicy;
343 }
344 /**
345 * @param MaintenanceSchedule
346 */
347 public function setMaintenanceSchedule(MaintenanceSchedule $maintenanceSchedule)
348 {
349 $this->maintenanceSchedule = $maintenanceSchedule;
350 }
351 /**
352 * @return MaintenanceSchedule
353 */
354 public function getMaintenanceSchedule()
355 {
356 return $this->maintenanceSchedule;
357 }
358 /**
359 * @param string
360 */
361 public function setMaintenanceVersion($maintenanceVersion)
362 {
363 $this->maintenanceVersion = $maintenanceVersion;
364 }
365 /**
366 * @return string
367 */
368 public function getMaintenanceVersion()
369 {
370 return $this->maintenanceVersion;
371 }
372 /**
373 * @param int
374 */
375 public function setMemorySizeGb($memorySizeGb)
376 {
377 $this->memorySizeGb = $memorySizeGb;
378 }
379 /**
380 * @return int
381 */
382 public function getMemorySizeGb()
383 {
384 return $this->memorySizeGb;
385 }
386 /**
387 * @param string
388 */
389 public function setName($name)
390 {
391 $this->name = $name;
392 }
393 /**
394 * @return string
395 */
396 public function getName()
397 {
398 return $this->name;
399 }
400 /**
401 * @param NodeInfo[]
402 */
403 public function setNodes($nodes)
404 {
405 $this->nodes = $nodes;
406 }
407 /**
408 * @return NodeInfo[]
409 */
410 public function getNodes()
411 {
412 return $this->nodes;
413 }
414 /**
415 * @param PersistenceConfig
416 */
417 public function setPersistenceConfig(PersistenceConfig $persistenceConfig)
418 {
419 $this->persistenceConfig = $persistenceConfig;
420 }
421 /**
422 * @return PersistenceConfig
423 */
424 public function getPersistenceConfig()
425 {
426 return $this->persistenceConfig;
427 }
428 /**
429 * @param string
430 */
431 public function setPersistenceIamIdentity($persistenceIamIdentity)
432 {
433 $this->persistenceIamIdentity = $persistenceIamIdentity;
434 }
435 /**
436 * @return string
437 */
438 public function getPersistenceIamIdentity()
439 {
440 return $this->persistenceIamIdentity;
441 }
442 /**
443 * @param int
444 */
445 public function setPort($port)
446 {
447 $this->port = $port;
448 }
449 /**
450 * @return int
451 */
452 public function getPort()
453 {
454 return $this->port;
455 }
456 /**
457 * @param string
458 */
459 public function setReadEndpoint($readEndpoint)
460 {
461 $this->readEndpoint = $readEndpoint;
462 }
463 /**
464 * @return string
465 */
466 public function getReadEndpoint()
467 {
468 return $this->readEndpoint;
469 }
470 /**
471 * @param int
472 */
473 public function setReadEndpointPort($readEndpointPort)
474 {
475 $this->readEndpointPort = $readEndpointPort;
476 }
477 /**
478 * @return int
479 */
480 public function getReadEndpointPort()
481 {
482 return $this->readEndpointPort;
483 }
484 /**
485 * @param string
486 */
487 public function setReadReplicasMode($readReplicasMode)
488 {
489 $this->readReplicasMode = $readReplicasMode;
490 }
491 /**
492 * @return string
493 */
494 public function getReadReplicasMode()
495 {
496 return $this->readReplicasMode;
497 }
498 /**
499 * @param string[]
500 */
501 public function setRedisConfigs($redisConfigs)
502 {
503 $this->redisConfigs = $redisConfigs;
504 }
505 /**
506 * @return string[]
507 */
508 public function getRedisConfigs()
509 {
510 return $this->redisConfigs;
511 }
512 /**
513 * @param string
514 */
515 public function setRedisVersion($redisVersion)
516 {
517 $this->redisVersion = $redisVersion;
518 }
519 /**
520 * @return string
521 */
522 public function getRedisVersion()
523 {
524 return $this->redisVersion;
525 }
526 /**
527 * @param int
528 */
529 public function setReplicaCount($replicaCount)
530 {
531 $this->replicaCount = $replicaCount;
532 }
533 /**
534 * @return int
535 */
536 public function getReplicaCount()
537 {
538 return $this->replicaCount;
539 }
540 /**
541 * @param string
542 */
543 public function setReservedIpRange($reservedIpRange)
544 {
545 $this->reservedIpRange = $reservedIpRange;
546 }
547 /**
548 * @return string
549 */
550 public function getReservedIpRange()
551 {
552 return $this->reservedIpRange;
553 }
554 /**
555 * @param bool
556 */
557 public function setSatisfiesPzi($satisfiesPzi)
558 {
559 $this->satisfiesPzi = $satisfiesPzi;
560 }
561 /**
562 * @return bool
563 */
564 public function getSatisfiesPzi()
565 {
566 return $this->satisfiesPzi;
567 }
568 /**
569 * @param bool
570 */
571 public function setSatisfiesPzs($satisfiesPzs)
572 {
573 $this->satisfiesPzs = $satisfiesPzs;
574 }
575 /**
576 * @return bool
577 */
578 public function getSatisfiesPzs()
579 {
580 return $this->satisfiesPzs;
581 }
582 /**
583 * @param string
584 */
585 public function setSecondaryIpRange($secondaryIpRange)
586 {
587 $this->secondaryIpRange = $secondaryIpRange;
588 }
589 /**
590 * @return string
591 */
592 public function getSecondaryIpRange()
593 {
594 return $this->secondaryIpRange;
595 }
596 /**
597 * @param TlsCertificate[]
598 */
599 public function setServerCaCerts($serverCaCerts)
600 {
601 $this->serverCaCerts = $serverCaCerts;
602 }
603 /**
604 * @return TlsCertificate[]
605 */
606 public function getServerCaCerts()
607 {
608 return $this->serverCaCerts;
609 }
610 /**
611 * @param string
612 */
613 public function setState($state)
614 {
615 $this->state = $state;
616 }
617 /**
618 * @return string
619 */
620 public function getState()
621 {
622 return $this->state;
623 }
624 /**
625 * @param string
626 */
627 public function setStatusMessage($statusMessage)
628 {
629 $this->statusMessage = $statusMessage;
630 }
631 /**
632 * @return string
633 */
634 public function getStatusMessage()
635 {
636 return $this->statusMessage;
637 }
638 /**
639 * @param string[]
640 */
641 public function setSuspensionReasons($suspensionReasons)
642 {
643 $this->suspensionReasons = $suspensionReasons;
644 }
645 /**
646 * @return string[]
647 */
648 public function getSuspensionReasons()
649 {
650 return $this->suspensionReasons;
651 }
652 /**
653 * @param string
654 */
655 public function setTier($tier)
656 {
657 $this->tier = $tier;
658 }
659 /**
660 * @return string
661 */
662 public function getTier()
663 {
664 return $this->tier;
665 }
666 /**
667 * @param string
668 */
669 public function setTransitEncryptionMode($transitEncryptionMode)
670 {
671 $this->transitEncryptionMode = $transitEncryptionMode;
672 }
673 /**
674 * @return string
675 */
676 public function getTransitEncryptionMode()
677 {
678 return $this->transitEncryptionMode;
679 }
680}
681
682// Adding a class alias for backwards compatibility with the previous class name.
683class_alias(Instance::class, 'Google_Service_CloudRedis_Instance');
Note: See TracBrowser for help on using the repository browser.