설명 없음

Rule.php 2.3KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899
  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_DeploymentManager_Rule extends Google_Collection
  18. {
  19. protected $collection_key = 'permissions';
  20. public $action;
  21. protected $conditionsType = 'Google_Service_DeploymentManager_Condition';
  22. protected $conditionsDataType = 'array';
  23. public $description;
  24. public $ins;
  25. protected $logConfigsType = 'Google_Service_DeploymentManager_LogConfig';
  26. protected $logConfigsDataType = 'array';
  27. public $notIns;
  28. public $permissions;
  29. public function setAction($action)
  30. {
  31. $this->action = $action;
  32. }
  33. public function getAction()
  34. {
  35. return $this->action;
  36. }
  37. /**
  38. * @param Google_Service_DeploymentManager_Condition
  39. */
  40. public function setConditions($conditions)
  41. {
  42. $this->conditions = $conditions;
  43. }
  44. /**
  45. * @return Google_Service_DeploymentManager_Condition
  46. */
  47. public function getConditions()
  48. {
  49. return $this->conditions;
  50. }
  51. public function setDescription($description)
  52. {
  53. $this->description = $description;
  54. }
  55. public function getDescription()
  56. {
  57. return $this->description;
  58. }
  59. public function setIns($ins)
  60. {
  61. $this->ins = $ins;
  62. }
  63. public function getIns()
  64. {
  65. return $this->ins;
  66. }
  67. /**
  68. * @param Google_Service_DeploymentManager_LogConfig
  69. */
  70. public function setLogConfigs($logConfigs)
  71. {
  72. $this->logConfigs = $logConfigs;
  73. }
  74. /**
  75. * @return Google_Service_DeploymentManager_LogConfig
  76. */
  77. public function getLogConfigs()
  78. {
  79. return $this->logConfigs;
  80. }
  81. public function setNotIns($notIns)
  82. {
  83. $this->notIns = $notIns;
  84. }
  85. public function getNotIns()
  86. {
  87. return $this->notIns;
  88. }
  89. public function setPermissions($permissions)
  90. {
  91. $this->permissions = $permissions;
  92. }
  93. public function getPermissions()
  94. {
  95. return $this->permissions;
  96. }
  97. }