Sin descripción

Application.php 3.9KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160
  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_Appengine_Application extends Google_Collection
  18. {
  19. protected $collection_key = 'dispatchRules';
  20. public $authDomain;
  21. public $codeBucket;
  22. public $defaultBucket;
  23. public $defaultCookieExpiration;
  24. public $defaultHostname;
  25. protected $dispatchRulesType = 'Google_Service_Appengine_UrlDispatchRule';
  26. protected $dispatchRulesDataType = 'array';
  27. protected $featureSettingsType = 'Google_Service_Appengine_FeatureSettings';
  28. protected $featureSettingsDataType = '';
  29. public $gcrDomain;
  30. protected $iapType = 'Google_Service_Appengine_IdentityAwareProxy';
  31. protected $iapDataType = '';
  32. public $id;
  33. public $locationId;
  34. public $name;
  35. public $servingStatus;
  36. public function setAuthDomain($authDomain)
  37. {
  38. $this->authDomain = $authDomain;
  39. }
  40. public function getAuthDomain()
  41. {
  42. return $this->authDomain;
  43. }
  44. public function setCodeBucket($codeBucket)
  45. {
  46. $this->codeBucket = $codeBucket;
  47. }
  48. public function getCodeBucket()
  49. {
  50. return $this->codeBucket;
  51. }
  52. public function setDefaultBucket($defaultBucket)
  53. {
  54. $this->defaultBucket = $defaultBucket;
  55. }
  56. public function getDefaultBucket()
  57. {
  58. return $this->defaultBucket;
  59. }
  60. public function setDefaultCookieExpiration($defaultCookieExpiration)
  61. {
  62. $this->defaultCookieExpiration = $defaultCookieExpiration;
  63. }
  64. public function getDefaultCookieExpiration()
  65. {
  66. return $this->defaultCookieExpiration;
  67. }
  68. public function setDefaultHostname($defaultHostname)
  69. {
  70. $this->defaultHostname = $defaultHostname;
  71. }
  72. public function getDefaultHostname()
  73. {
  74. return $this->defaultHostname;
  75. }
  76. /**
  77. * @param Google_Service_Appengine_UrlDispatchRule
  78. */
  79. public function setDispatchRules($dispatchRules)
  80. {
  81. $this->dispatchRules = $dispatchRules;
  82. }
  83. /**
  84. * @return Google_Service_Appengine_UrlDispatchRule
  85. */
  86. public function getDispatchRules()
  87. {
  88. return $this->dispatchRules;
  89. }
  90. /**
  91. * @param Google_Service_Appengine_FeatureSettings
  92. */
  93. public function setFeatureSettings(Google_Service_Appengine_FeatureSettings $featureSettings)
  94. {
  95. $this->featureSettings = $featureSettings;
  96. }
  97. /**
  98. * @return Google_Service_Appengine_FeatureSettings
  99. */
  100. public function getFeatureSettings()
  101. {
  102. return $this->featureSettings;
  103. }
  104. public function setGcrDomain($gcrDomain)
  105. {
  106. $this->gcrDomain = $gcrDomain;
  107. }
  108. public function getGcrDomain()
  109. {
  110. return $this->gcrDomain;
  111. }
  112. /**
  113. * @param Google_Service_Appengine_IdentityAwareProxy
  114. */
  115. public function setIap(Google_Service_Appengine_IdentityAwareProxy $iap)
  116. {
  117. $this->iap = $iap;
  118. }
  119. /**
  120. * @return Google_Service_Appengine_IdentityAwareProxy
  121. */
  122. public function getIap()
  123. {
  124. return $this->iap;
  125. }
  126. public function setId($id)
  127. {
  128. $this->id = $id;
  129. }
  130. public function getId()
  131. {
  132. return $this->id;
  133. }
  134. public function setLocationId($locationId)
  135. {
  136. $this->locationId = $locationId;
  137. }
  138. public function getLocationId()
  139. {
  140. return $this->locationId;
  141. }
  142. public function setName($name)
  143. {
  144. $this->name = $name;
  145. }
  146. public function getName()
  147. {
  148. return $this->name;
  149. }
  150. public function setServingStatus($servingStatus)
  151. {
  152. $this->servingStatus = $servingStatus;
  153. }
  154. public function getServingStatus()
  155. {
  156. return $this->servingStatus;
  157. }
  158. }