Ingen beskrivning

ReplicaPoolModule.php 1.9KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869
  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_Manager_ReplicaPoolModule extends Google_Collection
  18. {
  19. protected $collection_key = 'healthChecks';
  20. protected $envVariablesType = 'Google_Service_Manager_EnvVariable';
  21. protected $envVariablesDataType = 'map';
  22. public $healthChecks;
  23. public $numReplicas;
  24. protected $replicaPoolParamsType = 'Google_Service_Manager_ReplicaPoolParams';
  25. protected $replicaPoolParamsDataType = '';
  26. public $resourceView;
  27. public function setEnvVariables($envVariables)
  28. {
  29. $this->envVariables = $envVariables;
  30. }
  31. public function getEnvVariables()
  32. {
  33. return $this->envVariables;
  34. }
  35. public function setHealthChecks($healthChecks)
  36. {
  37. $this->healthChecks = $healthChecks;
  38. }
  39. public function getHealthChecks()
  40. {
  41. return $this->healthChecks;
  42. }
  43. public function setNumReplicas($numReplicas)
  44. {
  45. $this->numReplicas = $numReplicas;
  46. }
  47. public function getNumReplicas()
  48. {
  49. return $this->numReplicas;
  50. }
  51. public function setReplicaPoolParams(Google_Service_Manager_ReplicaPoolParams $replicaPoolParams)
  52. {
  53. $this->replicaPoolParams = $replicaPoolParams;
  54. }
  55. public function getReplicaPoolParams()
  56. {
  57. return $this->replicaPoolParams;
  58. }
  59. public function setResourceView($resourceView)
  60. {
  61. $this->resourceView = $resourceView;
  62. }
  63. public function getResourceView()
  64. {
  65. return $this->resourceView;
  66. }
  67. }