Ei kuvausta

InstanceGroup.php 3.0KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146
  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. class Google_Service_Compute_InstanceGroup extends Google_Collection
  18. {
  19. protected $collection_key = 'namedPorts';
  20. public $creationTimestamp;
  21. public $description;
  22. public $fingerprint;
  23. public $id;
  24. public $kind;
  25. public $name;
  26. protected $namedPortsType = 'Google_Service_Compute_NamedPort';
  27. protected $namedPortsDataType = 'array';
  28. public $network;
  29. public $region;
  30. public $selfLink;
  31. public $size;
  32. public $subnetwork;
  33. public $zone;
  34. public function setCreationTimestamp($creationTimestamp)
  35. {
  36. $this->creationTimestamp = $creationTimestamp;
  37. }
  38. public function getCreationTimestamp()
  39. {
  40. return $this->creationTimestamp;
  41. }
  42. public function setDescription($description)
  43. {
  44. $this->description = $description;
  45. }
  46. public function getDescription()
  47. {
  48. return $this->description;
  49. }
  50. public function setFingerprint($fingerprint)
  51. {
  52. $this->fingerprint = $fingerprint;
  53. }
  54. public function getFingerprint()
  55. {
  56. return $this->fingerprint;
  57. }
  58. public function setId($id)
  59. {
  60. $this->id = $id;
  61. }
  62. public function getId()
  63. {
  64. return $this->id;
  65. }
  66. public function setKind($kind)
  67. {
  68. $this->kind = $kind;
  69. }
  70. public function getKind()
  71. {
  72. return $this->kind;
  73. }
  74. public function setName($name)
  75. {
  76. $this->name = $name;
  77. }
  78. public function getName()
  79. {
  80. return $this->name;
  81. }
  82. /**
  83. * @param Google_Service_Compute_NamedPort
  84. */
  85. public function setNamedPorts($namedPorts)
  86. {
  87. $this->namedPorts = $namedPorts;
  88. }
  89. /**
  90. * @return Google_Service_Compute_NamedPort
  91. */
  92. public function getNamedPorts()
  93. {
  94. return $this->namedPorts;
  95. }
  96. public function setNetwork($network)
  97. {
  98. $this->network = $network;
  99. }
  100. public function getNetwork()
  101. {
  102. return $this->network;
  103. }
  104. public function setRegion($region)
  105. {
  106. $this->region = $region;
  107. }
  108. public function getRegion()
  109. {
  110. return $this->region;
  111. }
  112. public function setSelfLink($selfLink)
  113. {
  114. $this->selfLink = $selfLink;
  115. }
  116. public function getSelfLink()
  117. {
  118. return $this->selfLink;
  119. }
  120. public function setSize($size)
  121. {
  122. $this->size = $size;
  123. }
  124. public function getSize()
  125. {
  126. return $this->size;
  127. }
  128. public function setSubnetwork($subnetwork)
  129. {
  130. $this->subnetwork = $subnetwork;
  131. }
  132. public function getSubnetwork()
  133. {
  134. return $this->subnetwork;
  135. }
  136. public function setZone($zone)
  137. {
  138. $this->zone = $zone;
  139. }
  140. public function getZone()
  141. {
  142. return $this->zone;
  143. }
  144. }