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 18namespace Google\Service\Appengine; 19 20class Application extends \Google\Collection 21{ 22 protected $collection_key = 'dispatchRules'; 23 /** 24 * @var string 25 */ 26 public $authDomain; 27 /** 28 * @var string 29 */ 30 public $codeBucket; 31 /** 32 * @var string 33 */ 34 public $databaseType; 35 /** 36 * @var string 37 */ 38 public $defaultBucket; 39 /** 40 * @var string 41 */ 42 public $defaultCookieExpiration; 43 /** 44 * @var string 45 */ 46 public $defaultHostname; 47 protected $dispatchRulesType = UrlDispatchRule::class; 48 protected $dispatchRulesDataType = 'array'; 49 protected $featureSettingsType = FeatureSettings::class; 50 protected $featureSettingsDataType = ''; 51 /** 52 * @var string 53 */ 54 public $gcrDomain; 55 protected $iapType = IdentityAwareProxy::class; 56 protected $iapDataType = ''; 57 /** 58 * @var string 59 */ 60 public $id; 61 /** 62 * @var string 63 */ 64 public $locationId; 65 /** 66 * @var string 67 */ 68 public $name; 69 /** 70 * @var string 71 */ 72 public $serviceAccount; 73 /** 74 * @var string 75 */ 76 public $servingStatus; 77 78 /** 79 * @param string 80 */ 81 public function setAuthDomain($authDomain) 82 { 83 $this->authDomain = $authDomain; 84 } 85 /** 86 * @return string 87 */ 88 public function getAuthDomain() 89 { 90 return $this->authDomain; 91 } 92 /** 93 * @param string 94 */ 95 public function setCodeBucket($codeBucket) 96 { 97 $this->codeBucket = $codeBucket; 98 } 99 /** 100 * @return string 101 */ 102 public function getCodeBucket() 103 { 104 return $this->codeBucket; 105 } 106 /** 107 * @param string 108 */ 109 public function setDatabaseType($databaseType) 110 { 111 $this->databaseType = $databaseType; 112 } 113 /** 114 * @return string 115 */ 116 public function getDatabaseType() 117 { 118 return $this->databaseType; 119 } 120 /** 121 * @param string 122 */ 123 public function setDefaultBucket($defaultBucket) 124 { 125 $this->defaultBucket = $defaultBucket; 126 } 127 /** 128 * @return string 129 */ 130 public function getDefaultBucket() 131 { 132 return $this->defaultBucket; 133 } 134 /** 135 * @param string 136 */ 137 public function setDefaultCookieExpiration($defaultCookieExpiration) 138 { 139 $this->defaultCookieExpiration = $defaultCookieExpiration; 140 } 141 /** 142 * @return string 143 */ 144 public function getDefaultCookieExpiration() 145 { 146 return $this->defaultCookieExpiration; 147 } 148 /** 149 * @param string 150 */ 151 public function setDefaultHostname($defaultHostname) 152 { 153 $this->defaultHostname = $defaultHostname; 154 } 155 /** 156 * @return string 157 */ 158 public function getDefaultHostname() 159 { 160 return $this->defaultHostname; 161 } 162 /** 163 * @param UrlDispatchRule[] 164 */ 165 public function setDispatchRules($dispatchRules) 166 { 167 $this->dispatchRules = $dispatchRules; 168 } 169 /** 170 * @return UrlDispatchRule[] 171 */ 172 public function getDispatchRules() 173 { 174 return $this->dispatchRules; 175 } 176 /** 177 * @param FeatureSettings 178 */ 179 public function setFeatureSettings(FeatureSettings $featureSettings) 180 { 181 $this->featureSettings = $featureSettings; 182 } 183 /** 184 * @return FeatureSettings 185 */ 186 public function getFeatureSettings() 187 { 188 return $this->featureSettings; 189 } 190 /** 191 * @param string 192 */ 193 public function setGcrDomain($gcrDomain) 194 { 195 $this->gcrDomain = $gcrDomain; 196 } 197 /** 198 * @return string 199 */ 200 public function getGcrDomain() 201 { 202 return $this->gcrDomain; 203 } 204 /** 205 * @param IdentityAwareProxy 206 */ 207 public function setIap(IdentityAwareProxy $iap) 208 { 209 $this->iap = $iap; 210 } 211 /** 212 * @return IdentityAwareProxy 213 */ 214 public function getIap() 215 { 216 return $this->iap; 217 } 218 /** 219 * @param string 220 */ 221 public function setId($id) 222 { 223 $this->id = $id; 224 } 225 /** 226 * @return string 227 */ 228 public function getId() 229 { 230 return $this->id; 231 } 232 /** 233 * @param string 234 */ 235 public function setLocationId($locationId) 236 { 237 $this->locationId = $locationId; 238 } 239 /** 240 * @return string 241 */ 242 public function getLocationId() 243 { 244 return $this->locationId; 245 } 246 /** 247 * @param string 248 */ 249 public function setName($name) 250 { 251 $this->name = $name; 252 } 253 /** 254 * @return string 255 */ 256 public function getName() 257 { 258 return $this->name; 259 } 260 /** 261 * @param string 262 */ 263 public function setServiceAccount($serviceAccount) 264 { 265 $this->serviceAccount = $serviceAccount; 266 } 267 /** 268 * @return string 269 */ 270 public function getServiceAccount() 271 { 272 return $this->serviceAccount; 273 } 274 /** 275 * @param string 276 */ 277 public function setServingStatus($servingStatus) 278 { 279 $this->servingStatus = $servingStatus; 280 } 281 /** 282 * @return string 283 */ 284 public function getServingStatus() 285 { 286 return $this->servingStatus; 287 } 288} 289 290// Adding a class alias for backwards compatibility with the previous class name. 291class_alias(Application::class, 'Google_Service_Appengine_Application'); 292