説明なし

HealthCheck.php 4.5KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184
  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_HealthCheck extends Google_Model
  18. {
  19. public $checkIntervalSec;
  20. public $creationTimestamp;
  21. public $description;
  22. public $healthyThreshold;
  23. protected $httpHealthCheckType = 'Google_Service_Compute_HTTPHealthCheck';
  24. protected $httpHealthCheckDataType = '';
  25. protected $httpsHealthCheckType = 'Google_Service_Compute_HTTPSHealthCheck';
  26. protected $httpsHealthCheckDataType = '';
  27. public $id;
  28. public $kind;
  29. public $name;
  30. public $selfLink;
  31. protected $sslHealthCheckType = 'Google_Service_Compute_SSLHealthCheck';
  32. protected $sslHealthCheckDataType = '';
  33. protected $tcpHealthCheckType = 'Google_Service_Compute_TCPHealthCheck';
  34. protected $tcpHealthCheckDataType = '';
  35. public $timeoutSec;
  36. public $type;
  37. public $unhealthyThreshold;
  38. public function setCheckIntervalSec($checkIntervalSec)
  39. {
  40. $this->checkIntervalSec = $checkIntervalSec;
  41. }
  42. public function getCheckIntervalSec()
  43. {
  44. return $this->checkIntervalSec;
  45. }
  46. public function setCreationTimestamp($creationTimestamp)
  47. {
  48. $this->creationTimestamp = $creationTimestamp;
  49. }
  50. public function getCreationTimestamp()
  51. {
  52. return $this->creationTimestamp;
  53. }
  54. public function setDescription($description)
  55. {
  56. $this->description = $description;
  57. }
  58. public function getDescription()
  59. {
  60. return $this->description;
  61. }
  62. public function setHealthyThreshold($healthyThreshold)
  63. {
  64. $this->healthyThreshold = $healthyThreshold;
  65. }
  66. public function getHealthyThreshold()
  67. {
  68. return $this->healthyThreshold;
  69. }
  70. /**
  71. * @param Google_Service_Compute_HTTPHealthCheck
  72. */
  73. public function setHttpHealthCheck(Google_Service_Compute_HTTPHealthCheck $httpHealthCheck)
  74. {
  75. $this->httpHealthCheck = $httpHealthCheck;
  76. }
  77. /**
  78. * @return Google_Service_Compute_HTTPHealthCheck
  79. */
  80. public function getHttpHealthCheck()
  81. {
  82. return $this->httpHealthCheck;
  83. }
  84. /**
  85. * @param Google_Service_Compute_HTTPSHealthCheck
  86. */
  87. public function setHttpsHealthCheck(Google_Service_Compute_HTTPSHealthCheck $httpsHealthCheck)
  88. {
  89. $this->httpsHealthCheck = $httpsHealthCheck;
  90. }
  91. /**
  92. * @return Google_Service_Compute_HTTPSHealthCheck
  93. */
  94. public function getHttpsHealthCheck()
  95. {
  96. return $this->httpsHealthCheck;
  97. }
  98. public function setId($id)
  99. {
  100. $this->id = $id;
  101. }
  102. public function getId()
  103. {
  104. return $this->id;
  105. }
  106. public function setKind($kind)
  107. {
  108. $this->kind = $kind;
  109. }
  110. public function getKind()
  111. {
  112. return $this->kind;
  113. }
  114. public function setName($name)
  115. {
  116. $this->name = $name;
  117. }
  118. public function getName()
  119. {
  120. return $this->name;
  121. }
  122. public function setSelfLink($selfLink)
  123. {
  124. $this->selfLink = $selfLink;
  125. }
  126. public function getSelfLink()
  127. {
  128. return $this->selfLink;
  129. }
  130. /**
  131. * @param Google_Service_Compute_SSLHealthCheck
  132. */
  133. public function setSslHealthCheck(Google_Service_Compute_SSLHealthCheck $sslHealthCheck)
  134. {
  135. $this->sslHealthCheck = $sslHealthCheck;
  136. }
  137. /**
  138. * @return Google_Service_Compute_SSLHealthCheck
  139. */
  140. public function getSslHealthCheck()
  141. {
  142. return $this->sslHealthCheck;
  143. }
  144. /**
  145. * @param Google_Service_Compute_TCPHealthCheck
  146. */
  147. public function setTcpHealthCheck(Google_Service_Compute_TCPHealthCheck $tcpHealthCheck)
  148. {
  149. $this->tcpHealthCheck = $tcpHealthCheck;
  150. }
  151. /**
  152. * @return Google_Service_Compute_TCPHealthCheck
  153. */
  154. public function getTcpHealthCheck()
  155. {
  156. return $this->tcpHealthCheck;
  157. }
  158. public function setTimeoutSec($timeoutSec)
  159. {
  160. $this->timeoutSec = $timeoutSec;
  161. }
  162. public function getTimeoutSec()
  163. {
  164. return $this->timeoutSec;
  165. }
  166. public function setType($type)
  167. {
  168. $this->type = $type;
  169. }
  170. public function getType()
  171. {
  172. return $this->type;
  173. }
  174. public function setUnhealthyThreshold($unhealthyThreshold)
  175. {
  176. $this->unhealthyThreshold = $unhealthyThreshold;
  177. }
  178. public function getUnhealthyThreshold()
  179. {
  180. return $this->unhealthyThreshold;
  181. }
  182. }