No Description

MachineType.php 4.0KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171
  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_MachineType extends Google_Collection
  18. {
  19. protected $collection_key = 'scratchDisks';
  20. public $creationTimestamp;
  21. protected $deprecatedType = 'Google_Service_Compute_DeprecationStatus';
  22. protected $deprecatedDataType = '';
  23. public $description;
  24. public $guestCpus;
  25. public $id;
  26. public $imageSpaceGb;
  27. public $isSharedCpu;
  28. public $kind;
  29. public $maximumPersistentDisks;
  30. public $maximumPersistentDisksSizeGb;
  31. public $memoryMb;
  32. public $name;
  33. protected $scratchDisksType = 'Google_Service_Compute_MachineTypeScratchDisks';
  34. protected $scratchDisksDataType = 'array';
  35. public $selfLink;
  36. public $zone;
  37. public function setCreationTimestamp($creationTimestamp)
  38. {
  39. $this->creationTimestamp = $creationTimestamp;
  40. }
  41. public function getCreationTimestamp()
  42. {
  43. return $this->creationTimestamp;
  44. }
  45. /**
  46. * @param Google_Service_Compute_DeprecationStatus
  47. */
  48. public function setDeprecated(Google_Service_Compute_DeprecationStatus $deprecated)
  49. {
  50. $this->deprecated = $deprecated;
  51. }
  52. /**
  53. * @return Google_Service_Compute_DeprecationStatus
  54. */
  55. public function getDeprecated()
  56. {
  57. return $this->deprecated;
  58. }
  59. public function setDescription($description)
  60. {
  61. $this->description = $description;
  62. }
  63. public function getDescription()
  64. {
  65. return $this->description;
  66. }
  67. public function setGuestCpus($guestCpus)
  68. {
  69. $this->guestCpus = $guestCpus;
  70. }
  71. public function getGuestCpus()
  72. {
  73. return $this->guestCpus;
  74. }
  75. public function setId($id)
  76. {
  77. $this->id = $id;
  78. }
  79. public function getId()
  80. {
  81. return $this->id;
  82. }
  83. public function setImageSpaceGb($imageSpaceGb)
  84. {
  85. $this->imageSpaceGb = $imageSpaceGb;
  86. }
  87. public function getImageSpaceGb()
  88. {
  89. return $this->imageSpaceGb;
  90. }
  91. public function setIsSharedCpu($isSharedCpu)
  92. {
  93. $this->isSharedCpu = $isSharedCpu;
  94. }
  95. public function getIsSharedCpu()
  96. {
  97. return $this->isSharedCpu;
  98. }
  99. public function setKind($kind)
  100. {
  101. $this->kind = $kind;
  102. }
  103. public function getKind()
  104. {
  105. return $this->kind;
  106. }
  107. public function setMaximumPersistentDisks($maximumPersistentDisks)
  108. {
  109. $this->maximumPersistentDisks = $maximumPersistentDisks;
  110. }
  111. public function getMaximumPersistentDisks()
  112. {
  113. return $this->maximumPersistentDisks;
  114. }
  115. public function setMaximumPersistentDisksSizeGb($maximumPersistentDisksSizeGb)
  116. {
  117. $this->maximumPersistentDisksSizeGb = $maximumPersistentDisksSizeGb;
  118. }
  119. public function getMaximumPersistentDisksSizeGb()
  120. {
  121. return $this->maximumPersistentDisksSizeGb;
  122. }
  123. public function setMemoryMb($memoryMb)
  124. {
  125. $this->memoryMb = $memoryMb;
  126. }
  127. public function getMemoryMb()
  128. {
  129. return $this->memoryMb;
  130. }
  131. public function setName($name)
  132. {
  133. $this->name = $name;
  134. }
  135. public function getName()
  136. {
  137. return $this->name;
  138. }
  139. /**
  140. * @param Google_Service_Compute_MachineTypeScratchDisks
  141. */
  142. public function setScratchDisks($scratchDisks)
  143. {
  144. $this->scratchDisks = $scratchDisks;
  145. }
  146. /**
  147. * @return Google_Service_Compute_MachineTypeScratchDisks
  148. */
  149. public function getScratchDisks()
  150. {
  151. return $this->scratchDisks;
  152. }
  153. public function setSelfLink($selfLink)
  154. {
  155. $this->selfLink = $selfLink;
  156. }
  157. public function getSelfLink()
  158. {
  159. return $this->selfLink;
  160. }
  161. public function setZone($zone)
  162. {
  163. $this->zone = $zone;
  164. }
  165. public function getZone()
  166. {
  167. return $this->zone;
  168. }
  169. }