Brak opisu

Policy.php 2.3KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697
  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_Policy extends Google_Collection
  18. {
  19. protected $collection_key = 'rules';
  20. protected $auditConfigsType = 'Google_Service_DeploymentManager_AuditConfig';
  21. protected $auditConfigsDataType = 'array';
  22. protected $bindingsType = 'Google_Service_DeploymentManager_Binding';
  23. protected $bindingsDataType = 'array';
  24. public $etag;
  25. public $iamOwned;
  26. protected $rulesType = 'Google_Service_DeploymentManager_Rule';
  27. protected $rulesDataType = 'array';
  28. public $version;
  29. /**
  30. * @param Google_Service_DeploymentManager_AuditConfig
  31. */
  32. public function setAuditConfigs($auditConfigs)
  33. {
  34. $this->auditConfigs = $auditConfigs;
  35. }
  36. /**
  37. * @return Google_Service_DeploymentManager_AuditConfig
  38. */
  39. public function getAuditConfigs()
  40. {
  41. return $this->auditConfigs;
  42. }
  43. /**
  44. * @param Google_Service_DeploymentManager_Binding
  45. */
  46. public function setBindings($bindings)
  47. {
  48. $this->bindings = $bindings;
  49. }
  50. /**
  51. * @return Google_Service_DeploymentManager_Binding
  52. */
  53. public function getBindings()
  54. {
  55. return $this->bindings;
  56. }
  57. public function setEtag($etag)
  58. {
  59. $this->etag = $etag;
  60. }
  61. public function getEtag()
  62. {
  63. return $this->etag;
  64. }
  65. public function setIamOwned($iamOwned)
  66. {
  67. $this->iamOwned = $iamOwned;
  68. }
  69. public function getIamOwned()
  70. {
  71. return $this->iamOwned;
  72. }
  73. /**
  74. * @param Google_Service_DeploymentManager_Rule
  75. */
  76. public function setRules($rules)
  77. {
  78. $this->rules = $rules;
  79. }
  80. /**
  81. * @return Google_Service_DeploymentManager_Rule
  82. */
  83. public function getRules()
  84. {
  85. return $this->rules;
  86. }
  87. public function setVersion($version)
  88. {
  89. $this->version = $version;
  90. }
  91. public function getVersion()
  92. {
  93. return $this->version;
  94. }
  95. }