暂无描述

Role.php 1.9KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485
  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_Iam_Role extends Google_Collection
  18. {
  19. protected $collection_key = 'includedPermissions';
  20. public $deleted;
  21. public $description;
  22. public $etag;
  23. public $includedPermissions;
  24. public $name;
  25. public $stage;
  26. public $title;
  27. public function setDeleted($deleted)
  28. {
  29. $this->deleted = $deleted;
  30. }
  31. public function getDeleted()
  32. {
  33. return $this->deleted;
  34. }
  35. public function setDescription($description)
  36. {
  37. $this->description = $description;
  38. }
  39. public function getDescription()
  40. {
  41. return $this->description;
  42. }
  43. public function setEtag($etag)
  44. {
  45. $this->etag = $etag;
  46. }
  47. public function getEtag()
  48. {
  49. return $this->etag;
  50. }
  51. public function setIncludedPermissions($includedPermissions)
  52. {
  53. $this->includedPermissions = $includedPermissions;
  54. }
  55. public function getIncludedPermissions()
  56. {
  57. return $this->includedPermissions;
  58. }
  59. public function setName($name)
  60. {
  61. $this->name = $name;
  62. }
  63. public function getName()
  64. {
  65. return $this->name;
  66. }
  67. public function setStage($stage)
  68. {
  69. $this->stage = $stage;
  70. }
  71. public function getStage()
  72. {
  73. return $this->stage;
  74. }
  75. public function setTitle($title)
  76. {
  77. $this->title = $title;
  78. }
  79. public function getTitle()
  80. {
  81. return $this->title;
  82. }
  83. }