暫無描述

Project.php 3.7KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151
  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_Project extends Google_Collection
  18. {
  19. protected $collection_key = 'quotas';
  20. protected $commonInstanceMetadataType = 'Google_Service_Compute_Metadata';
  21. protected $commonInstanceMetadataDataType = '';
  22. public $creationTimestamp;
  23. public $defaultServiceAccount;
  24. public $description;
  25. public $enabledFeatures;
  26. public $id;
  27. public $kind;
  28. public $name;
  29. protected $quotasType = 'Google_Service_Compute_Quota';
  30. protected $quotasDataType = 'array';
  31. public $selfLink;
  32. protected $usageExportLocationType = 'Google_Service_Compute_UsageExportLocation';
  33. protected $usageExportLocationDataType = '';
  34. public $xpnProjectStatus;
  35. /**
  36. * @param Google_Service_Compute_Metadata
  37. */
  38. public function setCommonInstanceMetadata(Google_Service_Compute_Metadata $commonInstanceMetadata)
  39. {
  40. $this->commonInstanceMetadata = $commonInstanceMetadata;
  41. }
  42. /**
  43. * @return Google_Service_Compute_Metadata
  44. */
  45. public function getCommonInstanceMetadata()
  46. {
  47. return $this->commonInstanceMetadata;
  48. }
  49. public function setCreationTimestamp($creationTimestamp)
  50. {
  51. $this->creationTimestamp = $creationTimestamp;
  52. }
  53. public function getCreationTimestamp()
  54. {
  55. return $this->creationTimestamp;
  56. }
  57. public function setDefaultServiceAccount($defaultServiceAccount)
  58. {
  59. $this->defaultServiceAccount = $defaultServiceAccount;
  60. }
  61. public function getDefaultServiceAccount()
  62. {
  63. return $this->defaultServiceAccount;
  64. }
  65. public function setDescription($description)
  66. {
  67. $this->description = $description;
  68. }
  69. public function getDescription()
  70. {
  71. return $this->description;
  72. }
  73. public function setEnabledFeatures($enabledFeatures)
  74. {
  75. $this->enabledFeatures = $enabledFeatures;
  76. }
  77. public function getEnabledFeatures()
  78. {
  79. return $this->enabledFeatures;
  80. }
  81. public function setId($id)
  82. {
  83. $this->id = $id;
  84. }
  85. public function getId()
  86. {
  87. return $this->id;
  88. }
  89. public function setKind($kind)
  90. {
  91. $this->kind = $kind;
  92. }
  93. public function getKind()
  94. {
  95. return $this->kind;
  96. }
  97. public function setName($name)
  98. {
  99. $this->name = $name;
  100. }
  101. public function getName()
  102. {
  103. return $this->name;
  104. }
  105. /**
  106. * @param Google_Service_Compute_Quota
  107. */
  108. public function setQuotas($quotas)
  109. {
  110. $this->quotas = $quotas;
  111. }
  112. /**
  113. * @return Google_Service_Compute_Quota
  114. */
  115. public function getQuotas()
  116. {
  117. return $this->quotas;
  118. }
  119. public function setSelfLink($selfLink)
  120. {
  121. $this->selfLink = $selfLink;
  122. }
  123. public function getSelfLink()
  124. {
  125. return $this->selfLink;
  126. }
  127. /**
  128. * @param Google_Service_Compute_UsageExportLocation
  129. */
  130. public function setUsageExportLocation(Google_Service_Compute_UsageExportLocation $usageExportLocation)
  131. {
  132. $this->usageExportLocation = $usageExportLocation;
  133. }
  134. /**
  135. * @return Google_Service_Compute_UsageExportLocation
  136. */
  137. public function getUsageExportLocation()
  138. {
  139. return $this->usageExportLocation;
  140. }
  141. public function setXpnProjectStatus($xpnProjectStatus)
  142. {
  143. $this->xpnProjectStatus = $xpnProjectStatus;
  144. }
  145. public function getXpnProjectStatus()
  146. {
  147. return $this->xpnProjectStatus;
  148. }
  149. }