暫無描述

NodeConfig.php 3.1KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137
  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_Container_NodeConfig extends Google_Collection
  18. {
  19. protected $collection_key = 'tags';
  20. protected $acceleratorsType = 'Google_Service_Container_AcceleratorConfig';
  21. protected $acceleratorsDataType = 'array';
  22. public $diskSizeGb;
  23. public $imageType;
  24. public $labels;
  25. public $localSsdCount;
  26. public $machineType;
  27. public $metadata;
  28. public $minCpuPlatform;
  29. public $oauthScopes;
  30. public $preemptible;
  31. public $serviceAccount;
  32. public $tags;
  33. /**
  34. * @param Google_Service_Container_AcceleratorConfig
  35. */
  36. public function setAccelerators($accelerators)
  37. {
  38. $this->accelerators = $accelerators;
  39. }
  40. /**
  41. * @return Google_Service_Container_AcceleratorConfig
  42. */
  43. public function getAccelerators()
  44. {
  45. return $this->accelerators;
  46. }
  47. public function setDiskSizeGb($diskSizeGb)
  48. {
  49. $this->diskSizeGb = $diskSizeGb;
  50. }
  51. public function getDiskSizeGb()
  52. {
  53. return $this->diskSizeGb;
  54. }
  55. public function setImageType($imageType)
  56. {
  57. $this->imageType = $imageType;
  58. }
  59. public function getImageType()
  60. {
  61. return $this->imageType;
  62. }
  63. public function setLabels($labels)
  64. {
  65. $this->labels = $labels;
  66. }
  67. public function getLabels()
  68. {
  69. return $this->labels;
  70. }
  71. public function setLocalSsdCount($localSsdCount)
  72. {
  73. $this->localSsdCount = $localSsdCount;
  74. }
  75. public function getLocalSsdCount()
  76. {
  77. return $this->localSsdCount;
  78. }
  79. public function setMachineType($machineType)
  80. {
  81. $this->machineType = $machineType;
  82. }
  83. public function getMachineType()
  84. {
  85. return $this->machineType;
  86. }
  87. public function setMetadata($metadata)
  88. {
  89. $this->metadata = $metadata;
  90. }
  91. public function getMetadata()
  92. {
  93. return $this->metadata;
  94. }
  95. public function setMinCpuPlatform($minCpuPlatform)
  96. {
  97. $this->minCpuPlatform = $minCpuPlatform;
  98. }
  99. public function getMinCpuPlatform()
  100. {
  101. return $this->minCpuPlatform;
  102. }
  103. public function setOauthScopes($oauthScopes)
  104. {
  105. $this->oauthScopes = $oauthScopes;
  106. }
  107. public function getOauthScopes()
  108. {
  109. return $this->oauthScopes;
  110. }
  111. public function setPreemptible($preemptible)
  112. {
  113. $this->preemptible = $preemptible;
  114. }
  115. public function getPreemptible()
  116. {
  117. return $this->preemptible;
  118. }
  119. public function setServiceAccount($serviceAccount)
  120. {
  121. $this->serviceAccount = $serviceAccount;
  122. }
  123. public function getServiceAccount()
  124. {
  125. return $this->serviceAccount;
  126. }
  127. public function setTags($tags)
  128. {
  129. $this->tags = $tags;
  130. }
  131. public function getTags()
  132. {
  133. return $this->tags;
  134. }
  135. }